summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-05-06 16:45:04 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-05-06 16:45:04 +0000
commitd8635415e19280d1fe698a16bba335e4682e0b7b (patch)
tree422f6d16a2c41bb467f92f46305e99df9d7a99e0 /target
parent2f625c59a49d00eab374b111d566194a516edb79 (diff)
ramips: add gpio base properties to dtsi files
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36560 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-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 8c6d6c7f8..9f913cd85 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 ef646359f..637409f35 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 c56bf2ff7..45d923853 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 689699454..9c7c268b8 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 415b26f9a..6f824d5e8 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 0513531ab..c48d7810f 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