diff options
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r-- | target/linux/ramips/dts/mt7621_netis_wf-2881.dts | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/target/linux/ramips/dts/mt7621_netis_wf-2881.dts b/target/linux/ramips/dts/mt7621_netis_wf-2881.dts index 50f9592e2c..1f16174cf8 100644 --- a/target/linux/ramips/dts/mt7621_netis_wf-2881.dts +++ b/target/linux/ramips/dts/mt7621_netis_wf-2881.dts @@ -14,6 +14,7 @@ led-failsafe = &led_wps; led-running = &led_wps; led-upgrade = &led_wps; + label-mac-device = ðernet; }; chosen { @@ -57,13 +58,7 @@ partition@0 { label = "u-boot"; - reg = <0x0 0x30000>; - read-only; - }; - - partition@30000 { - label = "u-boot-env"; - reg = <0x30000 0x1000>; + reg = <0x0 0x80000>; read-only; }; @@ -82,7 +77,7 @@ partition@140000 { compatible = "denx,uimage"; label = "firmware"; - reg = <0x140000 0x7E40000>; + reg = <0x140000 0x7e40000>; }; }; }; @@ -92,29 +87,41 @@ }; &pcie0 { - mt76@0,0 { + wifi@0,0 { + compatible = "mediatek,mt76"; reg = <0x0000 0 0 0 0>; mediatek,mtd-eeprom = <&factory 0x8000>; ieee80211-freq-limit = <5000000 6000000>; + + led { + led-sources = <2>; + led-active-low; + }; }; }; &pcie1 { - mt76@0,0 { + wifi@0,0 { + compatible = "mediatek,mt76"; reg = <0x0000 0 0 0 0>; mediatek,mtd-eeprom = <&factory 0x0000>; ieee80211-freq-limit = <2400000 2500000>; + + led { + led-sources = <2>; + led-active-low; + }; }; }; ðernet { - mtd-mac-address = <&factory 0xe006>; + mtd-mac-address = <&factory 0xe000>; }; &pinctrl { state_default: pinctrl0 { gpio { - ralink,group = "uart3", "jtag"; + ralink,group = "uart3", "uart2"; ralink,function = "gpio"; }; }; |