1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-09 21:41:53 +02:00
openwrt-xburst/target/linux/ppc44x/patches/001-taishan_openwrt_flashmap.patch
kaloz da66f39801 upgrade ppc44x to 2.6.26.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-07 21:05:32 +00:00

38 lines
824 B
Diff

--- a/arch/powerpc/boot/dts/taishan.dts
+++ b/arch/powerpc/boot/dts/taishan.dts
@@ -185,6 +185,34 @@
interrupt-parent = <&UIC1>;
/* TODO: Add other EBC devices */
+ nor_flash@0,0 {
+ compatible = "cfi-flash";
+ bank-width = <4>;
+ device-width = <2>;
+ reg = <0 000000 4000000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ partition@0 {
+ label = "kernel";
+ reg = <0 200000>;
+ };
+ partition@200000 {
+ label = "rootfs";
+ reg = <200000 3c00000>;
+ };
+ partition@3e00000 {
+ label = "diagnostics";
+ reg = <3e00000 140000>;
+ };
+ partition@3f40000 {
+ label = "env";
+ reg = <3f40000 80000>;
+ };
+ partition@3fc0000 {
+ label = "u-boot";
+ reg = <3fc0000 40000>;
+ };
+ };
};