diff options
Diffstat (limited to 'target/linux/kirkwood/patches-4.14/105-goflexhome.patch')
-rw-r--r-- | target/linux/kirkwood/patches-4.14/105-goflexhome.patch | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/target/linux/kirkwood/patches-4.14/105-goflexhome.patch b/target/linux/kirkwood/patches-4.14/105-goflexhome.patch index 8270613ea0..8f181ac472 100644 --- a/target/linux/kirkwood/patches-4.14/105-goflexhome.patch +++ b/target/linux/kirkwood/patches-4.14/105-goflexhome.patch @@ -10,7 +10,7 @@ kirkwood-ib62x0.dtb \ --- /dev/null +++ b/arch/arm/boot/dts/kirkwood-goflexhome.dts -@@ -0,0 +1,117 @@ +@@ -0,0 +1,123 @@ +/dts-v1/; + +#include "kirkwood.dtsi" @@ -20,6 +20,13 @@ + model = "Seagate GoFlex Home"; + compatible = "seagate,goflexhome", "marvell,kirkwood-88f6281", "marvell,kirkwood"; + ++ aliases { ++ led-boot = &led_health; ++ led-failsafe = &led_fault; ++ led-running = &led_health; ++ led-upgrade = &led_fault; ++ }; ++ + memory { + device_type = "memory"; + reg = <0x00000000 0x8000000>; @@ -62,12 +69,11 @@ + gpio-leds { + compatible = "gpio-leds"; + -+ health { ++ led_health: health { + label = "status:green:health"; + gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; -+ linux,default-trigger = "default-on"; + }; -+ fault { ++ led_fault: fault { + label = "status:orange:fault"; + gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; + }; |