diff options
author | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2007-09-14 14:54:14 -0400 |
---|---|---|
committer | Josh Boyer <jwboyer@gmail.com> | 2007-09-19 22:13:16 -0400 |
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 af6a56b4e5b1..b236798ce812 100644 --- a/arch/powerpc/boot/dts/sequoia.dts +++ b/arch/powerpc/boot/dts/sequoia.dts | |||
@@ -142,19 +142,35 @@ | |||
142 | interrupt-parent = <&UIC1>; | 142 | interrupt-parent = <&UIC1>; |
143 | 143 | ||
144 | nor_flash@0,0 { | 144 | nor_flash@0,0 { |
145 | device_type = "rom"; | 145 | compatible = "amd,s29gl256n", "cfi-flash"; |
146 | compatible = "direct-mapped"; | ||
147 | probe-type = "CFI"; | ||
148 | bank-width = <2>; | 146 | bank-width = <2>; |
149 | partitions = < 0 180000 | ||
150 | 180000 200000 | ||
151 | 380000 3aa0000 | ||
152 | 3e20000 140000 | ||
153 | 3f60000 40000 | ||
154 | 3fa0000 60000>; | ||
155 | partition-names = "Kernel", "ramdisk", "file system", | ||
156 | "kozio", "env", "u-boot"; | ||
157 | reg = <0 000000 4000000>; | 147 | reg = <0 000000 4000000>; |
148 | #address-cells = <1>; | ||
149 | #size-cells = <1>; | ||
150 | partition@0 { | ||
151 | label = "Kernel"; | ||
152 | reg = <0 180000>; | ||
153 | }; | ||
154 | partition@180000 { | ||
155 | label = "ramdisk"; | ||
156 | reg = <180000 200000>; | ||
157 | }; | ||
158 | partition@380000 { | ||
159 | label = "file system"; | ||
160 | reg = <380000 3aa0000>; | ||
161 | }; | ||
162 | partition@3e20000 { | ||
163 | label = "kozio"; | ||
164 | reg = <3e20000 140000>; | ||
165 | }; | ||
166 | partition@3f60000 { | ||
167 | label = "env"; | ||
168 | reg = <3f60000 40000>; | ||
169 | }; | ||
170 | partition@3fa0000 { | ||
171 | label = "u-boot"; | ||
172 | reg = <3fa0000 60000>; | ||
173 | }; | ||
158 | }; | 174 | }; |
159 | 175 | ||
160 | }; | 176 | }; |