summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Mason <jonmason@broadcom.com>2015-11-17 20:55:27 +0100
committerFlorian Fainelli <f.fainelli@gmail.com>2015-11-20 00:35:48 +0100
commit0f9f27a36d09580e1fd51e091dc99b15a895aa83 (patch)
tree05d2453be912530321cbf5c4493c4a3bc6cb3179
parentARM: dts: NSP: Device Tree clean-ups (diff)
downloadlinux-0f9f27a36d09580e1fd51e091dc99b15a895aa83.tar.xz
linux-0f9f27a36d09580e1fd51e091dc99b15a895aa83.zip
ARM: dts: NSP: Add I2C support to the DT
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>
-rw-r--r--arch/arm/boot/dts/bcm-nsp.dtsi9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi
index 7335a7478e3e..b74438c3d3ab 100644
--- a/arch/arm/boot/dts/bcm-nsp.dtsi
+++ b/arch/arm/boot/dts/bcm-nsp.dtsi
@@ -217,5 +217,14 @@
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>;
+ };
};
};