kirkwood: use generic diag.sh
[openwrt/staging/lynxis.git] / target / linux / kirkwood / patches-4.14 / 102-dockstar.patch
index 7462b93e0ca965484413b1fadff485131c83500d..fb05e469bcfd10756a196ccb7c88824d01a8e10c 100644 (file)
@@ -1,6 +1,35 @@
 --- a/arch/arm/boot/dts/kirkwood-dockstar.dts
 +++ b/arch/arm/boot/dts/kirkwood-dockstar.dts
-@@ -78,18 +78,22 @@
+@@ -8,6 +8,13 @@
+       model = "Seagate FreeAgent Dockstar";
+       compatible = "seagate,dockstar", "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>;
+@@ -42,12 +49,11 @@
+               pinctrl-0 = <&pmx_led_green &pmx_led_orange>;
+               pinctrl-names = "default";
+-              health {
++              led_health: health {
+                       label = "status:green:health";
+                       gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
+-                      default-state = "keep";
+               };
+-              fault {
++              led_fault: fault {
+                       label = "status:orange:fault";
+                       gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
+               };
+@@ -78,18 +84,22 @@
  
        partition@0 {
                label = "u-boot";