Commit c7833949 authored by Bjorn Andersson's avatar Bjorn Andersson Committed by Andy Gross

arm64: dts: qcom: msm8998: Add smem related nodes

Add reserve-memory nodes, tcsr-mutex nodes and the smem node.
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: default avatarAndy Gross <andy.gross@linaro.org>
parent b1227233
...@@ -20,6 +20,38 @@ memory { ...@@ -20,6 +20,38 @@ memory {
reg = <0 0 0 0>; reg = <0 0 0 0>;
}; };
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
memory@85800000 {
reg = <0x0 0x85800000 0x0 0x800000>;
no-map;
};
smem_mem: smem-mem@86000000 {
reg = <0x0 0x86000000 0x0 0x200000>;
no-map;
};
memory@86200000 {
reg = <0x0 0x86200000 0x0 0x2600000>;
no-map;
};
rmtfs {
compatible = "qcom,rmtfs-mem";
size = <0x0 0x200000>;
alloc-ranges = <0x0 0xa0000000 0x0 0x2000000>;
no-map;
qcom,client-id = <1>;
qcom,vmid = <15>;
};
};
clocks { clocks {
xo_board { xo_board {
compatible = "fixed-clock"; compatible = "fixed-clock";
...@@ -205,6 +237,12 @@ core3 { ...@@ -205,6 +237,12 @@ core3 {
}; };
}; };
tcsr_mutex: hwlock {
compatible = "qcom,tcsr-mutex";
syscon = <&tcsr_mutex_regs 0 0x1000>;
#hwlock-cells = <1>;
};
psci { psci {
compatible = "arm,psci-1.0"; compatible = "arm,psci-1.0";
method = "smc"; method = "smc";
...@@ -223,6 +261,12 @@ rpm_requests: rpm-requests { ...@@ -223,6 +261,12 @@ rpm_requests: rpm-requests {
}; };
}; };
smem {
compatible = "qcom,smem";
memory-region = <&smem_mem>;
hwlocks = <&tcsr_mutex 3>;
};
thermal-zones { thermal-zones {
cpu-thermal0 { cpu-thermal0 {
polling-delay-passive = <250>; polling-delay-passive = <250>;
...@@ -472,6 +516,11 @@ tsens1: thermal@10ad000 { ...@@ -472,6 +516,11 @@ tsens1: thermal@10ad000 {
#thermal-sensor-cells = <1>; #thermal-sensor-cells = <1>;
}; };
tcsr_mutex_regs: syscon@1f40000 {
compatible = "syscon";
reg = <0x1f40000 0x20000>;
};
apcs_glb: mailbox@9820000 { apcs_glb: mailbox@9820000 {
compatible = "qcom,msm8998-apcs-hmss-global"; compatible = "qcom,msm8998-apcs-hmss-global";
reg = <0x17911000 0x1000>; reg = <0x17911000 0x1000>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment