summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/dts/walnut.dts
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@linux.vnet.ibm.com>2007-09-14 20:54:13 +0200
committerJosh Boyer <jwboyer@gmail.com>2007-09-20 04:13:16 +0200
commitbf07f32d4332be50f5d4ef06307fb328257fcd1b (patch)
tree452e73bd67f08da163174bda655ee1a08dfacbd2 /arch/powerpc/boot/dts/walnut.dts
parent[POWERPC] Make partitions optional in physmap_of (diff)
downloadlinux-bf07f32d4332be50f5d4ef06307fb328257fcd1b.tar.xz
linux-bf07f32d4332be50f5d4ef06307fb328257fcd1b.zip
[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 '')
-rw-r--r--arch/powerpc/boot/dts/walnut.dts17
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 @@
dcr-reg = <012 2>;
#address-cells = <2>;
#size-cells = <1>;
+ /* The ranges property is supplied by the bootwrapper
+ * and is based on the firmware's configuration of the
+ * EBC bridge
+ */
clock-frequency = <0>; /* Filled in by zImage */
sram@0,0 {
@@ -144,13 +148,16 @@
};
flash@0,80000 {
- device_type = "rom";
- compatible = "direct-mapped";
- probe-type = "JEDEC";
+ compatible = "jedec-flash";
bank-width = <1>;
- partitions = <0 80000>;
- partition-names = "OpenBIOS";
reg = <0 80000 80000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ partition@0 {
+ label = "OpenBIOS";
+ reg = <0 80000>;
+ read-only;
+ };
};
ds1743@1,0 {