mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
arm64: dts: MSM8953: Add mpss nodes
Add nodes for remoteproc, smp2p and smsm to make it possible to use modem functionality on this platform. Signed-off-by: Adam Skladowski <a39.skl@gmail.com> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230407165345.42800-3-a39.skl@gmail.com
This commit is contained in:
parent
b12428640e
commit
2bbada24e8
@ -326,6 +326,31 @@
|
||||
};
|
||||
};
|
||||
|
||||
smp2p-modem {
|
||||
compatible = "qcom,smp2p";
|
||||
qcom,smem = <435>, <428>;
|
||||
|
||||
interrupts = <GIC_SPI 27 IRQ_TYPE_EDGE_RISING>;
|
||||
|
||||
qcom,ipc = <&apcs 8 14>;
|
||||
|
||||
qcom,local-pid = <0>;
|
||||
qcom,remote-pid = <1>;
|
||||
|
||||
smp2p_modem_out: master-kernel {
|
||||
qcom,entry-name = "master-kernel";
|
||||
|
||||
#qcom,smem-state-cells = <1>;
|
||||
};
|
||||
|
||||
smp2p_modem_in: slave-kernel {
|
||||
qcom,entry-name = "slave-kernel";
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
smp2p-wcnss {
|
||||
compatible = "qcom,smp2p";
|
||||
qcom,smem = <451>, <431>;
|
||||
@ -366,6 +391,14 @@
|
||||
#qcom,smem-state-cells = <1>;
|
||||
};
|
||||
|
||||
modem_smsm: modem@1 {
|
||||
reg = <1>;
|
||||
interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
};
|
||||
|
||||
wcnss_smsm: wcnss@6 {
|
||||
reg = <6>;
|
||||
interrupts = <GIC_SPI 144 IRQ_TYPE_EDGE_RISING>;
|
||||
@ -995,6 +1028,60 @@
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
mpss: remoteproc@4080000 {
|
||||
compatible = "qcom,msm8953-mss-pil";
|
||||
reg = <0x04080000 0x100>,
|
||||
<0x04020000 0x040>;
|
||||
reg-names = "qdsp6", "rmb";
|
||||
|
||||
interrupts-extended = <&intc GIC_SPI 24 IRQ_TYPE_EDGE_RISING>,
|
||||
<&smp2p_modem_in 0 IRQ_TYPE_EDGE_RISING>,
|
||||
<&smp2p_modem_in 1 IRQ_TYPE_EDGE_RISING>,
|
||||
<&smp2p_modem_in 2 IRQ_TYPE_EDGE_RISING>,
|
||||
<&smp2p_modem_in 3 IRQ_TYPE_EDGE_RISING>;
|
||||
interrupt-names = "wdog", "fatal", "ready",
|
||||
"handover", "stop-ack";
|
||||
|
||||
power-domains = <&rpmpd MSM8953_VDDCX>,
|
||||
<&rpmpd MSM8953_VDDMX>,
|
||||
<&rpmpd MSM8953_VDDMD>;
|
||||
power-domain-names = "cx", "mx","mss";
|
||||
|
||||
clocks = <&gcc GCC_MSS_CFG_AHB_CLK>,
|
||||
<&gcc GCC_MSS_Q6_BIMC_AXI_CLK>,
|
||||
<&gcc GCC_BOOT_ROM_AHB_CLK>,
|
||||
<&rpmcc RPM_SMD_XO_CLK_SRC>;
|
||||
clock-names = "iface", "bus", "mem", "xo";
|
||||
|
||||
qcom,smem-states = <&smp2p_modem_out 0>;
|
||||
qcom,smem-state-names = "stop";
|
||||
|
||||
resets = <&gcc GCC_MSS_BCR>;
|
||||
reset-names = "mss_restart";
|
||||
|
||||
qcom,halt-regs = <&tcsr 0x18000 0x19000 0x1a000>;
|
||||
|
||||
status = "disabled";
|
||||
|
||||
mba {
|
||||
memory-region = <&mba_mem>;
|
||||
};
|
||||
|
||||
mpss {
|
||||
memory-region = <&mpss_mem>;
|
||||
};
|
||||
|
||||
smd-edge {
|
||||
interrupts = <GIC_SPI 25 IRQ_TYPE_EDGE_RISING>;
|
||||
|
||||
qcom,smd-edge = <0>;
|
||||
qcom,ipc = <&apcs 8 12>;
|
||||
qcom,remote-pid = <1>;
|
||||
|
||||
label = "modem";
|
||||
};
|
||||
};
|
||||
|
||||
usb3: usb@70f8800 {
|
||||
compatible = "qcom,msm8953-dwc3", "qcom,dwc3";
|
||||
reg = <0x070f8800 0x400>;
|
||||
|
Loading…
Reference in New Issue
Block a user