Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1399601 > unrolled thread

[PATCH v2 2/3] ARM: dts: bcm5301x: Add I2C support to the DT

Started byJon Mason <jon.mason@broadcom.com>
First post2016-05-12 01:20 +0200
Last post2016-05-12 01:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 2/3] ARM: dts: bcm5301x: Add I2C support to the DT Jon Mason <jon.mason@broadcom.com> - 2016-05-12 01:20 +0200

#1399601 — [PATCH v2 2/3] ARM: dts: bcm5301x: Add I2C support to the DT

FromJon Mason <jon.mason@broadcom.com>
Date2016-05-12 01:20 +0200
Subject[PATCH v2 2/3] ARM: dts: bcm5301x: Add I2C support to the DT
Message-ID<rxLA6-1qt-11@gated-at.bofh.it>
Add I2C support to the bcm5301x Device Tree.  Since no driver changes
are needed to enable this hardware, only the device tree changes are
required to make this functional.

Signed-off-by: Jon Mason <jonmason@broadcom.com>
---
 arch/arm/boot/dts/bcm5301x.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi
index 4b9887f..ffc4a9b 100644
--- a/arch/arm/boot/dts/bcm5301x.dtsi
+++ b/arch/arm/boot/dts/bcm5301x.dtsi
@@ -218,6 +218,15 @@
 		};
 	};
 
+	i2c0: i2c@18009000 {
+		compatible = "brcm,iproc-i2c";
+		reg = <0x18009000 0x50>;
+		interrupts = <GIC_SPI 121 IRQ_TYPE_NONE>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		clock-frequency = <100000>;
+	};
+
 	lcpll0: lcpll0@1800c100 {
 		#clock-cells = <1>;
 		compatible = "brcm,nsp-lcpll0";
-- 
1.9.1

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web