mediatek: mt7988a: sync dts compatible string
[openwrt/openwrt.git] / target / linux / kirkwood / patches-5.4 / 109-pogoplug_v4.patch
1 --- a/arch/arm/boot/dts/kirkwood-pogoplug-series-4.dts
2 +++ b/arch/arm/boot/dts/kirkwood-pogoplug-series-4.dts
3 @@ -18,12 +18,20 @@
4 compatible = "cloudengines,pogoplugv4", "marvell,kirkwood-88f6192",
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 0x08000000>;
17 };
18
19 chosen {
20 + bootargs = "console=ttyS0,115200";
21 stdout-path = "uart0:115200n8";
22 };
23
24 @@ -37,8 +45,8 @@
25 eject {
26 debounce-interval = <50>;
27 wakeup-source;
28 - linux,code = <KEY_EJECTCD>;
29 - label = "Eject Button";
30 + linux,code = <KEY_RESTART>;
31 + label = "Reset";
32 gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
33 };
34 };
35 @@ -48,12 +56,12 @@
36 pinctrl-0 = <&pmx_led_green &pmx_led_red>;
37 pinctrl-names = "default";
38
39 - health {
40 + led_health: health {
41 label = "pogoplugv4:green:health";
42 gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
43 default-state = "on";
44 };
45 - fault {
46 + led_fault: fault {
47 label = "pogoplugv4:red:fault";
48 gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
49 };
50 @@ -137,29 +145,19 @@
51 #size-cells = <1>;
52
53 partition@0 {
54 - label = "u-boot";
55 - reg = <0x00000000 0x200000>;
56 + label = "uboot";
57 + reg = <0x00000000 0x1c0000>;
58 read-only;
59 };
60
61 - partition@200000 {
62 - label = "uImage";
63 - reg = <0x00200000 0x300000>;
64 - };
65 -
66 - partition@500000 {
67 - label = "uImage2";
68 - reg = <0x00500000 0x300000>;
69 - };
70 -
71 - partition@800000 {
72 - label = "failsafe";
73 - reg = <0x00800000 0x800000>;
74 + partition@1c0000 {
75 + label = "uboot_env";
76 + reg = <0x001c0000 0x40000>;
77 };
78
79 - partition@1000000 {
80 - label = "root";
81 - reg = <0x01000000 0x7000000>;
82 + partition@200000 {
83 + label = "ubi";
84 + reg = <0x00200000 0x7e00000>;
85 };
86 };
87 };