Skip to contentSkip to conversation

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

PATCH New Shawn Guo 2 participants 2 messages Jul 23, 2013

Subsystems (2)
lore
Share & tools
lore

Shawn Guo

author
#0 lore raw

PATCH 1/1 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.

---
 arch/arm/boot/dts/imx6dl.dtsi  |    6 ++++++
 arch/arm/boot/dts/imx6q.dtsi   |    6 ++++++
 arch/arm/boot/dts/imx6qdl.dtsi |    6 ------
 3 files changed, 12 insertions(+), 6 deletions(-)
arch/arm/boot/dts/imx6dl.dtsi +6 -0
index e9cb589..9e8ae11 100644
@@ -32,6 +32,12 @@
 	};
 
 	soc {
+		ocram: sram at 00900000 {
+			compatible = "mmio-sram";
+			reg = <0x00900000 0x20000>;
+			clocks = <&clks 142>;
+		};
+
 		aips1: aips-bus at 02000000 {
 			iomuxc: iomuxc at 020e0000 {
 				compatible = "fsl,imx6dl-iomuxc";
arch/arm/boot/dts/imx6q.dtsi +6 -0
index 76a84e8..f024ef2 100644
@@ -61,6 +61,12 @@
 	};
 
 	soc {
+		ocram: sram at 00900000 {
+			compatible = "mmio-sram";
+			reg = <0x00900000 0x40000>;
+			clocks = <&clks 142>;
+		};
+
 		aips-bus at 02000000 { /* AIPS1 */
 			spba-bus at 02000000 {
 				ecspi5: ecspi at 02018000 {
arch/arm/boot/dts/imx6qdl.dtsi +0 -6
index bc4ca03..ccd55c2 100644
@@ -99,12 +99,6 @@
 			status = "disabled";
 		};
 
-		ocram: sram at 00900000 {
-			compatible = "mmio-sram";
-			reg = <0x00900000 0x3f000>;
-			clocks = <&clks 142>;
-		};
-
 		timer at 00a00600 {
 			compatible = "arm,cortex-a9-twd-timer";
 			reg = <0x00a00600 0x20>;
Signature · 1 line
1.7.9.5
#1 lore raw

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

Quoted 5 lines · Shawn Guo

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.

Quoted 58 lines
---
 arch/arm/boot/dts/imx6dl.dtsi  |    6 ++++++
 arch/arm/boot/dts/imx6q.dtsi   |    6 ++++++
 arch/arm/boot/dts/imx6qdl.dtsi |    6 ------
 3 files changed, 12 insertions(+), 6 deletions(-)
arch/arm/boot/dts/imx6dl.dtsi +6 -0
index e9cb589..9e8ae11 100644
@@ -32,6 +32,12 @@
 	};
 
 	soc {
+		ocram: sram at 00900000 {
+			compatible = "mmio-sram";
+			reg = <0x00900000 0x20000>;
+			clocks = <&clks 142>;
+		};
+
 		aips1: aips-bus at 02000000 {
 			iomuxc: iomuxc at 020e0000 {
 				compatible = "fsl,imx6dl-iomuxc";
arch/arm/boot/dts/imx6q.dtsi +6 -0
index 76a84e8..f024ef2 100644
@@ -61,6 +61,12 @@
 	};
 
 	soc {
+		ocram: sram at 00900000 {
+			compatible = "mmio-sram";
+			reg = <0x00900000 0x40000>;
+			clocks = <&clks 142>;
+		};
+
 		aips-bus at 02000000 { /* AIPS1 */
 			spba-bus at 02000000 {
 				ecspi5: ecspi at 02018000 {
arch/arm/boot/dts/imx6qdl.dtsi +0 -6
index bc4ca03..ccd55c2 100644
@@ -99,12 +99,6 @@
 			status = "disabled";
 		};
 
-		ocram: sram at 00900000 {
-			compatible = "mmio-sram";
-			reg = <0x00900000 0x3f000>;
-			clocks = <&clks 142>;
-		};
-
 		timer at 00a00600 {
 			compatible = "arm,cortex-a9-twd-timer";
 			reg = <0x00a00600 0x20>;