ath79: fix Teltonika RUT230 v1 MAC assignment
authorDavid Bauer <mail@david-bauer.net>
Fri, 9 Dec 2022 00:58:03 +0000 (01:58 +0100)
committerDavid Bauer <mail@david-bauer.net>
Fri, 9 Dec 2022 00:59:47 +0000 (01:59 +0100)
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 <mail@david-bauer.net>
target/linux/ath79/dts/ar9331_teltonika_rut230-v1.dts

index 1858c74272b1376dbca7d7202d81a8d9ba8c25d0..26004c1cfd6724f451d07d9aae2bb5ee62c6b790 100644 (file)
@@ -10,7 +10,7 @@
        compatible = "teltonika,rut230-v1", "qca,ar9331";
 
        aliases {
-               label-mac-device = &wmac;
+               label-mac-device = &eth1;
                led-boot = &led_ss0;
                led-failsafe = &led_ss0;
                led-upgrade = &led_ss0;
 
        nvmem-cells = <&macaddr_config_0>;
        nvmem-cell-names = "mac-address";
+       mac-address-increment = <1>;
 };
 
 &eth1 {
 
        nvmem-cells = <&macaddr_config_0>;
        nvmem-cell-names = "mac-address";
-       mac-address-increment = <1>;
 };
 
 &spi {