Message ID | 20170322111209.14571-1-linus.walleij@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Wed, Mar 22, 2017 at 12:12 PM, Linus Walleij <linus.walleij@linaro.org> wrote: > 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> > --- > ARM SoC folks: please just apply this to DT for-next like the > other Moxa Faraday cleanup patch. Applied on next/dt, thanks!
diff --git a/arch/arm/boot/dts/moxart.dtsi b/arch/arm/boot/dts/moxart.dtsi index 64f2f44235d0..e86f8c905ac5 100644 --- a/arch/arm/boot/dts/moxart.dtsi +++ b/arch/arm/boot/dts/moxart.dtsi @@ -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 {