From cec87757d8cd665f894ea7baa7890186f1dd9727 Mon Sep 17 00:00:00 2001 From: Mieczyslaw Nalewaj Date: Mon, 14 Sep 2026 11:10:20 +0200 Subject: [PATCH] ipq806x: fix ethernet aliases G10 and WPQ864 alias ethernet1 to &gmac0, which is never enabled on either board; the GMAC that actually is enabled, gmac2, has no alias. The following commit will force netdev naming from the DT alias, so point ethernet1 at gmac2 to keep both active GMACs aliased. Signed-off-by: Mieczyslaw Nalewaj Link: https://github.com/openwrt/openwrt/pull/25143 Signed-off-by: Robert Marko --- target/linux/ipq806x/dts/qcom-ipq8064-g10.dts | 2 +- target/linux/ipq806x/dts/qcom-ipq8064-wpq864.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/ipq806x/dts/qcom-ipq8064-g10.dts b/target/linux/ipq806x/dts/qcom-ipq8064-g10.dts index e8a4a04776e..c38d468c4ff 100644 --- a/target/linux/ipq806x/dts/qcom-ipq8064-g10.dts +++ b/target/linux/ipq806x/dts/qcom-ipq8064-g10.dts @@ -11,7 +11,7 @@ aliases { ethernet0 = &gmac1; - ethernet1 = &gmac0; + ethernet1 = &gmac2; led-boot = &led_status_blue; led-failsafe = &led_status_amber; diff --git a/target/linux/ipq806x/dts/qcom-ipq8064-wpq864.dts b/target/linux/ipq806x/dts/qcom-ipq8064-wpq864.dts index d0ff076a407..b3e1df08d18 100644 --- a/target/linux/ipq806x/dts/qcom-ipq8064-wpq864.dts +++ b/target/linux/ipq806x/dts/qcom-ipq8064-wpq864.dts @@ -18,7 +18,7 @@ aliases { mdio-gpio0 = &mdio0; ethernet0 = &gmac1; - ethernet1 = &gmac0; + ethernet1 = &gmac2; led-boot = &led_pass; led-failsafe = &led_fail;