aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/rt5350.dtsi
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-07-02 16:37:26 +0000
committerJohn Crispin <blogic@openwrt.org>2014-07-02 16:37:26 +0000
commit292bfa7d0473954d1d5cba89897823b58a5655bb (patch)
tree07f0466a8c228d769acec46d44f8ddafcbc18354 /target/linux/ramips/dts/rt5350.dtsi
parent3fff418f140ff982a24e935b00887ed11e4d2e52 (diff)
downloadupstream-292bfa7d0473954d1d5cba89897823b58a5655bb.tar.gz
upstream-292bfa7d0473954d1d5cba89897823b58a5655bb.tar.bz2
upstream-292bfa7d0473954d1d5cba89897823b58a5655bb.zip
ramips: fix target rt5350 only have 28 gpios
Signed-off-by: michael <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41475 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/dts/rt5350.dtsi')
-rw-r--r--target/linux/ramips/dts/rt5350.dtsi27
1 files changed, 4 insertions, 23 deletions
diff --git a/target/linux/ramips/dts/rt5350.dtsi b/target/linux/ramips/dts/rt5350.dtsi
index 7353c82f85..6abb2711d1 100644
--- a/target/linux/ramips/dts/rt5350.dtsi
+++ b/target/linux/ramips/dts/rt5350.dtsi
@@ -109,32 +109,13 @@
#gpio-cells = <2>;
ralink,gpio-base = <0>;
- ralink,num-gpios = <24>;
+ ralink,num-gpios = <22>;
ralink,register-map = [ 00 04 08 0c
20 24 28 2c
30 34 ];
};
- gpio1: gpio@638 {
- compatible = "ralink,rt5350-gpio", "ralink,rt2880-gpio";
- reg = <0x638 0x24>;
-
- interrupt-parent = <&intc>;
- interrupts = <6>;
-
- gpio-controller;
- #gpio-cells = <2>;
-
- ralink,gpio-base = <24>;
- ralink,num-gpios = <16>;
- ralink,register-map = [ 00 04 08 0c
- 10 14 18 1c
- 20 24 ];
-
- status = "disabled";
- };
-
- gpio2: gpio@660 {
+ gpio1: gpio@660 {
compatible = "ralink,rt5350-gpio", "ralink,rt2880-gpio";
reg = <0x660 0x24>;
@@ -144,8 +125,8 @@
gpio-controller;
#gpio-cells = <2>;
- ralink,gpio-base = <40>;
- ralink,num-gpios = <12>;
+ ralink,gpio-base = <22>;
+ ralink,num-gpios = <6>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];