arm64: dts: renesas: r8a77970: add GPIO support
Subsystems (2)
PATCH 1/2 arm64: dts: renesas: r8a77970: add GPIO support
Describe all 6 GPIO controllers in the R8A77970 device tree.
--- arch/arm64/boot/dts/renesas/r8a77970.dtsi | 90 ++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+)
arch/arm64/boot/dts/renesas/r8a77970.dtsi +90 -0
@@ -139,6 +139,96 @@ reg = <0 0xe6060000 0 0x504>; }; + gpio0: gpio at e6050000 { + compatible = "renesas,gpio-r8a77970", + "renesas,rcar-gen3-gpio"; + reg = <0 0xe6050000 0 0x50>; + interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; + #gpio-cells = <2>; + gpio-controller; + gpio-ranges = <&pfc 0 0 22>; + #interrupt-cells = <2>; + interrupt-controller; + clocks = <&cpg CPG_MOD 912>; + power-domains = <&sysc 32>; + resets = <&cpg 912>; + }; + + gpio1: gpio at e6051000 { + compatible = "renesas,gpio-r8a77970", + "renesas,rcar-gen3-gpio"; + reg = <0 0xe6051000 0 0x50>; + interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; + #gpio-cells = <2>; + gpio-controller; + gpio-ranges = <&pfc 0 32 28>; + #interrupt-cells = <2>; + interrupt-controller; + clocks = <&cpg CPG_MOD 911>; + power-domains = <&sysc 32>; + resets = <&cpg 911>; + }; + + gpio2: gpio at e6052000 { + compatible = "renesas,gpio-r8a77970", + "renesas,rcar-gen3-gpio"; + reg = <0 0xe6052000 0 0x50>; + interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; + #gpio-cells = <2>; + gpio-controller; + gpio-ranges = <&pfc 0 64 17>; + #interrupt-cells = <2>; + interrupt-controller; + clocks = <&cpg CPG_MOD 910>; + power-domains = <&sysc 32>; + resets = <&cpg 910>; + }; + + gpio3: gpio at e6053000 { + compatible = "renesas,gpio-r8a77970", + "renesas,rcar-gen3-gpio"; + reg = <0 0xe6053000 0 0x50>; + interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; + #gpio-cells = <2>; + gpio-controller; + gpio-ranges = <&pfc 0 96 17>; + #interrupt-cells = <2>; + interrupt-controller; + clocks = <&cpg CPG_MOD 909>; + power-domains = <&sysc 32>; + resets = <&cpg 909>; + }; + + gpio4: gpio at e6054000 { + compatible = "renesas,gpio-r8a77970", + "renesas,rcar-gen3-gpio"; + reg = <0 0xe6054000 0 0x50>; + interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; + #gpio-cells = <2>; + gpio-controller; + gpio-ranges = <&pfc 0 128 6>; + #interrupt-cells = <2>; + interrupt-controller; + clocks = <&cpg CPG_MOD 908>; + power-domains = <&sysc 32>; + resets = <&cpg 908>; + }; + + gpio5: gpio at e6055000 { + compatible = "renesas,gpio-r8a77970", + "renesas,rcar-gen3-gpio"; + reg = <0 0xe6055000 0 0x50>; + interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; + #gpio-cells = <2>; + gpio-controller; + gpio-ranges = <&pfc 0 160 15>; + #interrupt-cells = <2>; + interrupt-controller; + clocks = <&cpg CPG_MOD 907>; + power-domains = <&sysc 32>; + resets = <&cpg 907>; + }; + intc_ex: interrupt-controller at e61c0000 { compatible = "renesas,intc-ex-r8a77970", "renesas,irqc"; #interrupt-cells = <2>;
PATCH 1/2 arm64: dts: renesas: r8a77970: add GPIO support
Quoted 3 lines · Sergei Shtylyov
Describe all 6 GPIO controllers in the R8A77970 device tree.
Signed-off-by Sergei Shtylyov <[email protected]>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Simon Horman
AppliedPATCH 1/2 arm64: dts: renesas: r8a77970: add GPIO support
Quoted 7 lines · Geert Uytterhoeven
Quoted 3 lines · Sergei Shtylyov
Describe all 6 GPIO controllers in the R8A77970 device tree.
Signed-off-by Sergei Shtylyov <[email protected]>Reviewed-by Geert Uytterhoeven <[email protected]>
Thanks, applied.
PATCH 1/2 arm64: dts: renesas: r8a77970: add GPIO support
Quoted 7 lines · Simon Horman
Quoted 5 lines
Quoted 3 lines
Describe all 6 GPIO controllers in the R8A77970 device tree.
Signed-off-by Sergei Shtylyov <[email protected]>Reviewed-by Geert Uytterhoeven <[email protected]>Thanks, applied.
It doesn't build w/o PFC support (and I thought I mde it clearin the cover
letter), so please either merge R8A77970 PFC patch or pull this one out!
MBR, Segei
PATCH 1/2 arm64: dts: renesas: r8a77970: add GPIO support
Quoted 6 lines · Sergei Shtylyov
Quoted 4 lines · Simon Horman
Quoted 4 lines
Quoted 3 lines
Describe all 6 GPIO controllers in the R8A77970 device tree.
Signed-off-by Sergei Shtylyov <[email protected]>
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
Reviewed-by Geert Uytterhoeven <[email protected]>Thanks, applied.
It doesn't build w/o PFC support (and I thought I mde it clearin the
cover letter), so please either merge R8A77970 PFC patch or pull this one out!
Sorry, my bad. I have dropped this series for now. Please resubmit or otherwise ping me once the dependency hits an RC release.