diff options
author | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2007-09-14 14:54:13 -0400 |
---|---|---|
committer | Josh Boyer <jwboyer@gmail.com> | 2007-09-19 22:13:16 -0400 |
commit | bf07f32d4332be50f5d4ef06307fb328257fcd1b (patch) | |
tree | 452e73bd67f08da163174bda655ee1a08dfacbd2 /arch/powerpc/boot | |
parent | 8d9ae994d8fce807fc90fb8e3b6ac8df1cc7dce6 (diff) |
[POWERPC] 4xx: Convert Walnut flash mappings to new binding
A new binding for flash devices was recently introduced. This updates the
Walnut DTS to use the new binding.
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'arch/powerpc/boot')
-rw-r--r-- | arch/powerpc/boot/dts/walnut.dts | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/arch/powerpc/boot/dts/walnut.dts b/arch/powerpc/boot/dts/walnut.dts index 27bef06db134..ec54f4e04ad6 100644 --- a/arch/powerpc/boot/dts/walnut.dts +++ b/arch/powerpc/boot/dts/walnut.dts | |||
@@ -137,6 +137,10 @@ | |||
137 | dcr-reg = <012 2>; | 137 | dcr-reg = <012 2>; |
138 | #address-cells = <2>; | 138 | #address-cells = <2>; |
139 | #size-cells = <1>; | 139 | #size-cells = <1>; |
140 | /* The ranges property is supplied by the bootwrapper | ||
141 | * and is based on the firmware's configuration of the | ||
142 | * EBC bridge | ||
143 | */ | ||
140 | clock-frequency = <0>; /* Filled in by zImage */ | 144 | clock-frequency = <0>; /* Filled in by zImage */ |
141 | 145 | ||
142 | sram@0,0 { | 146 | sram@0,0 { |
@@ -144,13 +148,16 @@ | |||
144 | }; | 148 | }; |
145 | 149 | ||
146 | flash@0,80000 { | 150 | flash@0,80000 { |
147 | device_type = "rom"; | 151 | compatible = "jedec-flash"; |
148 | compatible = "direct-mapped"; | ||
149 | probe-type = "JEDEC"; | ||
150 | bank-width = <1>; | 152 | bank-width = <1>; |
151 | partitions = <0 80000>; | ||
152 | partition-names = "OpenBIOS"; | ||
153 | reg = <0 80000 80000>; | 153 | reg = <0 80000 80000>; |
154 | #address-cells = <1>; | ||
155 | #size-cells = <1>; | ||
156 | partition@0 { | ||
157 | label = "OpenBIOS"; | ||
158 | reg = <0 80000>; | ||
159 | read-only; | ||
160 | }; | ||
154 | }; | 161 | }; |
155 | 162 | ||
156 | ds1743@1,0 { | 163 | ds1743@1,0 { |