arm64: dts: renesas: r8a7795: Increase the number of GPIO bank 1 ports to 29
authorTakeshi Kihara <takeshi.kihara.df@renesas.com>
Thu, 23 Nov 2017 10:58:50 +0000 (11:58 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 28 Nov 2017 08:36:38 +0000 (09:36 +0100)
This patch changes the number of GPIO bank 1 ports to 29 because GP-1-28
port pin of R8A7795 ES2.0 SoC support was added.

Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
Fixes: 291e0c4994d0813f ("arm64: dts: r8a7795: Add support for R-Car H3 ES2.0")
[geert: Keep 28 GPIOs on H3 ES1.x after r8a7795.dtsi sharing]
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi
arch/arm64/boot/dts/renesas/r8a7795.dtsi

index 29b52d8..26769a1 100644 (file)
        };
 };
 
+&gpio1 {
+       gpio-ranges = <&pfc 0 32 28>;
+};
+
 &ipmmu_vi0 {
        renesas,ipmmu-main = <&ipmmu_mm 11>;
 };
index a438d58..6db4f10 100644 (file)
                        interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
                        #gpio-cells = <2>;
                        gpio-controller;
-                       gpio-ranges = <&pfc 0 32 28>;
+                       gpio-ranges = <&pfc 0 32 29>;
                        #interrupt-cells = <2>;
                        interrupt-controller;
                        clocks = <&cpg CPG_MOD 911>;