kirkwood: add support for UBI (3.10.x)
[openwrt/staging/rmilecki.git] / target / linux / kirkwood / patches-3.10 / 110-ib62x0.patch
1 --- a/arch/arm/boot/dts/kirkwood-ib62x0.dts
2 +++ b/arch/arm/boot/dts/kirkwood-ib62x0.dts
3 @@ -5,7 +5,7 @@
4
5 / {
6 model = "RaidSonic ICY BOX IB-NAS62x0 (Rev B)";
7 - compatible = "raidsonic,ib-nas6210-b", "raidsonic,ib-nas6220-b", "raidsonic,ib-nas6210", "raidsonic,ib-nas6220", "raidsonic,ib-nas62x0", "marvell,kirkwood-88f6281", "marvell,kirkwood";
8 + compatible = "raidsonic,ib-nas6210-b", "raidsonic,ib-nas6220-b", "raidsonic,ib-nas6210", "raidsonic,ib-nas6220", "raidsonic,ib-nas62x0", "marvell,kirkwood-88f6281", "marvell,kirkwood";
9
10 memory {
11 device_type = "memory";
12 @@ -50,6 +50,7 @@
13 marvell,function = "gpio";
14 };
15 };
16 +
17 serial@12000 {
18 status = "okay";
19 };
20 @@ -64,19 +65,18 @@
21
22 partition@0 {
23 label = "u-boot";
24 - reg = <0x0000000 0x100000>;
25 + reg = <0x0000000 0xe0000>;
26 };
27
28 - partition@100000 {
29 - label = "uImage";
30 - reg = <0x0100000 0x600000>;
31 + partition@e0000 {
32 + label = "u-boot environment";
33 + reg = <0xe0000 0x100000>;
34 };
35
36 - partition@700000 {
37 + partition@100000 {
38 label = "root";
39 - reg = <0x0700000 0xf900000>;
40 + reg = <0x100000 0xff00000>;
41 };
42 -
43 };
44 };
45
46 @@ -84,6 +84,7 @@
47 compatible = "gpio-keys";
48 #address-cells = <1>;
49 #size-cells = <0>;
50 +
51 button@1 {
52 label = "USB Copy";
53 linux,code = <133>;
54 @@ -95,6 +96,7 @@
55 gpios = <&gpio0 28 1>;
56 };
57 };
58 +
59 gpio-leds {
60 compatible = "gpio-leds";
61
62 @@ -112,12 +114,11 @@
63 gpios = <&gpio0 27 0>;
64 };
65 };
66 +
67 gpio_poweroff {
68 compatible = "gpio-poweroff";
69 gpios = <&gpio0 24 0>;
70 };
71 -
72 -
73 };
74
75 &mdio {
76 @@ -131,6 +132,7 @@
77
78 &eth0 {
79 status = "okay";
80 +
81 ethernet0-port@0 {
82 phy-handle = <&ethphy0>;
83 };