Commit 74530d64 authored by Daniel Palmer's avatar Daniel Palmer Committed by Arnd Bergmann
Browse files

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: default avatarDaniel Palmer <daniel@0x0f.com>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20201129110803.2461700-5-daniel@0x0f.com

'
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 4f9f1415
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -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>;