X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2Fmt7620n_dlink_dwr-922-e2.dts;h=22bff2c948a94d7d918b793f4e7129a65c007c53;hb=45a50a06fb3f39ea70936dd967a74e6e96f0cd89;hp=c2dd26a09da311628192b05b0cc7162d70a1f541;hpb=48047b3a5c6aa9fff89a7a9c7ec76d8335b1a8e7;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ramips/dts/mt7620n_dlink_dwr-922-e2.dts b/target/linux/ramips/dts/mt7620n_dlink_dwr-922-e2.dts index c2dd26a09d..22bff2c948 100644 --- a/target/linux/ramips/dts/mt7620n_dlink_dwr-922-e2.dts +++ b/target/linux/ramips/dts/mt7620n_dlink_dwr-922-e2.dts @@ -1,10 +1,10 @@ // SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/dts-v1/; #include "mt7620n.dtsi" #include #include +#include / { compatible = "dlink,dwr-922-e2", "ralink,mt7620n-soc"; @@ -16,8 +16,7 @@ }; keys { - compatible = "gpio-keys-polled"; - poll-interval = <20>; + compatible = "gpio-keys"; wps { label = "wps"; @@ -37,37 +36,37 @@ led-boot = &sstrengthg; sms { - label = "dwr-922-e2:green:sms"; + label = "green:sms"; gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; }; lan { - label = "dwr-922-e2:green:lan"; + label = "green:lan"; gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>; }; sstrengthg: sstrengthg { - label = "dwr-922-e2:green:sigstrength"; + label = "green:sigstrength"; gpios = <&gpio2 0 GPIO_ACTIVE_LOW>; }; sstrengthr { - label = "dwr-922-e2:red:sigstrength"; + label = "red:sigstrength"; gpios = <&gpio2 1 GPIO_ACTIVE_LOW>; }; 4g { - label = "dwr-922-e2:green:4g"; + label = "green:4g"; gpios = <&gpio2 2 GPIO_ACTIVE_LOW>; }; 3g { - label = "dwr-922-e2:green:3g"; + label = "green:3g"; gpios = <&gpio2 3 GPIO_ACTIVE_LOW>; }; wifi { - label = "dwr-922-e2:green:wifi"; + label = "green:wifi"; gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; }; }; @@ -116,7 +115,9 @@ }; partition@10000 { - compatible = "amit,jimage"; + compatible = "openwrt,uimage", "denx,uimage"; + openwrt,ih-magic = ; + openwrt,offset = <0x10000>; label = "firmware"; reg = <0x10000 0xfe0000>; }; @@ -138,17 +139,9 @@ status = "okay"; }; -ðernet { - port@4 { - status = "okay"; - }; -}; - -&pinctrl { - state_default: pinctrl0 { - default { - ralink,group = "spi refclk", "i2c", "ephy", "wled"; - ralink,function = "gpio"; - }; +&state_default { + default { + groups = "spi refclk", "i2c", "ephy", "wled"; + function = "gpio"; }; };