arm64: dts: allwinner: sun50i-h616: Add SRAM nodes

The H616 SoC has a video engine, and two SRAM regions needed by it.

Add the SRAM regions to the dtsi file. The video engine will be added
in a separate change.

Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
[wens@kernel.org: Add VE SRAM region, commit message, and split into two]
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://patch.msgid.link/20260324164357.1607247-8-wens@kernel.org
Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
This commit is contained in:
Jernej Skrabec 2026-03-25 00:43:55 +08:00 committed by Chen-Yu Tsai
parent 254f49634e
commit 402e845f9d

View File

@ -182,12 +182,38 @@ syscon: syscon@3000000 {
#size-cells = <1>;
ranges;
sram_c: sram@28000 {
/* SRAM C */
sram@28000 {
compatible = "mmio-sram";
reg = <0x00028000 0x30000>;
#address-cells = <1>;
#size-cells = <1>;
ranges = <0 0x00028000 0x30000>;
/*
* 0x0 ~ 0x20000 is partial alias of VE SRAM below.
* 0x20000 ~ 0x2ffff is (partial?) alias of DE SRAM.
* However the whole region is toggled together.
*/
sram_c: sram-section@0 {
compatible = "allwinner,sun50i-h616-sram-c",
"allwinner,sun50i-a64-sram-c";
reg = <0x00000 0x30000>;
};
};
/* VE SRAM */
sram@1a00000 {
compatible = "mmio-sram";
reg = <0x01a00000 0x200000>;
#address-cells = <1>;
#size-cells = <1>;
ranges = <0 0x01a00000 0x200000>;
ve_sram: sram-section@0 {
compatible = "allwinner,sun50i-h616-ve-sram";
reg = <0x000000 0x200000>;
};
};
};