aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/oxnas/patches-4.14/030-led-aliases-on-pogoplug-v3.patch
blob: 4025ec035351d3357553270d63cbfdf1f239ef69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
--- a/arch/arm/boot/dts/ox820-cloudengines-pogoplug-series-3.dts
+++ b/arch/arm/boot/dts/ox820-cloudengines-pogoplug-series-3.dts
@@ -28,24 +28,28 @@
 		serial0 = &uart0;
 		gpio0 = &gpio0;
 		gpio1 = &gpio1;
+		led-boot = &led_status;
+		led-failsafe = &led_warn;
+		led-running = &led_act;
+		led-upgrade = &led_warn;
 	};
 
 	leds {
 		compatible = "gpio-leds";
 
-		blue {
+		led_status: blue {
 			label = "pogoplug:blue";
 			gpios = <&gpio0 2 0>;
 			default-state = "keep";
 		};
 
-		orange {
+		led_warn: orange {
 			label = "pogoplug:orange";
 			gpios = <&gpio1 16 1>;
 			default-state = "keep";
 		};
 
-		green {
+		led_act: green {
 			label = "pogoplug:green";
 			gpios = <&gpio1 17 1>;
 			default-state = "keep";