aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-05-06 16:45:04 +0000
committerJohn Crispin <blogic@openwrt.org>2013-05-06 16:45:04 +0000
commit0bcc4603d5064fe9d239d4da1320114b173894cc (patch)
tree422f6d16a2c41bb467f92f46305e99df9d7a99e0
parentc44f3f93a2c5c7c3856f07ca2eef2471db619119 (diff)
downloadupstream-0bcc4603d5064fe9d239d4da1320114b173894cc.tar.gz
upstream-0bcc4603d5064fe9d239d4da1320114b173894cc.tar.bz2
upstream-0bcc4603d5064fe9d239d4da1320114b173894cc.zip
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
-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