[PATCH] mvebu: mochabin: correct LED labels in DTS

Robert Marko robert.marko at sartura.hr
Sat Oct 2 10:57:57 PDT 2021


LED labels got reversed by accident, so fix it to the usual color:led_name format.

Signed-off-by: Robert Marko <robert.marko at sartura.hr>
---
 .../boot/dts/marvell/armada-7040-mochabin.dts  | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/target/linux/mvebu/files/arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts b/target/linux/mvebu/files/arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts
index 63f4fd5a69..c198061af7 100644
--- a/target/linux/mvebu/files/arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts
+++ b/target/linux/mvebu/files/arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts
@@ -235,48 +235,48 @@
 		reg = <0x64>;
 
 		led1_red: led at 1 {
-			label = "led1:red";
+			label = "red:led1";
 			reg = <1>;
 			led-max-microamp = <20000>;
 		};
 
 		led1_green: led at 2 {
-			label = "led1:green";
+			label = "green:led1";
 			reg = <2>;
 		};
 
 		led1_blue: led at 3 {
-			label = "led1:blue";
+			label = "blue:led1";
 			reg = <3>;
 		};
 
 		led2_red: led at 4 {
-			label = "led2:red";
+			label = "red:led2";
 			reg = <4>;
 		};
 
 		led2_green: led at 5 {
-			label = "led2:green";
+			label = "green:led2";
 			reg = <5>;
 		};
 
 		led2_blue: led at 6 {
-			label = "led2:blue";
+			label = "blue:led2";
 			reg = <6>;
 		};
 
 		led3_red: led at 7 {
-			label = "led3:red";
+			label = "red:led3";
 			reg = <7>;
 		};
 
 		led3_green: led at 8 {
-			label = "led3:green";
+			label = "green:led3";
 			reg = <8>;
 		};
 
 		led3_blue: led at 9 {
-			label = "led3:blue";
+			label = "blue:led3";
 			reg = <9>;
 		};
 	};
-- 
2.31.1




More information about the openwrt-devel mailing list