ARM: dts: NSP: Add I2C support to the DT
authorJon Mason <jonmason@broadcom.com>
Tue, 17 Nov 2015 19:55:27 +0000 (14:55 -0500)
committerFlorian Fainelli <f.fainelli@gmail.com>
Thu, 19 Nov 2015 23:35:48 +0000 (15:35 -0800)
Add I2C support to the Broadcom Northstar Plus 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/bcm-nsp.dtsi

index 7335a7478e3e28384dcb65e5698cdb64045b6c95..b74438c3d3ab863e10ba3a1baa528b173860057d 100644 (file)
 
                        brcm,nand-has-wp;
                };
+
+               i2c0: i2c@38000 {
+                       compatible = "brcm,iproc-i2c";
+                       reg = <0x38000 0x50>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       interrupts = <GIC_SPI 89 IRQ_TYPE_NONE>;
+                       clock-frequency = <100000>;
+               };
        };
 };