diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-10-18 07:24:33 +0300 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-10-23 20:10:41 +0300 |
commit | 277b51e7050f3a0fb79c49e6177ccad901bb2a2d (patch) | |
tree | 7e80c9eb09e4bce24dc4ba7490ebcce5af26f6a1 /arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | |
parent | 9cd7d03f2085c7f2e11d2f97812d1955bc0dc4df (diff) | |
download | linux-277b51e7050f3a0fb79c49e6177ccad901bb2a2d.tar.xz |
arm64: dts: uniphier: add GPIO controller nodes
The GPIO controller also acts as an interrupt controller and the
interrupt lines are connected to the AIDET block.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi index 1815ad41d0a8..31aee55210a7 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi +++ b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi @@ -257,6 +257,25 @@ clocks = <&peri_clk 3>; }; + gpio: gpio@55000000 { + compatible = "socionext,uniphier-gpio"; + reg = <0x55000000 0x200>; + interrupt-parent = <&aidet>; + interrupt-controller; + #interrupt-cells = <2>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 0 0>, + <&pinctrl 96 0 0>, + <&pinctrl 160 0 0>; + gpio-ranges-group-names = "gpio_range0", + "gpio_range1", + "gpio_range2"; + ngpios = <205>; + socionext,interrupt-ranges = <0 48 16>, <16 154 5>, + <21 217 3>; + }; + adamv@57920000 { compatible = "socionext,uniphier-ld20-adamv", "simple-mfd", "syscon"; |