ramips: fix number of GPIOs for RT3352
authorGabor Juhos <juhosg@openwrt.org>
Wed, 30 Oct 2013 07:06:23 +0000 (07:06 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 30 Oct 2013 07:06:23 +0000 (07:06 +0000)
The RT3352 SoC only supports 46 GPIO lines.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38602

target/linux/ramips/dts/rt3352.dtsi

index ca81bb60ff9c0f16ea033af4417dbf17b88ed8c1..6b1f11d770af012218fb1d510e8eb1693e84349e 100644 (file)
                        #gpio-cells = <2>;
 
                        ralink,gpio-base = <40>;
-                       ralink,num-gpios = <12>;
+                       ralink,num-gpios = <6>;
                        ralink,register-map = [ 00 04 08 0c
                                                10 14 18 1c
                                                20 24 ];