2023-11-27 16:15:42

by Roland Hieber

[permalink] [raw]
Subject: [PATCH] ARM: dts: imx7s: Add on-chip memory

From: Philipp Zabel <[email protected]>

Add the 128 KiB on-chip SRAM at address 0x900000.

Signed-off-by: Philipp Zabel <[email protected]>
Signed-off-by: Roland Hieber <[email protected]>
---
arch/arm/boot/dts/nxp/imx/imx7s.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/nxp/imx/imx7s.dtsi b/arch/arm/boot/dts/nxp/imx/imx7s.dtsi
index 29b8fd03567a..31b14795930b 100644
--- a/arch/arm/boot/dts/nxp/imx/imx7s.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx7s.dtsi
@@ -183,6 +183,15 @@ soc: soc {
interrupt-parent = <&gpc>;
ranges;

+ ocram: sram@900000 {
+ compatible = "mmio-sram";
+ reg = <0x00900000 0x20000>;
+ ranges = <0 0x00900000 0x20000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ clocks = <&clks IMX7D_OCRAM_CLK>;
+ };
+
funnel@30041000 {
compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
reg = <0x30041000 0x1000>;

---
base-commit: 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab
change-id: 20231127-b4-imx7-ocram-7d946fb7f4b5

Best regards,
--
Roland Hieber, Pengutronix e.K. | [email protected] |
Steuerwalder Str. 21 | https://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |


2023-12-06 02:07:07

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: imx7s: Add on-chip memory

On Mon, Nov 27, 2023 at 05:15:01PM +0100, Roland Hieber wrote:
> From: Philipp Zabel <[email protected]>
>
> Add the 128 KiB on-chip SRAM at address 0x900000.
>
> Signed-off-by: Philipp Zabel <[email protected]>
> Signed-off-by: Roland Hieber <[email protected]>

Applied, thanks!