Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Daniel Palmer and committed by
Arnd Bergmann
74530d64 4f9f1415

+10
+10
arch/arm/boot/dts/mstar-v7.dtsi
··· 109 109 reg = <0x204400 0x200>; 110 110 }; 111 111 112 + gpio: gpio@207800 { 113 + #gpio-cells = <2>; 114 + reg = <0x207800 0x200>; 115 + gpio-controller; 116 + #interrupt-cells = <2>; 117 + interrupt-controller; 118 + interrupt-parent = <&intc_fiq>; 119 + status = "disabled"; 120 + }; 121 + 112 122 pm_uart: uart@221000 { 113 123 compatible = "ns16550a"; 114 124 reg = <0x221000 0x100>;