ARM: dts: augment Moxa ART GPIO node
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 22 Mar 2017 11:12:09 +0000 (12:12 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 31 Mar 2017 09:59:56 +0000 (11:59 +0200)
The Moxa ART GPIO is a Faraday FTGPIO010. Augment the DTS node
to indicate both compatible values for the SoC and the IP part.
Also increase the register range to 0x100, it has at least 0x48
bytes of registers, and a few extra will not hurt.

Tested-by: Jonas Jensen <jonas.jensen@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/moxart.dtsi

index 64f2f44235d02272dc1739f4fb03e40c8a706c98..e86f8c905ac57ba1bb01af25ca98e785b640b4b6 100644 (file)
@@ -67,8 +67,8 @@
                gpio: gpio@98700000 {
                        gpio-controller;
                        #gpio-cells = <2>;
-                       compatible = "moxa,moxart-gpio";
-                       reg = <0x98700000 0xC>;
+                       compatible = "moxa,moxart-gpio", "faraday,ftgpio010";
+                       reg = <0x98700000 0x100>;
                };
 
                rtc: rtc {