diff options
| author | Chukun Pan <amadeus@jmu.edu.cn> | 2023-12-20 23:15:31 +0800 |
|---|---|---|
| committer | Daniel Golle <daniel@makrotopia.org> | 2024-01-14 23:11:57 +0000 |
| commit | 99bc8a9770b238fa7c8d7ecbd9a1d34edd677d47 (patch) | |
| tree | 3838ad2a84f87edf44799c05250869c0e46ac2c4 /target/linux | |
| parent | d55517796005cf63b753cf6e98a3a3a730bcec6e (diff) | |
| download | upstream-99bc8a9770b238fa7c8d7ecbd9a1d34edd677d47.tar.gz upstream-99bc8a9770b238fa7c8d7ecbd9a1d34edd677d47.tar.bz2 upstream-99bc8a9770b238fa7c8d7ecbd9a1d34edd677d47.zip | |
mediatek: Cudy WR3000: simplify mac address setup
The mac address of the network port under the switch is
the same as the corresponding gmac by default, so there
is no need to repeat the setting. Compile test only.
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Diffstat (limited to 'target/linux')
| -rw-r--r-- | target/linux/mediatek/dts/mt7981b-cudy-wr3000-v1.dts | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/target/linux/mediatek/dts/mt7981b-cudy-wr3000-v1.dts b/target/linux/mediatek/dts/mt7981b-cudy-wr3000-v1.dts index e2fa8bf5d3f..f4ba6295251 100644 --- a/target/linux/mediatek/dts/mt7981b-cudy-wr3000-v1.dts +++ b/target/linux/mediatek/dts/mt7981b-cudy-wr3000-v1.dts @@ -10,7 +10,7 @@ aliases { ethernet0 = &gmac0; - label-mac-device = &lan1; + label-mac-device = &gmac0; led-boot = &led_status; led-failsafe = &led_status; led-running = &led_status; @@ -238,28 +238,19 @@ nvmem-cells = <&macaddr_bdinfo_de00 1>; }; - lan1: port@1 { + port@1 { reg = <1>; label = "lan1"; - - nvmem-cell-names = "mac-address"; - nvmem-cells = <&macaddr_bdinfo_de00 0>; }; port@2 { reg = <2>; label = "lan2"; - - nvmem-cell-names = "mac-address"; - nvmem-cells = <&macaddr_bdinfo_de00 0>; }; port@3 { reg = <3>; label = "lan3"; - - nvmem-cell-names = "mac-address"; - nvmem-cells = <&macaddr_bdinfo_de00 0>; }; port@6 { |
