[PATCH v1 10/14] arm64: dts: qcom: nord-ride: reserve and describe SMEM region
Aswin Murugan via U-Boot <[email protected]>
| Newsgroups | gmane.comp.boot-loaders.u-boot.general,gmane.comp.boot-loaders.u-boot |
|---|---|
| Message-ID | <[email protected]> |
nord.dtsi's reserved-memory has no SMEM carveout, and nord has no qcom,smem node (the kernel doesn't need one here). U-Boot's SMEM driver needs both to locate the region, so add them mirroring EDK2's own SMEM reservation. Signed-off-by: Aswin Murugan <[email protected]> --- arch/arm/dts/nord-ride-u-boot.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/dts/nord-ride-u-boot.dtsi b/arch/arm/dts/nord-ride-u-boot.dtsi index 259da42afad..0dbf5d82321 100644 --- a/arch/arm/dts/nord-ride-u-boot.dtsi +++ b/arch/arm/dts/nord-ride-u-boot.dtsi @@ -29,6 +29,18 @@ status = "okay"; }; + + smem { + compatible = "qcom,smem"; + memory-region = <&smem_region>; + }; +}; + +&reserved_memory { + smem_region: smem-region@89b00000 { + reg = <0x0 0x89b00000 0x0 0x400000>; + no-map; + }; }; &ufs_mem_hc { -- 2.34.1