kirkwood: use generic diag.sh
[openwrt/staging/wigyori.git] / target / linux / kirkwood / patches-4.19 / 102-dockstar.patch
1 --- a/arch/arm/boot/dts/kirkwood-dockstar.dts
2 +++ b/arch/arm/boot/dts/kirkwood-dockstar.dts
3 @@ -8,6 +8,13 @@
4 model = "Seagate FreeAgent Dockstar";
5 compatible = "seagate,dockstar", "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 @@ -42,12 +49,11 @@
18 pinctrl-0 = <&pmx_led_green &pmx_led_orange>;
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 @@ -78,18 +84,22 @@
33
34 partition@0 {
35 label = "u-boot";
36 - reg = <0x0000000 0x100000>;
37 - read-only;
38 + reg = <0x0000000 0xe0000>;
39 + };
40 +
41 + partition@e0000 {
42 + label = "u-boot environment";
43 + reg = <0xe0000 0x100000>;
44 };
45
46 partition@100000 {
47 - label = "uImage";
48 - reg = <0x0100000 0x400000>;
49 + label = "second stage u-boot";
50 + reg = <0x100000 0x200000>;
51 };
52
53 - partition@500000 {
54 - label = "data";
55 - reg = <0x0500000 0xfb00000>;
56 + partition@200000 {
57 + label = "ubi";
58 + reg = <0x200000 0xfe00000>;
59 };
60 };
61