ramips: mt7621: convert GPIO dts refs
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7621_linksys_re6500.dts
index de5c310608620c782c9398f9a1b5c2c4513f313b..e2c6b6e980ad578e5d069d6c7fb60f680f6f6e18 100644 (file)
                led-upgrade = &led_power;
        };
 
-       memory@0 {
-               device_type = "memory";
-               reg = <0x0 0x4000000>;
-       };
-
        chosen {
                bootargs = "console=ttyS0,57600";
        };
 
                wifi {
                        label = "re6500:orange:wifi";
-                       gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
+                       gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
                };
 
                led_power: power {
                        label = "re6500:white:power";
-                       gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
+                       gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
                };
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
-                       gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
                };
 
                reset {
                        label = "reset";
-                       gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
+                       gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
                        linux,code = <KEY_RESTART>;
                };
        };
        };
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               gpio {
-                       ralink,group = "i2c", "uart2", "uart3", "rgmii2";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       gpio {
+               ralink,group = "i2c", "uart2", "uart3", "rgmii2";
+               ralink,function = "gpio";
        };
 };