From 831ade7a3fbf596bc83d4183771d4ef3bb1b2cad Mon Sep 17 00:00:00 2001 From: Pratyush Brahma Date: Wed, 29 Jun 2022 19:06:40 +0530 Subject: [PATCH] ARM: dts: msm: add memory-offline node for anorak Add memory offline node on anorak. This is used to operate hotplugging on the memory. Change-Id: I3d06c023ebd349d4053df740d0a552cb6880e4ef --- qcom/anorak.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/qcom/anorak.dtsi b/qcom/anorak.dtsi index 47cf6e74..954ad73a 100644 --- a/qcom/anorak.dtsi +++ b/qcom/anorak.dtsi @@ -29,6 +29,15 @@ reserved_memory: reserved-memory { }; + mem-offline { + compatible = "qcom,mem-offline"; + offline-sizes = <0x1 0x40000000 0x0 0x40000000>, + <0x1 0xc0000000 0x0 0x80000000>, + <0x2 0xc0000000 0x1 0x40000000>; + granule = <512>; + mboxes = <&qmp_aop 0>; + }; + aliases { ufshc1 = &ufshc_mem; /* Embedded UFS Slot */ serial0 = &qupv3_se6_2uart;