[openwrt/openwrt] Revert "mediatek: rename PHY LEDs to match upstream bindings"

LEDE Commits lede-commits at lists.infradead.org
Thu Mar 20 17:53:55 PDT 2025


dangole pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/c1d5b9a26ac1c4646a1109ccf360a3872e887c7c

commit c1d5b9a26ac1c4646a1109ccf360a3872e887c7c
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Fri Mar 21 00:52:39 2025 +0000

    Revert "mediatek: rename PHY LEDs to match upstream bindings"
    
    This reverts commit 7103a1554aedbccc16a8beab759fcbd3b9d8e422.
    It was merged by accident.
    
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 target/linux/mediatek/dts/mt7622-smartrg-SDG-841-t6.dts      |  8 ++++----
 target/linux/mediatek/dts/mt7981b-openwrt-one.dts            |  4 ++--
 target/linux/mediatek/dts/mt7986a-asus-tuf-ax4200.dts        |  2 +-
 target/linux/mediatek/dts/mt7986a-bananapi-bpi-r3-mini.dts   |  8 ++++----
 .../linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-common.dtsi   |  4 ++--
 target/linux/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 20d6d0fbc3..05fd74a7d3 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 at 0 {
 					reg = <0>;
 					color = <LED_COLOR_ID_GREEN>;
 					function = LED_FUNCTION_LAN;
 				};
 
-				led-1 {
+				led at 1 {
 					reg = <1>;
 					color = <LED_COLOR_ID_AMBER>;
 					function = LED_FUNCTION_LAN;
@@ -214,13 +214,13 @@
 				#address-cells = <1>;
 				#size-cells = <0>;
 
-				led-1 {
+				led at 1 {
 					reg = <1>;
 					color = <LED_COLOR_ID_AMBER>;
 					function = LED_FUNCTION_WAN;
 				};
 
-				led-2 {
+				led at 2 {
 					reg = <2>;
 					color = <LED_COLOR_ID_GREEN>;
 					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 63b2a27b91..584b482179 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 at 0 {
 				reg = <0>;
 				function = LED_FUNCTION_WAN;
 				color = <LED_COLOR_ID_AMBER>;
 			};
 
-			led-1 {
+			led at 1 {
 				reg = <1>;
 				function = LED_FUNCTION_WAN;
 				color = <LED_COLOR_ID_GREEN>;
diff --git a/target/linux/mediatek/dts/mt7986a-asus-tuf-ax4200.dts b/target/linux/mediatek/dts/mt7986a-asus-tuf-ax4200.dts
index 52fd601f11..f055118398 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 at 0 {
 				reg = <0>;
 				color = <LED_COLOR_ID_WHITE>;
 				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 5781cc9fcc..09a557c0cb 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 at 0 {
 					reg = <0>;
 					function = LED_FUNCTION_LAN;
 					color = <LED_COLOR_ID_YELLOW>;
 				};
 
-				led-1 {
+				led at 1 {
 					reg = <1>;
 					function = LED_FUNCTION_LAN;
 					color = <LED_COLOR_ID_GREEN>;
@@ -223,13 +223,13 @@
 				#address-cells = <1>;
 				#size-cells = <0>;
 
-				led-0 {
+				led at 0 {
 					reg = <0>;
 					function = LED_FUNCTION_WAN;
 					color = <LED_COLOR_ID_YELLOW>;
 				};
 
-				led-1 {
+				led at 1 {
 					reg = <1>;
 					function = LED_FUNCTION_WAN;
 					color = <LED_COLOR_ID_GREEN>;
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 74d66ab16d..1a90417f19 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 at 0 {
 					reg = <0>;
 					color = <LED_COLOR_ID_GREEN>;
 					function = LED_FUNCTION_LAN;
@@ -235,7 +235,7 @@
 				#address-cells = <1>;
 				#size-cells = <0>;
 
-				led-0 {
+				led at 0 {
 					reg = <0>;
 					color = <LED_COLOR_ID_GREEN>;
 					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 e634a1c453..a3db288d27 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 at 0 {
 				reg = <0>;
 				function = LED_FUNCTION_WAN;
 				color = <LED_COLOR_ID_GREEN>;
 			};
 
-			led-1 {
+			led at 1 {
 				reg = <1>;
 				function = LED_FUNCTION_WAN;
 				color = <LED_COLOR_ID_ORANGE>;
 			};
 
-			led-2 {
+			led at 2 {
 				reg = <2>;
 				function = LED_FUNCTION_WAN;
 				color = <LED_COLOR_ID_WHITE>;
@@ -459,19 +459,19 @@
 			#address-cells = <1>;
 			#size-cells = <0>;
 
-			aqr_green_led: led-0 {
+			aqr_green_led: led at 0 {
 				reg = <0>;
 				function = LED_FUNCTION_LAN;
 				color = <LED_COLOR_ID_GREEN>;
 			};
 
-			aqr_orange_led: led-1 {
+			aqr_orange_led: led at 1 {
 				reg = <1>;
 				function = LED_FUNCTION_LAN;
 				color = <LED_COLOR_ID_ORANGE>;
 			};
 
-			aqr_white_led: led-2 {
+			aqr_white_led: led at 2 {
 				reg = <2>;
 				function = LED_FUNCTION_LAN;
 				color = <LED_COLOR_ID_WHITE>;




More information about the lede-commits mailing list