mac80211: rt2x00: experimental improvements for MT7620 wifi
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7620a_lenovo_newifi-y1.dtsi
index 5d6c9922fd3a991a59829d31354cbddf3c9ac424..5e834d291dc6b2a8fd433ce6c2bc9f3b0f93d0b6 100644 (file)
@@ -11,8 +11,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
        };
 };
 
-&gpio0 {
-       status = "okay";
-};
-
 &gpio2 {
        status = "okay";
 };
@@ -37,7 +32,7 @@
 &spi0 {
        status = "okay";
 
-       m25p80@0 {
+       flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <10000000>;
 };
 
 &wmac {
-       ralink,mtd-eeprom = <&factory 0>;
-       pinctrl-names = "default";
+       pinctrl-names = "default", "pa_gpio";
        pinctrl-0 = <&pa_pins>;
+       pinctrl-1 = <&pa_gpio_pins>;
+
+       ralink,mtd-eeprom = <&factory 0x0>;
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               gpio {
-                       ralink,group = "uartf", "wled", "nd_sd";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       gpio {
+               groups = "uartf", "wled", "nd_sd";
+               function = "gpio";
        };
 };