Skip to content

Commit 0110451

Browse files
konradybcioandersson
authored andcommitted
arm64: dts: qcom: msm8994: Add support for SMD RPM
Add support for SMD RPM, including pm8994 and pmi8994 regulators. Signed-off-by: Konrad Dybcio <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 95087f6 commit 0110451

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

arch/arm64/boot/dts/qcom/msm8994.dtsi

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,31 @@
175175
};
176176
};
177177

178+
smd {
179+
compatible = "qcom,smd";
180+
rpm {
181+
interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
182+
qcom,ipc = <&apcs 8 0>;
183+
qcom,smd-edge = <15>;
184+
qcom,local-pid = <0>;
185+
qcom,remote-pid = <6>;
186+
187+
rpm_requests: rpm-requests {
188+
compatible = "qcom,rpm-msm8994";
189+
qcom,smd-channels = "rpm_requests";
190+
191+
rpmcc: rpmcc {
192+
compatible = "qcom,rpmcc-msm8994";
193+
#clock-cells = <1>;
194+
};
195+
};
196+
};
197+
};
198+
178199
smem {
179200
compatible = "qcom,smem";
180201
memory-region = <&smem_mem>;
202+
qcom,rpm-msg-ram = <&rpm_msg_ram>;
181203
hwlocks = <&tcsr_mutex 3>;
182204
};
183205

@@ -196,6 +218,12 @@
196218
<0xf9002000 0x1000>;
197219
};
198220

221+
apcs: mailbox@f900d000 {
222+
compatible = "qcom,msm8994-apcs-kpss-global", "syscon";
223+
reg = <0xf900d000 0x2000>;
224+
#mbox-cells = <1>;
225+
};
226+
199227
timer@f9020000 {
200228
#address-cells = <1>;
201229
#size-cells = <1>;
@@ -449,6 +477,11 @@
449477
reg = <0xfc400000 0x2000>;
450478
};
451479

480+
rpm_msg_ram: memory@fc428000 {
481+
compatible = "qcom,rpm-msg-ram";
482+
reg = <0xfc428000 0x4000>;
483+
};
484+
452485
restart@fc4ab000 {
453486
compatible = "qcom,pshold";
454487
reg = <0xfc4ab000 0x4>;
@@ -666,5 +699,15 @@
666699
<GIC_PPI 4 0xff08>,
667700
<GIC_PPI 1 0xff08>;
668701
};
702+
703+
vreg_vph_pwr: vreg-vph-pwr {
704+
compatible = "regulator-fixed";
705+
regulator-name = "vph-pwr";
706+
707+
regulator-min-microvolt = <3600000>;
708+
regulator-max-microvolt = <3600000>;
709+
710+
regulator-always-on;
711+
};
669712
};
670713

0 commit comments

Comments
 (0)