kirkwood: use generic diag.sh
[openwrt/staging/mkresin.git] / target / linux / kirkwood / patches-4.19 / 106-goflexnet.patch
1 --- a/arch/arm/boot/dts/kirkwood-goflexnet.dts
2 +++ b/arch/arm/boot/dts/kirkwood-goflexnet.dts
3 @@ -8,6 +8,13 @@
4 model = "Seagate GoFlex Net";
5 compatible = "seagate,goflexnet", "marvell,kirkwood-88f6281", "marvell,kirkwood";
6
7 + aliases {
8 + led-boot = &led_health;
9 + led-failsafe = &led_fault;
10 + led-running = &led_health;
11 + led-upgrade = &led_fault;
12 + };
13 +
14 memory {
15 device_type = "memory";
16 reg = <0x00000000 0x8000000>;
17 @@ -85,12 +92,11 @@
18 >;
19 pinctrl-names = "default";
20
21 - health {
22 + led_health: health {
23 label = "status:green:health";
24 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
25 - default-state = "keep";
26 };
27 - fault {
28 + led_fault: fault {
29 label = "status:orange:fault";
30 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
31 };
32 @@ -159,18 +165,8 @@
33 };
34
35 partition@100000 {
36 - label = "uImage";
37 - reg = <0x0100000 0x400000>;
38 - };
39 -
40 - partition@500000 {
41 - label = "pogoplug";
42 - reg = <0x0500000 0x2000000>;
43 - };
44 -
45 - partition@2500000 {
46 - label = "root";
47 - reg = <0x02500000 0xd800000>;
48 + label = "ubi";
49 + reg = <0x0100000 0x0ff00000>;
50 };
51 };
52