浏览代码

powerpc/83xx: mpc8349emitx - add OF descriptions of LocalBus devices

Describe all LocalBus chipselects on MPC8349E-MITX board. Also add flash
bindings.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Dmitry Eremin-Solenikov 15 年之前
父节点
当前提交
1d88fd11a2
共有 1 个文件被更改,包括 20 次插入1 次删除
  1. 20 1
      arch/powerpc/boot/dts/mpc8349emitx.dts

+ 20 - 1
arch/powerpc/boot/dts/mpc8349emitx.dts

@@ -374,7 +374,26 @@
 		compatible = "fsl,mpc8349e-localbus",
 		compatible = "fsl,mpc8349e-localbus",
 			     "fsl,pq2pro-localbus";
 			     "fsl,pq2pro-localbus";
 		reg = <0xe0005000 0xd8>;
 		reg = <0xe0005000 0xd8>;
-		ranges = <0x3 0x0 0xf0000000 0x210>;
+		ranges = <0x0 0x0 0xfe000000 0x1000000	/* flash */
+			  0x1 0x0 0xf8000000 0x20000	/* VSC 7385 */
+			  0x2 0x0 0xf9000000 0x200000	/* exp slot */
+			  0x3 0x0 0xf0000000 0x210>;	/* CF slot */
+
+		flash@0,0 {
+			compatible = "cfi-flash";
+			reg = <0x0      0x0 0x800000>;
+			bank-width = <2>;
+			device-width = <1>;
+		};
+
+		flash@0,800000 {
+			#address-cells = <1>;
+			#size-cells = <1>;
+			compatible = "cfi-flash";
+			reg = <0x0 0x800000 0x800000>;
+			bank-width = <2>;
+			device-width = <1>;
+		};
 
 
 		pata@3,0 {
 		pata@3,0 {
 			compatible = "fsl,mpc8349emitx-pata", "ata-generic";
 			compatible = "fsl,mpc8349emitx-pata", "ata-generic";