X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2Fmt7620a_lenovo_newifi-y1.dtsi;h=ffa8747f4d6084b36492e365409bad5b81ad2609;hb=a1f0fd8cba4d9233b76542fbf54be01e2cc9d5c0;hp=5d6c9922fd3a991a59829d31354cbddf3c9ac424;hpb=48047b3a5c6aa9fff89a7a9c7ec76d8335b1a8e7;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ramips/dts/mt7620a_lenovo_newifi-y1.dtsi b/target/linux/ramips/dts/mt7620a_lenovo_newifi-y1.dtsi index 5d6c9922fd..ffa8747f4d 100644 --- a/target/linux/ramips/dts/mt7620a_lenovo_newifi-y1.dtsi +++ b/target/linux/ramips/dts/mt7620a_lenovo_newifi-y1.dtsi @@ -11,8 +11,7 @@ }; keys { - compatible = "gpio-keys-polled"; - poll-interval = <20>; + compatible = "gpio-keys"; reset { label = "reset"; @@ -37,7 +36,7 @@ &spi0 { status = "okay"; - m25p80@0 { + flash@0 { compatible = "jedec,spi-nor"; reg = <0>; spi-max-frequency = <10000000>; @@ -95,16 +94,14 @@ }; &wmac { - ralink,mtd-eeprom = <&factory 0>; + ralink,mtd-eeprom = <&factory 0x0>; pinctrl-names = "default"; pinctrl-0 = <&pa_pins>; }; -&pinctrl { - state_default: pinctrl0 { - gpio { - ralink,group = "uartf", "wled", "nd_sd"; - ralink,function = "gpio"; - }; +&state_default { + gpio { + groups = "uartf", "wled", "nd_sd"; + function = "gpio"; }; };