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