From: David Bauer Date: Fri, 9 Dec 2022 00:58:03 +0000 (+0100) Subject: ath79: fix Teltonika RUT230 v1 MAC assignment X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4c0919839d77ca33a6305116e2ff67234fb07514;p=openwrt%2Fstaging%2Fdangole.git 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 --- diff --git a/target/linux/ath79/dts/ar9331_teltonika_rut230-v1.dts b/target/linux/ath79/dts/ar9331_teltonika_rut230-v1.dts index 1858c74272..26004c1cfd 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 {