refresh kernel patches
[lede-git/.git] / target / linux / ppc44x / patches / 001-taishan_openwrt_flashmap.patch
1 Index: linux-2.6.24.7/arch/powerpc/boot/dts/taishan.dts
2 ===================================================================
3 --- linux-2.6.24.7.orig/arch/powerpc/boot/dts/taishan.dts
4 +++ linux-2.6.24.7/arch/powerpc/boot/dts/taishan.dts
5 @@ -175,6 +175,34 @@
6                                 interrupt-parent = <&UIC1>;
7  
8                                 /* TODO: Add other EBC devices */
9 +                               nor_flash@0,0 {
10 +                                       compatible = "cfi-flash";
11 +                                       bank-width = <4>;
12 +                                       device-width = <2>;
13 +                                       reg = <0 000000 4000000>;
14 +                                       #address-cells = <1>;
15 +                                       #size-cells = <1>;
16 +                                       partition@0 {
17 +                                               label = "kernel";
18 +                                               reg = <0 200000>;
19 +                                       };
20 +                                       partition@200000 {
21 +                                               label = "rootfs";
22 +                                               reg = <200000 3c00000>;
23 +                                       };
24 +                                       partition@3e00000 {
25 +                                               label = "diagnostics";
26 +                                               reg = <3e00000 140000>;
27 +                                       };
28 +                                       partition@3f40000 {
29 +                                               label = "env";
30 +                                               reg = <3f40000 80000>;
31 +                                       };
32 +                                       partition@3fc0000 {
33 +                                               label = "u-boot";
34 +                                               reg = <3fc0000 40000>;
35 +                                       };
36 +                               };
37                         };
38  
39