Add GPIO controller nodes to the r8a7778 core device tree.

Signed-off-by: Laurent Pinchart <laurent.pinchart+rene...@ideasonboard.com>
---
 arch/arm/boot/dts/r8a7778.dtsi | 45 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7778.dtsi b/arch/arm/boot/dts/r8a7778.dtsi
index c8dbf14..d612a9a 100644
--- a/arch/arm/boot/dts/r8a7778.dtsi
+++ b/arch/arm/boot/dts/r8a7778.dtsi
@@ -33,6 +33,51 @@
                      <0xfe430000 0x100>;
        };
 
+       gpio0: gpio@ffc40000 {
+               compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar";
+               reg = <0xffc40000 0x2c>;
+               interrupt-parent = <&gic>;
+               interrupts = <0 103 0x4>;
+               #gpio-cells = <2>;
+               gpio-controller;
+       };
+
+       gpio1: gpio@ffc41000 {
+               compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar";
+               reg = <0xffc41000 0x2c>;
+               interrupt-parent = <&gic>;
+               interrupts = <0 103 0x4>;
+               #gpio-cells = <2>;
+               gpio-controller;
+       };
+
+       gpio2: gpio@ffc42000 {
+               compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar";
+               reg = <0xffc42000 0x2c>;
+               interrupt-parent = <&gic>;
+               interrupts = <0 103 0x4>;
+               #gpio-cells = <2>;
+               gpio-controller;
+       };
+
+       gpio3: gpio@ffc43000 {
+               compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar";
+               reg = <0xffc43000 0x2c>;
+               interrupt-parent = <&gic>;
+               interrupts = <0 103 0x4>;
+               #gpio-cells = <2>;
+               gpio-controller;
+       };
+
+       gpio4: gpio@ffc44000 {
+               compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar";
+               reg = <0xffc44000 0x2c>;
+               interrupt-parent = <&gic>;
+               interrupts = <0 103 0x4>;
+               #gpio-cells = <2>;
+               gpio-controller;
+       };
+
        pfc: pfc@fffc0000 {
                compatible = "renesas,pfc-r8a7778";
                reg = <0xfffc000 0x118>;
-- 
1.8.1.5

_______________________________________________
devicetree-discuss mailing list
devicetree-discuss@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/devicetree-discuss

Reply via email to