From c1d5b9a26ac1c4646a1109ccf360a3872e887c7c Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Fri, 21 Mar 2025 00:52:39 +0000 Subject: [PATCH] Revert "mediatek: rename PHY LEDs to match upstream bindings" This reverts commit 7103a1554aedbccc16a8beab759fcbd3b9d8e422. It was merged by accident. Signed-off-by: Daniel Golle --- .../linux/mediatek/dts/mt7622-smartrg-SDG-841-t6.dts | 8 ++++---- target/linux/mediatek/dts/mt7981b-openwrt-one.dts | 4 ++-- .../linux/mediatek/dts/mt7986a-asus-tuf-ax4200.dts | 2 +- .../mediatek/dts/mt7986a-bananapi-bpi-r3-mini.dts | 8 ++++---- .../mediatek/dts/mt7986a-zyxel-ex5601-t0-common.dtsi | 4 ++-- .../mediatek/dts/mt7988a-smartrg-mt-stuart.dtsi | 12 ++++++------ 6 files changed, 19 insertions(+), 19 deletions(-) diff --git a/target/linux/mediatek/dts/mt7622-smartrg-SDG-841-t6.dts b/target/linux/mediatek/dts/mt7622-smartrg-SDG-841-t6.dts index 20d6d0fbc3e..05fd74a7d30 100644 --- a/target/linux/mediatek/dts/mt7622-smartrg-SDG-841-t6.dts +++ b/target/linux/mediatek/dts/mt7622-smartrg-SDG-841-t6.dts @@ -188,13 +188,13 @@ #address-cells = <1>; #size-cells = <0>; - led-0 { + led@0 { reg = <0>; color = ; function = LED_FUNCTION_LAN; }; - led-1 { + led@1 { reg = <1>; color = ; function = LED_FUNCTION_LAN; @@ -214,13 +214,13 @@ #address-cells = <1>; #size-cells = <0>; - led-1 { + led@1 { reg = <1>; color = ; function = LED_FUNCTION_WAN; }; - led-2 { + led@2 { reg = <2>; color = ; function = LED_FUNCTION_WAN; diff --git a/target/linux/mediatek/dts/mt7981b-openwrt-one.dts b/target/linux/mediatek/dts/mt7981b-openwrt-one.dts index 63b2a27b915..584b4821792 100644 --- a/target/linux/mediatek/dts/mt7981b-openwrt-one.dts +++ b/target/linux/mediatek/dts/mt7981b-openwrt-one.dts @@ -171,13 +171,13 @@ #address-cells = <1>; #size-cells = <0>; - led-0 { + led@0 { reg = <0>; function = LED_FUNCTION_WAN; color = ; }; - led-1 { + led@1 { reg = <1>; function = LED_FUNCTION_WAN; color = ; diff --git a/target/linux/mediatek/dts/mt7986a-asus-tuf-ax4200.dts b/target/linux/mediatek/dts/mt7986a-asus-tuf-ax4200.dts index 52fd601f111..f0551183986 100644 --- a/target/linux/mediatek/dts/mt7986a-asus-tuf-ax4200.dts +++ b/target/linux/mediatek/dts/mt7986a-asus-tuf-ax4200.dts @@ -140,7 +140,7 @@ #address-cells = <1>; #size-cells = <0>; - led-0 { + led@0 { reg = <0>; color = ; function = LED_FUNCTION_WAN; diff --git a/target/linux/mediatek/dts/mt7986a-bananapi-bpi-r3-mini.dts b/target/linux/mediatek/dts/mt7986a-bananapi-bpi-r3-mini.dts index 5781cc9fccb..09a557c0cb8 100644 --- a/target/linux/mediatek/dts/mt7986a-bananapi-bpi-r3-mini.dts +++ b/target/linux/mediatek/dts/mt7986a-bananapi-bpi-r3-mini.dts @@ -187,13 +187,13 @@ #address-cells = <1>; #size-cells = <0>; - led-0 { + led@0 { reg = <0>; function = LED_FUNCTION_LAN; color = ; }; - led-1 { + led@1 { reg = <1>; function = LED_FUNCTION_LAN; color = ; @@ -223,13 +223,13 @@ #address-cells = <1>; #size-cells = <0>; - led-0 { + led@0 { reg = <0>; function = LED_FUNCTION_WAN; color = ; }; - led-1 { + led@1 { reg = <1>; function = LED_FUNCTION_WAN; color = ; diff --git a/target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-common.dtsi b/target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-common.dtsi index 74d66ab16d8..1a90417f19b 100644 --- a/target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-common.dtsi +++ b/target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-common.dtsi @@ -219,7 +219,7 @@ #address-cells = <1>; #size-cells = <0>; - led-0 { + led@0 { reg = <0>; color = ; function = LED_FUNCTION_LAN; @@ -235,7 +235,7 @@ #address-cells = <1>; #size-cells = <0>; - led-0 { + led@0 { reg = <0>; color = ; function = LED_FUNCTION_WAN; diff --git a/target/linux/mediatek/dts/mt7988a-smartrg-mt-stuart.dtsi b/target/linux/mediatek/dts/mt7988a-smartrg-mt-stuart.dtsi index e634a1c4538..a3db288d274 100644 --- a/target/linux/mediatek/dts/mt7988a-smartrg-mt-stuart.dtsi +++ b/target/linux/mediatek/dts/mt7988a-smartrg-mt-stuart.dtsi @@ -425,19 +425,19 @@ #address-cells = <1>; #size-cells = <0>; - led-0 { + led@0 { reg = <0>; function = LED_FUNCTION_WAN; color = ; }; - led-1 { + led@1 { reg = <1>; function = LED_FUNCTION_WAN; color = ; }; - led-2 { + led@2 { reg = <2>; function = LED_FUNCTION_WAN; color = ; @@ -459,19 +459,19 @@ #address-cells = <1>; #size-cells = <0>; - aqr_green_led: led-0 { + aqr_green_led: led@0 { reg = <0>; function = LED_FUNCTION_LAN; color = ; }; - aqr_orange_led: led-1 { + aqr_orange_led: led@1 { reg = <1>; function = LED_FUNCTION_LAN; color = ; }; - aqr_white_led: led-2 { + aqr_white_led: led@2 { reg = <2>; function = LED_FUNCTION_LAN; color = ;