summaryrefslogtreecommitdiff
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-05-06 16:45:04 +0000
committerJohn Crispin <john@openwrt.org>2013-05-06 16:45:04 +0000
commit338ff04cab083fd64faaac4d97814e7d15392d3a (patch)
treee63e02bd56888ba15f9cd005e952ef07b64aa2c4 /target/linux/ramips
parent65760ede8b46de2290221555557c241e3a72881e (diff)
downloadmtk-20170518-338ff04cab083fd64faaac4d97814e7d15392d3a.zip
mtk-20170518-338ff04cab083fd64faaac4d97814e7d15392d3a.tar.gz
mtk-20170518-338ff04cab083fd64faaac4d97814e7d15392d3a.tar.bz2
ramips: add gpio base properties to dtsi files
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36560
Diffstat (limited to 'target/linux/ramips')
-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 8c6d6c7..9f913cd 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 ef64635..637409f 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 c56bf2f..45d9238 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 6896994..9c7c268 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 415b26f..6f824d5 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 0513531..c48d781 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