diff options
author | Daniel Palmer <daniel@0x0f.com> | 2020-11-29 14:08:01 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2020-12-09 19:42:29 +0300 |
commit | 74530d645126c2934b16db135edaef16eff9e35b (patch) | |
tree | 3c14ecf0c79c4c13cc83ca7938ace80ff770b5d6 /arch/arm/boot/dts/mstar-v7.dtsi | |
parent | 4f9f1415bb1386da26111d2d419e8a73075431c2 (diff) | |
download | linux-74530d645126c2934b16db135edaef16eff9e35b.tar.xz |
ARM: mstar: Add gpio controller to MStar base dtsi
The GPIO controller is at the same address in all of the
currently known chips so create a node for it in the base
dtsi.
Some extra properties are needed to actually use it so
disable it by default.
Signed-off-by: Daniel Palmer <daniel@0x0f.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20201129110803.2461700-5-daniel@0x0f.com'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/boot/dts/mstar-v7.dtsi')
-rw-r--r-- | arch/arm/boot/dts/mstar-v7.dtsi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/mstar-v7.dtsi b/arch/arm/boot/dts/mstar-v7.dtsi index f07880561e11..81369bc07f78 100644 --- a/arch/arm/boot/dts/mstar-v7.dtsi +++ b/arch/arm/boot/dts/mstar-v7.dtsi @@ -109,6 +109,16 @@ reg = <0x204400 0x200>; }; + gpio: gpio@207800 { + #gpio-cells = <2>; + reg = <0x207800 0x200>; + gpio-controller; + #interrupt-cells = <2>; + interrupt-controller; + interrupt-parent = <&intc_fiq>; + status = "disabled"; + }; + pm_uart: uart@221000 { compatible = "ns16550a"; reg = <0x221000 0x100>; |