Commit bf07f32d authored by Josh Boyer's avatar Josh Boyer Committed by Josh Boyer

[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: default avatarJosh Boyer <jwboyer@linux.vnet.ibm.com>
Acked-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent 8d9ae994
...@@ -137,6 +137,10 @@ EBC0: ebc { ...@@ -137,6 +137,10 @@ EBC0: ebc {
dcr-reg = <012 2>; dcr-reg = <012 2>;
#address-cells = <2>; #address-cells = <2>;
#size-cells = <1>; #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 */ clock-frequency = <0>; /* Filled in by zImage */
sram@0,0 { sram@0,0 {
...@@ -144,13 +148,16 @@ sram@0,0 { ...@@ -144,13 +148,16 @@ sram@0,0 {
}; };
flash@0,80000 { flash@0,80000 {
device_type = "rom"; compatible = "jedec-flash";
compatible = "direct-mapped";
probe-type = "JEDEC";
bank-width = <1>; bank-width = <1>;
partitions = <0 80000>;
partition-names = "OpenBIOS";
reg = <0 80000 80000>; reg = <0 80000 80000>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "OpenBIOS";
reg = <0 80000>;
read-only;
};
}; };
ds1743@1,0 { ds1743@1,0 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment