ARM: dts: BCM5301X: Add I2C support to the DT
authorJon Mason <jonmason@broadcom.com>
Mon, 6 Mar 2017 16:24:45 +0000 (11:24 -0500)
committerFlorian Fainelli <f.fainelli@gmail.com>
Sat, 18 Mar 2017 16:39:53 +0000 (09:39 -0700)
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>
arch/arm/boot/dts/bcm5301x.dtsi

index a9aa7be4b9ac3ab3d53442d04469c271e3194fe9..89b3c7f53317c1d80fd694af05dcc5147e27cf20 100644 (file)
                };
        };
 
+       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 {
                #clock-cells = <1>;
                compatible = "brcm,nsp-lcpll0";