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 ca81bb6..6b1f11d 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 ];