Add a node for the IMEM found on Milos, which contains pil-reloc-info
and the modem tables for IPA, among others.

Signed-off-by: Luca Weiss <[email protected]>
---
Not happy about the names of the subnodes. pil-reloc-sram is not allowed
it seems. Glymur calls it "pil-sram@94c", not sure this is wanted?

Please advice.
---
 arch/arm64/boot/dts/qcom/milos.dtsi | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/milos.dtsi 
b/arch/arm64/boot/dts/qcom/milos.dtsi
index 4a64a98a434b..0c69d5810f5e 100644
--- a/arch/arm64/boot/dts/qcom/milos.dtsi
+++ b/arch/arm64/boot/dts/qcom/milos.dtsi
@@ -2289,6 +2289,26 @@ scl-pins {
                        };
                };
 
+               sram@14680000 {
+                       compatible = "qcom,milos-imem", "mmio-sram";
+                       reg = <0x0 0x14680000 0x0 0x2c000>;
+                       ranges = <0 0 0x14680000 0x2c000>;
+
+                       no-memory-wc;
+
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       pilreloc-sram@94c {
+                               compatible = "qcom,pil-reloc-info";
+                               reg = <0x94c 0xc8>;
+                       };
+
+                       ipa_modem_tables: modemtables-sram@3000 {
+                               reg = <0x3000 0x2000>;
+                       };
+               };
+
                apps_smmu: iommu@15000000 {
                        compatible = "qcom,milos-smmu-500", "qcom,smmu-500", 
"arm,mmu-500";
                        reg = <0x0 0x15000000 0x0 0x100000>;

-- 
2.53.0


Reply via email to