26dbf8a734705fa493caa3601f25d860c4f9ff8e
[oweals/openwrt.git] / target / linux / kirkwood / patches-4.14 / 110-pogo_e02.patch
1 --- a/arch/arm/boot/dts/kirkwood-pogo_e02.dts
2 +++ b/arch/arm/boot/dts/kirkwood-pogo_e02.dts
3 @@ -22,6 +22,13 @@
4         compatible = "cloudengines,pogoe02", "marvell,kirkwood-88f6281",
5                      "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 0x10000000>;
17 @@ -35,12 +42,12 @@
18         gpio-leds {
19                 compatible = "gpio-leds";
20  
21 -               health {
22 +               led_health: health {
23                         label = "pogo_e02:green:health";
24                         gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
25 -                       default-state = "keep";
26 +                       default-state = "on";
27                 };
28 -               fault {
29 +               led_fault: fault {
30                         label = "pogo_e02:orange:fault";
31                         gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
32                 };
33 @@ -97,24 +104,24 @@
34         status = "okay";
35  
36         partition@0 {
37 -               label = "u-boot";
38 -               reg = <0x0000000 0x100000>;
39 +               label = "uboot";
40 +               reg = <0x0 0xe0000>;
41                 read-only;
42         };
43  
44 -       partition@100000 {
45 -               label = "uImage";
46 -               reg = <0x0100000 0x400000>;
47 +       partition@e0000 {
48 +               label = "uboot_env";
49 +               reg = <0xe0000 0x20000>;
50         };
51  
52 -       partition@500000 {
53 -               label = "pogoplug";
54 -               reg = <0x0500000 0x2000000>;
55 +       partition@100000 {
56 +               label = "second_stage_uboot";
57 +               reg = <0x100000 0x100000>;
58         };
59  
60 -       partition@2500000 {
61 -               label = "root";
62 -               reg = <0x02500000 0x5b00000>;
63 +       partition@200000 {
64 +               label = "ubi";
65 +               reg = <0x200000 0x7e00000>;
66         };
67  };
68