aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/ramips/dts/mt7620.dtsi4
-rw-r--r--target/linux/ramips/dts/rt2880.dtsi3
-rw-r--r--target/linux/ramips/dts/rt3050.dtsi3
-rw-r--r--target/linux/ramips/dts/rt3352.dtsi3
-rw-r--r--target/linux/ramips/dts/rt3883.dtsi4
-rw-r--r--target/linux/ramips/dts/rt5350.dtsi3
6 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7620.dtsi b/target/linux/ramips/dts/mt7620.dtsi
index 8c6d6c7f89..9f913cd85a 100644
--- a/target/linux/ramips/dts/mt7620.dtsi
+++ b/target/linux/ramips/dts/mt7620.dtsi
@@ -69,6 +69,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
@@ -82,6 +83,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
@@ -95,6 +97,7 @@
gpio-controller;
#gpio-cells = <2>;
+ ralink,gpio-base = <40>;
ralink,num-gpios = <32>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
@@ -108,6 +111,7 @@
gpio-controller;
#gpio-cells = <2>;
+ ralink,gpio-base = <72>;
ralink,num-gpios = <1>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
diff --git a/target/linux/ramips/dts/rt2880.dtsi b/target/linux/ramips/dts/rt2880.dtsi
index ef646359f2..637409f355 100644
--- a/target/linux/ramips/dts/rt2880.dtsi
+++ b/target/linux/ramips/dts/rt2880.dtsi
@@ -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
@@ -103,6 +105,7 @@
gpio-controller;
#gpio-cells = <2>;
+ ralink,gpio-base = <40>;
ralink,num-gpios = <32>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
diff --git a/target/linux/ramips/dts/rt3050.dtsi b/target/linux/ramips/dts/rt3050.dtsi
index c56bf2ff72..45d9238530 100644
--- a/target/linux/ramips/dts/rt3050.dtsi
+++ b/target/linux/ramips/dts/rt3050.dtsi
@@ -73,6 +73,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
@@ -103,6 +105,7 @@
gpio-controller;
#gpio-cells = <2>;
+ ralink,gpio-base = <40>;
ralink,num-gpios = <12>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
diff --git a/target/linux/ramips/dts/rt3352.dtsi b/target/linux/ramips/dts/rt3352.dtsi
index 6896994547..9c7c268b88 100644
--- a/target/linux/ramips/dts/rt3352.dtsi
+++ b/target/linux/ramips/dts/rt3352.dtsi
@@ -73,6 +73,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
@@ -103,6 +105,7 @@
gpio-controller;
#gpio-cells = <2>;
+ ralink,gpio-base = <40>;
ralink,num-gpios = <12>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
diff --git a/target/linux/ramips/dts/rt3883.dtsi b/target/linux/ramips/dts/rt3883.dtsi
index 415b26f9a1..6f824d5e86 100644
--- a/target/linux/ramips/dts/rt3883.dtsi
+++ b/target/linux/ramips/dts/rt3883.dtsi
@@ -77,6 +77,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
@@ -92,6 +93,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
@@ -107,6 +109,7 @@
gpio-controller;
#gpio-cells = <2>;
+ ralink,gpio-base = <40>;
ralink,num-gpios = <32>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
@@ -122,6 +125,7 @@
gpio-controller;
#gpio-cells = <2>;
+ ralink,gpio-base = <72>;
ralink,num-gpios = <24>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
diff --git a/target/linux/ramips/dts/rt5350.dtsi b/target/linux/ramips/dts/rt5350.dtsi
index 0513531abf..c48d7810f6 100644
--- a/target/linux/ramips/dts/rt5350.dtsi
+++ b/target/linux/ramips/dts/rt5350.dtsi
@@ -73,6 +73,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
@@ -103,6 +105,7 @@
gpio-controller;
#gpio-cells = <2>;
+ ralink,gpio-base = <40>;
ralink,num-gpios = <12>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c