Эх сурвалжийг харах

ARM: dts: BCM5301X: Add I2C support to the DT

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>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Jon Mason 8 жил өмнө
parent
commit
bb097e3e00

+ 10 - 0
arch/arm/boot/dts/bcm5301x.dtsi

@@ -324,6 +324,16 @@
 		};
 		};
 	};
 	};
 
 
+	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>;
+		status = "disabled";
+	};
+
 	lcpll0: lcpll0@1800c100 {
 	lcpll0: lcpll0@1800c100 {
 		#clock-cells = <1>;
 		#clock-cells = <1>;
 		compatible = "brcm,nsp-lcpll0";
 		compatible = "brcm,nsp-lcpll0";