From 72a3333f1e82c34c53cf85a6bf4892ece47fa4ba Mon Sep 17 00:00:00 2001 From: Murali Nalajala Date: Thu, 11 Jun 2020 19:48:37 -0700 Subject: [PATCH] ARM: dts: qcom: fix memory node address and enable scm driver Fix memory node address to 0x28800000 from 0x28000000. This address has to be proper for hypervisor to indetify the memory node for overlay. Additionally enable SCM driver. Change-Id: I30f2c67bb730aea3757beacb15cf9b266c48ba49 --- qcom/trustedvm.dtsi | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/qcom/trustedvm.dtsi b/qcom/trustedvm.dtsi index 327352272abc..736206b9a3c5 100644 --- a/qcom/trustedvm.dtsi +++ b/qcom/trustedvm.dtsi @@ -5,7 +5,7 @@ #size-cells = <0x2>; interrupt-parent = <&vgic>; - memory@28000000 { + memory@28800000 { device_type = "memory"; reg = <0x0 0x28800000 0x0 0x76f7000>; /* Temp S2 mapping */ }; @@ -168,7 +168,7 @@ #address-cells = <0x2>; #size-cells = <0x0>; base-address = <0x0 0xD0800000>; - size-min = <0x0 0x7800000>; /* 120 MB */ + size-min = <0x0 0x76f7000>; /* 118 MB */ }; segments { @@ -221,6 +221,12 @@ }; }; + firmware: firmware { + scm { + compatible = "qcom,scm"; + }; + }; + soc: soc { }; };