arm64: dts: Add I2C nodes for NS2
authorRay Jui <rjui@broadcom.com>
Fri, 2 Oct 2015 17:54:23 +0000 (23:24 +0530)
committerFlorian Fainelli <f.fainelli@gmail.com>
Mon, 16 Nov 2015 18:52:01 +0000 (10:52 -0800)
This patch adds iProc I2C DT nodes for NS2 and enable them for the NS2
SVK board

Signed-off-by: Ray Jui <rjui@broadcom.com>
Reviewed-by: Vikram Prakash <vikramp@broadcom.com>
Reviewed-by: Scott Branden <sbranden@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm64/boot/dts/broadcom/ns2-svk.dts
arch/arm64/boot/dts/broadcom/ns2.dtsi

index 244baf8..e5950d5 100644 (file)
        };
 
        soc: soc {
+               i2c0: i2c@66080000 {
+                       status = "ok";
+               };
+
+               i2c1: i2c@660b0000 {
+                       status = "ok";
+               };
+
                uart3: serial@66130000 {
                        status = "ok";
                };
index 92ecf1c..f603277 100644 (file)
                              <0x65260000 0x1000>;
                };
 
+               i2c0: i2c@66080000 {
+                       compatible = "brcm,iproc-i2c";
+                       reg = <0x66080000 0x100>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       interrupts = <GIC_SPI 394 IRQ_TYPE_NONE>;
+                       clock-frequency = <100000>;
+                       status = "disabled";
+               };
+
+               i2c1: i2c@660b0000 {
+                       compatible = "brcm,iproc-i2c";
+                       reg = <0x660b0000 0x100>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       interrupts = <GIC_SPI 395 IRQ_TYPE_NONE>;
+                       clock-frequency = <100000>;
+                       status = "disabled";
+               };
+
                uart3: serial@66130000 {
                        compatible = "snps,dw-apb-uart";
                        reg = <0x66130000 0x100>;