aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/dts/ebony.dts
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2007-09-06 23:23:53 -0400
committerPaul Mackerras <paulus@samba.org>2007-09-13 11:33:25 -0400
commit2099172d61abda1b793b499bb8edcaac4de2cdae (patch)
tree4b3bff327ad8e61fe5f71f9d399269c8db41220c /arch/powerpc/boot/dts/ebony.dts
parent3c607ce2a3213f33b8b6b854b5f7db876021e466 (diff)
[POWERPC] Document and implement an improved flash device binding for powerpc
This replaces the binding for flash chips in booting-without-of.txt with an clarified and improved version. It also makes drivers/mtd/maps/physmap_of.c recognize this new binding. Finally it revises the Ebony device tree source to use the new binding as an example. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Acked-by: Segher Boessenkool <segher@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/boot/dts/ebony.dts')
-rw-r--r--arch/powerpc/boot/dts/ebony.dts30
1 files changed, 19 insertions, 11 deletions
diff --git a/arch/powerpc/boot/dts/ebony.dts b/arch/powerpc/boot/dts/ebony.dts
index 37599bda5500..bc259972aaa0 100644
--- a/arch/powerpc/boot/dts/ebony.dts
+++ b/arch/powerpc/boot/dts/ebony.dts
@@ -138,13 +138,16 @@
138 interrupt-parent = <&UIC1>; 138 interrupt-parent = <&UIC1>;
139 139
140 small-flash@0,80000 { 140 small-flash@0,80000 {
141 device_type = "rom"; 141 compatible = "jedec-flash";
142 compatible = "direct-mapped";
143 probe-type = "JEDEC";
144 bank-width = <1>; 142 bank-width = <1>;
145 partitions = <0 80000>;
146 partition-names = "OpenBIOS";
147 reg = <0 80000 80000>; 143 reg = <0 80000 80000>;
144 #address-cells = <1>;
145 #size-cells = <1>;
146 partition@0 {
147 label = "OpenBIOS";
148 reg = <0 80000>;
149 read-only;
150 };
148 }; 151 };
149 152
150 ds1743@1,0 { 153 ds1743@1,0 {
@@ -154,14 +157,19 @@
154 }; 157 };
155 158
156 large-flash@2,0 { 159 large-flash@2,0 {
157 device_type = "rom"; 160 compatible = "jedec-flash";
158 compatible = "direct-mapped";
159 probe-type = "JEDEC";
160 bank-width = <1>; 161 bank-width = <1>;
161 partitions = <0 380000
162 380000 80000>;
163 partition-names = "fs", "firmware";
164 reg = <2 0 400000>; 162 reg = <2 0 400000>;
163 #address-cells = <1>;
164 #size-cells = <1>;
165 partition@0 {
166 label = "fs";
167 reg = <0 380000>;
168 };
169 partition@380000 {
170 label = "firmware";
171 reg = <380000 80000>;
172 };
165 }; 173 };
166 174
167 ir@3,0 { 175 ir@3,0 {