From 4c0919839d77ca33a6305116e2ff67234fb07514 Mon Sep 17 00:00:00 2001 From: David Bauer Date: Fri, 9 Dec 2022 01:58:03 +0100 Subject: [PATCH] ath79: fix Teltonika RUT230 v1 MAC assignment The MAC-Address setup for the Teltonika RUT230 v1 was swapped for the LAN / WAN ports. Also the Label-MAC was assigned incorrect, as the WiFi MAC is printed on the case as part of the SSID, however only the LAN MAC-Address is designated as a MAC-Address. Signed-off-by: David Bauer --- target/linux/ath79/dts/ar9331_teltonika_rut230-v1.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/ath79/dts/ar9331_teltonika_rut230-v1.dts b/target/linux/ath79/dts/ar9331_teltonika_rut230-v1.dts index 1858c74272b1..26004c1cfd67 100644 --- a/target/linux/ath79/dts/ar9331_teltonika_rut230-v1.dts +++ b/target/linux/ath79/dts/ar9331_teltonika_rut230-v1.dts @@ -10,7 +10,7 @@ compatible = "teltonika,rut230-v1", "qca,ar9331"; aliases { - label-mac-device = &wmac; + label-mac-device = ð1; led-boot = &led_ss0; led-failsafe = &led_ss0; led-upgrade = &led_ss0; @@ -111,6 +111,7 @@ nvmem-cells = <&macaddr_config_0>; nvmem-cell-names = "mac-address"; + mac-address-increment = <1>; }; ð1 { @@ -118,7 +119,6 @@ nvmem-cells = <&macaddr_config_0>; nvmem-cell-names = "mac-address"; - mac-address-increment = <1>; }; &spi { -- 2.30.2