[PATCH 22.03] ipq40xx: luma_wrtq-acn329: swap ethernet MAC addresses

Tomasz Maciej Nowak tmn505 at terefe.re
Mon Oct 3 06:18:59 PDT 2022


From: Tomasz Maciej Nowak <tmn505 at gmail.com>

Adjust them according to OEM firmware.

Fixes: e24635710c7e (" ipq40xx: add support for Luma Home WRTQ-329ACN")
Signed-off-by: Tomasz Maciej Nowak <tmn505 at gmail.com>
---
This is different than
https://patchwork.ozlabs.org/project/openwrt/patch/20220923124739.5979-1,
where I made a blunder and tested the change with DSA patches enabled,
which made the change absolutely moot on pre-DSA driver. Since the DSA
series was about to be accepted I didn't send the revert and causing
more noise. Sorry.

 .../files/arch/arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts     | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts
index 5b0c8cf10690..0eed441a2d75 100644
--- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts
+++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts
@@ -9,6 +9,11 @@
 	model = "Luma Home WRTQ-329ACN";
 	compatible = "luma,wrtq-329acn";
 
+	aliases {
+		ethernet0 = &gmac1;
+		ethernet1 = &gmac0;
+	};
+
 	i2c-gpio {
 		compatible = "i2c-gpio";
 		sda-gpios = <&tlmm 1 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
-- 
2.37.3




More information about the openwrt-devel mailing list