ramips: fix number of GPIOs for RT3352
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 30 Oct 2013 07:06:23 +0000 (07:06 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38602 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ramips/dts/rt3352.dtsi

index ca81bb6..6b1f11d 100644 (file)
                        #gpio-cells = <2>;
 
                        ralink,gpio-base = <40>;
                        #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 ];
                        ralink,register-map = [ 00 04 08 0c
                                                10 14 18 1c
                                                20 24 ];