x86: geode/legacy: fix missing watchdog core dependencies
[oweals/openwrt.git] / target / linux / kirkwood / patches-5.4 / 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,12 @@
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 +                       default-state = "on";
27                 };
28 -               fault {
29 +               led_fault: fault {
30                         label = "status:orange:fault";
31                         gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
32                 };
33 @@ -78,18 +85,22 @@
34  
35         partition@0 {
36                 label = "u-boot";
37 -               reg = <0x0000000 0x100000>;
38 -               read-only;
39 +               reg = <0x0000000 0xe0000>;
40 +       };
41 +
42 +       partition@e0000 {
43 +               label = "u-boot environment";
44 +               reg = <0xe0000 0x100000>;
45         };
46  
47         partition@100000 {
48 -               label = "uImage";
49 -               reg = <0x0100000 0x400000>;
50 +               label = "second stage u-boot";
51 +               reg = <0x100000 0x200000>;
52         };
53  
54 -       partition@500000 {
55 -               label = "data";
56 -               reg = <0x0500000 0xfb00000>;
57 +       partition@200000 {
58 +               label = "ubi";
59 +               reg = <0x200000 0xfe00000>;
60         };
61  };
62