dff1966d5c1dc7ee343398f714b174839374cda4
[openwrt/openwrt.git] / target / linux / kirkwood / patches-4.9 / 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 @@ -23,6 +23,7 @@
4 };
5
6 chosen {
7 + bootargs = "console=ttyS0,115200";
8 stdout-path = "uart0:115200n8";
9 };
10
11 @@ -36,8 +37,8 @@
12 eject {
13 debounce_interval = <50>;
14 wakeup-source;
15 - linux,code = <KEY_EJECTCD>;
16 - label = "Eject Button";
17 + linux,code = <KEY_RESTART>;
18 + label = "Reset";
19 gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
20 };
21 };
22 @@ -136,29 +137,19 @@
23 #size-cells = <1>;
24
25 partition@0 {
26 - label = "u-boot";
27 - reg = <0x00000000 0x200000>;
28 + label = "uboot";
29 + reg = <0x00000000 0x1c0000>;
30 read-only;
31 };
32
33 - partition@200000 {
34 - label = "uImage";
35 - reg = <0x00200000 0x300000>;
36 - };
37 -
38 - partition@500000 {
39 - label = "uImage2";
40 - reg = <0x00500000 0x300000>;
41 + partition@1c0000 {
42 + label = "uboot_env";
43 + reg = <0x001c0000 0x40000>;
44 };
45
46 - partition@800000 {
47 - label = "failsafe";
48 - reg = <0x00800000 0x800000>;
49 - };
50 -
51 - partition@1000000 {
52 - label = "root";
53 - reg = <0x01000000 0x7000000>;
54 + partition@200000 {
55 + label = "ubi";
56 + reg = <0x00200000 0x7e00000>;
57 };
58 };
59 };