diff options
author | Daniel Golle <daniel@makrotopia.org> | 2019-03-01 23:51:19 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2019-03-01 23:51:19 +0100 |
commit | 6b2874707a3f2458803582f48a2ef68ac7dd7b42 (patch) | |
tree | 7840290b8a7c5faf3bf6ab914cae0df953e8c862 /target/linux/oxnas/patches-4.14/030-led-aliases-on-pogoplug-v3.patch | |
parent | e882d5bf312bbc4cf672c26dda8f73df47f779f7 (diff) | |
download | upstream-6b2874707a3f2458803582f48a2ef68ac7dd7b42.tar.gz upstream-6b2874707a3f2458803582f48a2ef68ac7dd7b42.tar.bz2 upstream-6b2874707a3f2458803582f48a2ef68ac7dd7b42.zip |
oxnas: switch to DTS aliases for LEDs and use generic diag.sh
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/oxnas/patches-4.14/030-led-aliases-on-pogoplug-v3.patch')
-rw-r--r-- | target/linux/oxnas/patches-4.14/030-led-aliases-on-pogoplug-v3.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/target/linux/oxnas/patches-4.14/030-led-aliases-on-pogoplug-v3.patch b/target/linux/oxnas/patches-4.14/030-led-aliases-on-pogoplug-v3.patch new file mode 100644 index 0000000000..4025ec0353 --- /dev/null +++ b/target/linux/oxnas/patches-4.14/030-led-aliases-on-pogoplug-v3.patch @@ -0,0 +1,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"; |