From 951ebf58bf2a668c385df4ce8f2f3285afa0763c Mon Sep 17 00:00:00 2001 From: Shawn Guo Date: Tue, 23 Jul 2013 15:25:13 +0800 Subject: [PATCH] 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 Acked-by: Liu Ying --- 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 e9cb589eb5a9..9e8ae118fdd4 100644 --- a/arch/arm/boot/dts/imx6dl.dtsi +++ b/arch/arm/boot/dts/imx6dl.dtsi @@ -32,6 +32,12 @@ cpu@1 { }; soc { + ocram: sram@00900000 { + compatible = "mmio-sram"; + reg = <0x00900000 0x20000>; + clocks = <&clks 142>; + }; + aips1: aips-bus@02000000 { iomuxc: iomuxc@020e0000 { compatible = "fsl,imx6dl-iomuxc"; diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi index 76a84e80a1ab..f024ef28b34b 100644 --- a/arch/arm/boot/dts/imx6q.dtsi +++ b/arch/arm/boot/dts/imx6q.dtsi @@ -61,6 +61,12 @@ cpu@3 { }; soc { + ocram: sram@00900000 { + compatible = "mmio-sram"; + reg = <0x00900000 0x40000>; + clocks = <&clks 142>; + }; + aips-bus@02000000 { /* AIPS1 */ spba-bus@02000000 { ecspi5: ecspi@02018000 { diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index bc4ca033758c..ccd55c2fdb67 100644 --- a/arch/arm/boot/dts/imx6qdl.dtsi +++ b/arch/arm/boot/dts/imx6qdl.dtsi @@ -99,12 +99,6 @@ gpmi: gpmi-nand@00112000 { 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>;