MIPS: Netlogic: add device tree entry for XLP GPIO
authorKamlakant Patel <kamlakant.patel@broadcom.com>
Sat, 1 Aug 2015 12:14:21 +0000 (17:44 +0530)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 3 Sep 2015 10:08:03 +0000 (12:08 +0200)
Add GPIO entries to the Netlogic XLP device tree files.

Signed-off-by: Kamlakant Patel <kamlakant.patel@broadcom.com>
Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/10819/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/boot/dts/netlogic/xlp_evp.dts
arch/mips/boot/dts/netlogic/xlp_fvp.dts
arch/mips/boot/dts/netlogic/xlp_gvp.dts
arch/mips/boot/dts/netlogic/xlp_rvp.dts
arch/mips/boot/dts/netlogic/xlp_svp.dts

index 89ad04808c024758232fb2afeb06ac0e68a7dde3..ec16ec2d8d02765a8d2f935c07e0b08f563dddf0 100644 (file)
                                read-only;
                        };
                };
                                read-only;
                        };
                };
+
+               gpio: xlp_gpio@34100 {
+                       compatible = "netlogic,xlp832-gpio";
+                       reg = <0 0x34100 0x1000>;
+                       #gpio-cells = <2>;
+                       gpio-controller;
+
+                       #interrupt-cells = <2>;
+                       interrupt-parent = <&pic>;
+                       interrupts = <39>;
+                       interrupt-controller;
+               };
        };
 
        chosen {
        };
 
        chosen {
index 63e62b7bd75892dddd28e360522ff19b93985278..4bcebe641d8e9ff5ad5579251d3b5d60c175f3c7 100644 (file)
                                read-only;
                        };
                };
                                read-only;
                        };
                };
+
+               gpio: xlp_gpio@34100 {
+                       compatible = "netlogic,xlp208-gpio";
+                       reg = <0 0x34100 0x1000>;
+                       #gpio-cells = <2>;
+                       gpio-controller;
+
+                       #interrupt-cells = <2>;
+                       interrupt-parent = <&pic>;
+                       interrupts = <39>;
+                       interrupt-controller;
+               };
        };
 
        chosen {
        };
 
        chosen {
index bb4ecd1d47fc295bb2b5d330e044a780b44533a2..b3ccb82ad7e4c54cf2b2b12ae044f03939e6b741 100644 (file)
                        };
                };
 
                        };
                };
 
+               gpio: xlp_gpio@114100 {
+                       compatible = "netlogic,xlp980-gpio";
+                       reg = <0 0x114100 0x1000>;
+                       #gpio-cells = <2>;
+                       gpio-controller;
+
+                       #interrupt-cells = <2>;
+                       interrupt-parent = <&pic>;
+                       interrupts = <39>;
+                       interrupt-controller;
+               };
        };
 
        chosen {
        };
 
        chosen {
index 7188aed2ea2ed96000566fe48ea9f89eab8373e0..3783639a318aad230d5aa2297b518cf69d023342 100644 (file)
                        };
                };
 
                        };
                };
 
+               gpio: xlp_gpio@114100 {
+                       compatible = "netlogic,xlp532-gpio";
+                       reg = <0 0x114100 0x1000>;
+                       #gpio-cells = <2>;
+                       gpio-controller;
+
+                       #interrupt-cells = <2>;
+                       interrupt-parent = <&pic>;
+                       interrupts = <39>;
+                       interrupt-controller;
+               };
        };
 
        chosen {
        };
 
        chosen {
index 1ebd00edaacc4490d3f95db0484aeb008787faca..44d6640c14412353d0ec31f02bca45276863f3db 100644 (file)
                                read-only;
                        };
                };
                                read-only;
                        };
                };
+
+               gpio: xlp_gpio@34100 {
+                       compatible = "netlogic,xlp316-gpio";
+                       reg = <0 0x34100 0x1000>;
+                       #gpio-cells = <2>;
+                       gpio-controller;
+
+                       #interrupt-cells = <2>;
+                       interrupt-parent = <&pic>;
+                       interrupts = <39>;
+                       interrupt-controller;
+               };
        };
 
        chosen {
        };
 
        chosen {