diff options
| author | Daniel Golle | 2024-09-19 19:12:54 +0000 |
|---|---|---|
| committer | Daniel Golle | 2024-09-19 19:33:53 +0000 |
| commit | 27be0f85655ff5036e068a32a11a654b0d095b9a (patch) | |
| tree | 6a562478f4b208466ba6b22275de2017141ecdf0 | |
| parent | dc26b661f4595c17bc6b8d7efb36662f431acd3d (diff) | |
| download | openwrt-27be0f85655ff5036e068a32a11a654b0d095b9a.tar.gz | |
mediatek: filogic: openwrt_one: let U-Boot set LAN MAC address
Instead of reading it from flash directly, let U-Boot assign the LAN
MAC address. Set label-mac-device while at it and sort aliases in DT
alphabetically.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
| -rw-r--r-- | target/linux/mediatek/dts/mt7981b-openwrt-one.dts | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/target/linux/mediatek/dts/mt7981b-openwrt-one.dts b/target/linux/mediatek/dts/mt7981b-openwrt-one.dts index cfc5319d91..46d351f76d 100644 --- a/target/linux/mediatek/dts/mt7981b-openwrt-one.dts +++ b/target/linux/mediatek/dts/mt7981b-openwrt-one.dts @@ -8,11 +8,13 @@ compatible = "openwrt,one", "mediatek,mt7981"; aliases { - serial0 = &uart0; + ethernet0 = &gmac1; + label-mac-device = &gmac0; led-boot = &led_status_white; led-failsafe = &led_status_red; led-running = &led_status_green; led-upgrade = &led_status_green; + serial0 = &uart0; }; chosen { @@ -146,8 +148,6 @@ reg = <1>; phy-mode = "gmii"; phy-handle = <&int_gbe_phy>; - nvmem-cell-names = "mac-address"; - nvmem-cells = <&macaddr_factory_2a>; }; }; @@ -395,11 +395,6 @@ reg = <0x24 0x6>; compatible = "mac-base"; }; - - macaddr_factory_2a: macaddr@2a { - reg = <0x2a 0x6>; - compatible = "mac-base"; - }; }; }; |