summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7620n.dtsi
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-12-25 17:04:34 +0000
committerJohn Crispin <john@openwrt.org>2013-12-25 17:04:34 +0000
commit93d8dc870ee07027ca1e27f19831d6127402336f (patch)
treef484917f3364d56fa772e84a7672eebece39105b /target/linux/ramips/dts/mt7620n.dtsi
parent05f8604e2eca452eea672c78031f58cdc37e40ef (diff)
downloadmaster-31e0f0ae-93d8dc870ee07027ca1e27f19831d6127402336f.tar.gz
master-31e0f0ae-93d8dc870ee07027ca1e27f19831d6127402336f.tar.bz2
master-31e0f0ae-93d8dc870ee07027ca1e27f19831d6127402336f.zip
ramips: add gpio pin 72 in mt7620 chips to dtsi files
describes register set to control last gpio pin on mt7620 platfrom Signed-off-by: Pavel Löbl <lobl.pavel@gmail.com> SVN-Revision: 39162
Diffstat (limited to 'target/linux/ramips/dts/mt7620n.dtsi')
-rw-r--r--target/linux/ramips/dts/mt7620n.dtsi19
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7620n.dtsi b/target/linux/ramips/dts/mt7620n.dtsi
index e009105b13..1dedea588f 100644
--- a/target/linux/ramips/dts/mt7620n.dtsi
+++ b/target/linux/ramips/dts/mt7620n.dtsi
@@ -135,6 +135,25 @@
status = "disabled";
};
+ gpio3: gpio@688 {
+ compatible = "ralink,mt7620a-gpio", "ralink,rt2880-gpio";
+ reg = <0x688 0x24>;
+
+ interrupt-parent = <&intc>;
+ interrupts = <6>;
+
+ gpio-controller;
+ #gpio-cells = <2>;
+
+ ralink,gpio-base = <72>;
+ ralink,num-gpios = <1>;
+ ralink,register-map = [ 00 04 08 0c
+ 10 14 18 1c
+ 20 24 ];
+
+ status = "disabled";
+ };
+
spi@b00 {
compatible = "ralink,mt7620a-spi", "ralink,rt2880-spi";
reg = <0xb00 0x100>;