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