ramips: mt7621-wdt: use phandle to access system controller registers
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7620a_lenovo_newifi-y1.dtsi
index ffa8747f4d6084b36492e365409bad5b81ad2609..5e834d291dc6b2a8fd433ce6c2bc9f3b0f93d0b6 100644 (file)
        };
 };
 
-&gpio0 {
-       status = "okay";
-};
-
 &gpio2 {
        status = "okay";
 };
 };
 
 &wmac {
-       ralink,mtd-eeprom = <&factory 0x0>;
-       pinctrl-names = "default";
+       pinctrl-names = "default", "pa_gpio";
        pinctrl-0 = <&pa_pins>;
+       pinctrl-1 = <&pa_gpio_pins>;
+
+       ralink,mtd-eeprom = <&factory 0x0>;
 };
 
 &state_default {