ramips: add gpio base properties to dtsi files
[openwrt/openwrt.git] / target / linux / ramips / dts / rt2880.dtsi
index ef646359f28f6c9e9310bb3f992ba87ff8d65fcb..637409f355732a69697a6ddaef3c6435c6e475df 100644 (file)
@@ -75,6 +75,7 @@
                        gpio-controller;
                        #gpio-cells = <2>;
 
+                       ralink,gpio-base = <0>;
                        ralink,num-gpios = <24>;
                        ralink,register-map = [ 00 04 08 0c
                                                20 24 28 2c
@@ -88,6 +89,7 @@
                        gpio-controller;
                        #gpio-cells = <2>;
 
+                       ralink,gpio-base = <24>;
                        ralink,num-gpios = <16>;
                        ralink,register-map = [ 00 04 08 0c
                                                10 14 18 1c
                        gpio-controller;
                        #gpio-cells = <2>;
 
+                       ralink,gpio-base = <40>;
                        ralink,num-gpios = <32>;
                        ralink,register-map = [ 00 04 08 0c
                                                10 14 18 1c