Commit 01104518 authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Bjorn Andersson

arm64: dts: qcom: msm8994: Add support for SMD RPM

Add support for SMD RPM, including pm8994 and pmi8994
regulators.
Signed-off-by: default avatarKonrad Dybcio <konradybcio@gmail.com>
Link: https://lore.kernel.org/r/20200624150107.76234-7-konradybcio@gmail.comSigned-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 95087f61
...@@ -175,9 +175,31 @@ smem_mem: smem_region@6a00000 { ...@@ -175,9 +175,31 @@ smem_mem: smem_region@6a00000 {
}; };
}; };
smd {
compatible = "qcom,smd";
rpm {
interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
qcom,ipc = <&apcs 8 0>;
qcom,smd-edge = <15>;
qcom,local-pid = <0>;
qcom,remote-pid = <6>;
rpm_requests: rpm-requests {
compatible = "qcom,rpm-msm8994";
qcom,smd-channels = "rpm_requests";
rpmcc: rpmcc {
compatible = "qcom,rpmcc-msm8994";
#clock-cells = <1>;
};
};
};
};
smem { smem {
compatible = "qcom,smem"; compatible = "qcom,smem";
memory-region = <&smem_mem>; memory-region = <&smem_mem>;
qcom,rpm-msg-ram = <&rpm_msg_ram>;
hwlocks = <&tcsr_mutex 3>; hwlocks = <&tcsr_mutex 3>;
}; };
...@@ -196,6 +218,12 @@ intc: interrupt-controller@f9000000 { ...@@ -196,6 +218,12 @@ intc: interrupt-controller@f9000000 {
<0xf9002000 0x1000>; <0xf9002000 0x1000>;
}; };
apcs: mailbox@f900d000 {
compatible = "qcom,msm8994-apcs-kpss-global", "syscon";
reg = <0xf900d000 0x2000>;
#mbox-cells = <1>;
};
timer@f9020000 { timer@f9020000 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
...@@ -449,6 +477,11 @@ gcc: clock-controller@fc400000 { ...@@ -449,6 +477,11 @@ gcc: clock-controller@fc400000 {
reg = <0xfc400000 0x2000>; reg = <0xfc400000 0x2000>;
}; };
rpm_msg_ram: memory@fc428000 {
compatible = "qcom,rpm-msg-ram";
reg = <0xfc428000 0x4000>;
};
restart@fc4ab000 { restart@fc4ab000 {
compatible = "qcom,pshold"; compatible = "qcom,pshold";
reg = <0xfc4ab000 0x4>; reg = <0xfc4ab000 0x4>;
...@@ -666,5 +699,15 @@ timer { ...@@ -666,5 +699,15 @@ timer {
<GIC_PPI 4 0xff08>, <GIC_PPI 4 0xff08>,
<GIC_PPI 1 0xff08>; <GIC_PPI 1 0xff08>;
}; };
vreg_vph_pwr: vreg-vph-pwr {
compatible = "regulator-fixed";
regulator-name = "vph-pwr";
regulator-min-microvolt = <3600000>;
regulator-max-microvolt = <3600000>;
regulator-always-on;
};
}; };
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