[openwrt/openwrt] ath79: fix Teltonika RUT230 v1 MAC assignment
LEDE Commits
lede-commits at lists.infradead.org
Thu Dec 8 16:59:58 PST 2022
blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/4c0919839d77ca33a6305116e2ff67234fb07514
commit 4c0919839d77ca33a6305116e2ff67234fb07514
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Fri Dec 9 01:58:03 2022 +0100
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 <mail at david-bauer.net>
---
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 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 {
More information about the lede-commits
mailing list