aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRanjani Vaidyanathan <Ranjani.Vaidyanathan@freescale.com>2014-06-09 12:40:14 -0400
committerRanjani Vaidyanathan <Ranjani.Vaidyanathan@freescale.com>2014-06-12 12:11:18 -0400
commitddb4a28bd9b7b53d6e21d0b9d97081ae656c4354 (patch)
tree98b67739ecb279eb6b37f6999368a899fe3cf1cc
parentaeef94f69230196db01b4f600cbd56f721f100a5 (diff)
ENGR00317542-2 ARM:dts:imx6x: Allocate 4K of IRAM for DDR freq change code.
Allocate 4K of IRAM space for DDR freq change code in the dts files. Also reduce the regular IRAM available for other functions by this amount. Signed-off-by: Ranjani Vaidyanathan <Ranjani.Vaidyanathan@freescale.com>
-rw-r--r--arch/arm/boot/dts/imx6dl.dtsi10
-rw-r--r--arch/arm/boot/dts/imx6q.dtsi10
-rw-r--r--arch/arm/boot/dts/imx6sl.dtsi11
-rw-r--r--arch/arm/boot/dts/imx6sx.dtsi10
4 files changed, 33 insertions, 8 deletions
diff --git a/arch/arm/boot/dts/imx6dl.dtsi b/arch/arm/boot/dts/imx6dl.dtsi
index 746cbb973c45..e2bedf6d8917 100644
--- a/arch/arm/boot/dts/imx6dl.dtsi
+++ b/arch/arm/boot/dts/imx6dl.dtsi
@@ -89,9 +89,15 @@
89 clocks = <&clks 142>; 89 clocks = <&clks 142>;
90 }; 90 };
91 91
92 ocram: sram@00904000 { 92 ocrams_ddr: sram@00904000 {
93 compatible = "fsl,ddr-lpm-sram";
94 reg = <0x00904000 0x1000>;
95 clocks = <&clks 142>;
96 };
97
98 ocram: sram@00905000 {
93 compatible = "mmio-sram"; 99 compatible = "mmio-sram";
94 reg = <0x00904000 0x1C000>; 100 reg = <0x00905000 0x1B000>;
95 clocks = <&clks 142>; 101 clocks = <&clks 142>;
96 }; 102 };
97 103
diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi
index 39f78e60d1d8..58cd377f9a8d 100644
--- a/arch/arm/boot/dts/imx6q.dtsi
+++ b/arch/arm/boot/dts/imx6q.dtsi
@@ -111,9 +111,15 @@
111 clocks = <&clks 142>; 111 clocks = <&clks 142>;
112 }; 112 };
113 113
114 ocram: sram@00904000 { 114 ocrams_ddr: sram@00904000 {
115 compatible = "fsl,ddr-lpm-sram";
116 reg = <0x00904000 0x1000>;
117 clocks = <&clks 142>;
118 };
119
120 ocram: sram@00905000 {
115 compatible = "mmio-sram"; 121 compatible = "mmio-sram";
116 reg = <0x00904000 0x3C000>; 122 reg = <0x00905000 0x3B000>;
117 clocks = <&clks 142>; 123 clocks = <&clks 142>;
118 }; 124 };
119 125
diff --git a/arch/arm/boot/dts/imx6sl.dtsi b/arch/arm/boot/dts/imx6sl.dtsi
index d5ce608cc363..412fd188c088 100644
--- a/arch/arm/boot/dts/imx6sl.dtsi
+++ b/arch/arm/boot/dts/imx6sl.dtsi
@@ -615,9 +615,16 @@
615 clocks = <&clks IMX6SL_CLK_OCRAM>; 615 clocks = <&clks IMX6SL_CLK_OCRAM>;
616 }; 616 };
617 617
618 ocram: sram@00904000 { 618 ocrams_ddr: sram@00904000 {
619 compatible = "fsl,ddr-lpm-sram";
620 reg = <0x00904000 0x1000>;
621 clocks = <&clks 142>;
622 };
623
624
625 ocram: sram@00905000 {
619 compatible = "mmio-sram"; 626 compatible = "mmio-sram";
620 reg = <0x00904000 0x1C000>; 627 reg = <0x00905000 0x1B000>;
621 clocks = <&clks IMX6SL_CLK_OCRAM>; 628 clocks = <&clks IMX6SL_CLK_OCRAM>;
622 }; 629 };
623 630
diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi
index 1ddbbc98f4eb..1b19474027cd 100644
--- a/arch/arm/boot/dts/imx6sx.dtsi
+++ b/arch/arm/boot/dts/imx6sx.dtsi
@@ -136,9 +136,15 @@
136 clocks = <&clks IMX6SX_CLK_OCRAM_S>; 136 clocks = <&clks IMX6SX_CLK_OCRAM_S>;
137 }; 137 };
138 138
139 ocram: sram@00900000 { 139 ocrams_ddr: sram@00900000 {
140 compatible = "fsl,ddr-lpm-sram";
141 reg = <0x00900000 0x1000>;
142 clocks = <&clks IMX6SX_CLK_OCRAM>;
143 };
144
145 ocram: sram@00901000 {
140 compatible = "mmio-sram"; 146 compatible = "mmio-sram";
141 reg = <0x00900000 0x20000>; 147 reg = <0x00901000 0x1F000>;
142 clocks = <&clks IMX6SX_CLK_OCRAM>; 148 clocks = <&clks IMX6SX_CLK_OCRAM>;
143 }; 149 };
144 150