ramips: add gpio pin 72 in mt7620 chips to dtsi files
authorJohn Crispin <john@openwrt.org>
Wed, 25 Dec 2013 17:04:34 +0000 (17:04 +0000)
committerJohn Crispin <john@openwrt.org>
Wed, 25 Dec 2013 17:04:34 +0000 (17:04 +0000)
describes register set to control last gpio pin on mt7620 platfrom

Signed-off-by: Pavel Löbl <lobl.pavel@gmail.com>
SVN-Revision: 39162

target/linux/ramips/dts/mt7620a.dtsi
target/linux/ramips/dts/mt7620n.dtsi

index a04472533b7e33526a85f568e8aaa954b8e2fed8..3e735fb18cac7ca9e84c784bf18487969bd5d18d 100644 (file)
                        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";
+               };
+
                i2c@900 {
                        compatible = "link,mt7620a-i2c", "ralink,rt2880-i2c";
                        reg = <0x900 0x100>;
index e009105b137eb3556182304495df96453513c71e..1dedea588f7d724be0d9f89c353b494be7364a80 100644 (file)
                        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>;