* [PATCH] ARM: dts: imx: ocram size is different between imx6q and imx6dl
@ 2013-07-23 7:38 Shawn Guo
2013-07-23 8:04 ` Liu Ying
0 siblings, 1 reply; 2+ messages in thread
From: Shawn Guo @ 2013-07-23 7:38 UTC (permalink / raw)
To: linux-arm-kernel
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>
---
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(-)
diff --git a/arch/arm/boot/dts/imx6dl.dtsi b/arch/arm/boot/dts/imx6dl.dtsi
index e9cb589..9e8ae11 100644
--- a/arch/arm/boot/dts/imx6dl.dtsi
+++ b/arch/arm/boot/dts/imx6dl.dtsi
@@ -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";
diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi
index 76a84e8..f024ef2 100644
--- a/arch/arm/boot/dts/imx6q.dtsi
+++ b/arch/arm/boot/dts/imx6q.dtsi
@@ -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 {
diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi
index bc4ca03..ccd55c2 100644
--- a/arch/arm/boot/dts/imx6qdl.dtsi
+++ b/arch/arm/boot/dts/imx6qdl.dtsi
@@ -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>;
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread* [PATCH] ARM: dts: imx: ocram size is different between imx6q and imx6dl
2013-07-23 7:38 [PATCH] ARM: dts: imx: ocram size is different between imx6q and imx6dl Shawn Guo
@ 2013-07-23 8:04 ` Liu Ying
0 siblings, 0 replies; 2+ messages in thread
From: Liu Ying @ 2013-07-23 8:04 UTC (permalink / raw)
To: linux-arm-kernel
On 07/23/2013 03:38 PM, Shawn Guo wrote:
> 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>
> ---
> 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(-)
>
> diff --git a/arch/arm/boot/dts/imx6dl.dtsi b/arch/arm/boot/dts/imx6dl.dtsi
> index e9cb589..9e8ae11 100644
> --- a/arch/arm/boot/dts/imx6dl.dtsi
> +++ b/arch/arm/boot/dts/imx6dl.dtsi
> @@ -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";
> diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi
> index 76a84e8..f024ef2 100644
> --- a/arch/arm/boot/dts/imx6q.dtsi
> +++ b/arch/arm/boot/dts/imx6q.dtsi
> @@ -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 {
> diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi
> index bc4ca03..ccd55c2 100644
> --- a/arch/arm/boot/dts/imx6qdl.dtsi
> +++ b/arch/arm/boot/dts/imx6qdl.dtsi
> @@ -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>;
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-23 8:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-23 7:38 [PATCH] ARM: dts: imx: ocram size is different between imx6q and imx6dl Shawn Guo
2013-07-23 8:04 ` Liu Ying
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).