]> err.no Git - linux-2.6/commitdiff
[POWERPC] 4xx: Convert Walnut flash mappings to new binding
authorJosh Boyer <jwboyer@linux.vnet.ibm.com>
Fri, 14 Sep 2007 18:54:13 +0000 (04:54 +1000)
committerJosh Boyer <jwboyer@gmail.com>
Thu, 20 Sep 2007 02:13:16 +0000 (21:13 -0500)
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>
arch/powerpc/boot/dts/walnut.dts

index 27bef06db134c28ecb08e0d85809aeb9bf59c97d..ec54f4e04ad6da2321e4b864f3c2e7d3a9356de9 100644 (file)
                        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 {
                        };
 
                        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 {