diff options
author | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2007-09-15 04:54:14 +1000 |
---|---|---|
committer | Josh Boyer <jwboyer@gmail.com> | 2007-09-19 21:13:16 -0500 |
commit | 504ca43e5e681b8ed3837f11ea458eb145a82e4e (patch) | |
tree | 2b8d1087adfcdb2b2a29cffc438bd18328dde745 /arch/powerpc/boot/dts/sequoia.dts | |
parent | bf07f32d4332be50f5d4ef06307fb328257fcd1b (diff) |
[POWERPC] 4xx: Convert Seqouia flash mappings to new binding
A new binding for flash devices was recently introduced. This updates the
Sequoia DTS to use the new binding and enabled MTD in the defconfig.
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Acked-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/powerpc/boot/dts/sequoia.dts')
-rw-r--r-- | arch/powerpc/boot/dts/sequoia.dts | 38 |
1 files changed, 27 insertions, 11 deletions
diff --git a/arch/powerpc/boot/dts/sequoia.dts b/arch/powerpc/boot/dts/sequoia.dts index af6a56b4e5b..b236798ce81 100644 --- a/arch/powerpc/boot/dts/sequoia.dts +++ b/arch/powerpc/boot/dts/sequoia.dts @@ -142,19 +142,35 @@ interrupt-parent = <&UIC1>; nor_flash@0,0 { - device_type = "rom"; - compatible = "direct-mapped"; - probe-type = "CFI"; + compatible = "amd,s29gl256n", "cfi-flash"; bank-width = <2>; - partitions = < 0 180000 - 180000 200000 - 380000 3aa0000 - 3e20000 140000 - 3f60000 40000 - 3fa0000 60000>; - partition-names = "Kernel", "ramdisk", "file system", - "kozio", "env", "u-boot"; reg = <0 000000 4000000>; + #address-cells = <1>; + #size-cells = <1>; + partition@0 { + label = "Kernel"; + reg = <0 180000>; + }; + partition@180000 { + label = "ramdisk"; + reg = <180000 200000>; + }; + partition@380000 { + label = "file system"; + reg = <380000 3aa0000>; + }; + partition@3e20000 { + label = "kozio"; + reg = <3e20000 140000>; + }; + partition@3f60000 { + label = "env"; + reg = <3f60000 40000>; + }; + partition@3fa0000 { + label = "u-boot"; + reg = <3fa0000 60000>; + }; }; }; |