浏览代码

ARM: dts: imx: ocram size is different between imx6q and imx6dl

The ocram on imx6q is 256 KiB while on imx6dl it's 128 KiB.  Let's
have separate node for imx6q and imx6dl.  It also changes imx6q size
0x3f000 to 0x40000 to match the hardware.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Liu Ying <Ying.Liu@freescale.com>
Shawn Guo 12 年之前
父节点
当前提交
951ebf58bf
共有 3 个文件被更改,包括 12 次插入6 次删除
  1. 6 0
      arch/arm/boot/dts/imx6dl.dtsi
  2. 6 0
      arch/arm/boot/dts/imx6q.dtsi
  3. 0 6
      arch/arm/boot/dts/imx6qdl.dtsi

+ 6 - 0
arch/arm/boot/dts/imx6dl.dtsi

@@ -32,6 +32,12 @@
 	};
 
 	soc {
+		ocram: sram@00900000 {
+			compatible = "mmio-sram";
+			reg = <0x00900000 0x20000>;
+			clocks = <&clks 142>;
+		};
+
 		aips1: aips-bus@02000000 {
 			iomuxc: iomuxc@020e0000 {
 				compatible = "fsl,imx6dl-iomuxc";

+ 6 - 0
arch/arm/boot/dts/imx6q.dtsi

@@ -61,6 +61,12 @@
 	};
 
 	soc {
+		ocram: sram@00900000 {
+			compatible = "mmio-sram";
+			reg = <0x00900000 0x40000>;
+			clocks = <&clks 142>;
+		};
+
 		aips-bus@02000000 { /* AIPS1 */
 			spba-bus@02000000 {
 				ecspi5: ecspi@02018000 {

+ 0 - 6
arch/arm/boot/dts/imx6qdl.dtsi

@@ -99,12 +99,6 @@
 			status = "disabled";
 		};
 
-		ocram: sram@00900000 {
-			compatible = "mmio-sram";
-			reg = <0x00900000 0x3f000>;
-			clocks = <&clks 142>;
-		};
-
 		timer@00a00600 {
 			compatible = "arm,cortex-a9-twd-timer";
 			reg = <0x00a00600 0x20>;