[openwrt/openwrt] mvebu: mochabin: correct LED labels in DTS

LEDE Commits lede-commits at lists.infradead.org
Sat Oct 9 14:47:11 PDT 2021


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/46646efc38b496d95c87d1951aff21d2cff838d5

commit 46646efc38b496d95c87d1951aff21d2cff838d5
Author: Robert Marko <robert.marko at sartura.hr>
AuthorDate: Sat Oct 2 19:57:57 2021 +0200

    mvebu: mochabin: correct LED labels in DTS
    
    LED labels got reversed by accident, so fix it to the usual color:led_name format.
    
    Fixes: 78cf3e53b1f4 ("mvebu: add Globalscale MOCHAbin")
    
    Signed-off-by: Robert Marko <robert.marko at sartura.hr>
    [add Fixes:]
    Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
 .../arm64/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>;
 		};
 	};



More information about the lede-commits mailing list