diff options
Diffstat (limited to 'qcom/sm8150.dtsi')
-rwxr-xr-x | qcom/sm8150.dtsi | 118 |
1 files changed, 116 insertions, 2 deletions
diff --git a/qcom/sm8150.dtsi b/qcom/sm8150.dtsi index 149b1198..fac2d671 100755 --- a/qcom/sm8150.dtsi +++ b/qcom/sm8150.dtsi @@ -414,7 +414,7 @@ reg = <0x0 0x8be00000 0x0 0x1a00000>; }; - pil_modem_mem: modem_region { + rproc_modem_mem: rproc_modem_region { no-map; reg = <0x0 0x8d800000 0x0 0x4c1c000>; }; @@ -483,6 +483,14 @@ size = <0x0 0x1000000>; }; + audio_cma_mem: audio_cma_region { + compatible = "shared-dma-pool"; + alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; + reusable; + alignment = <0x0 0x400000>; + size = <0x0 0x1000000>; + }; + cdsp_mem: cdsp_region { compatible = "shared-dma-pool"; alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; @@ -491,6 +499,14 @@ size = <0x0 0x400000>; }; + mdsp_mem: mdsp_region { + compatible = "shared-dma-pool"; + alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; + reusable; + alignment = <0x0 0x400000>; + size = <0x0 0x1000000>; + }; + user_contig_mem: user_contig_region { compatible = "shared-dma-pool"; alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; @@ -1096,6 +1112,24 @@ }; }; + ufs_ice: ufsice@1d90000 { + compatible = "qcom,ice"; + reg = <0x1d90000 0x8000>; + qcom,enable-ice-clk; + clock-names = "ufs_core_clk", "bus_clk", + "iface_clk", "ice_core_clk"; + clocks = <&gcc GCC_UFS_PHY_AXI_CLK>, + <&gcc GCC_UFS_MEM_CLKREF_CLK>, + <&gcc GCC_UFS_PHY_AHB_CLK>, + <&gcc GCC_UFS_PHY_ICE_CORE_CLK>; + qcom,op-freq-hz = <0>, <0>, <0>, <300000000>; + vdd-hba-supply = <&ufs_phy_gdsc>; + qcom,bus-vector-names = "MIN", + "MAX"; + qcom,instance-type = "ufs"; + qcom,num-fde-slots = <31>; + }; + ufsphy_mem: ufsphy_mem@1d87000 { reg = <0x1d87000 0xda8>; /* PHY regs */ reg-names = "phy_mem"; @@ -1223,7 +1257,7 @@ reset-names = "rst"; iommus = <&apps_smmu 0x300 0x0>; - qcom,iommu-dma = "bypass"; + qcom,iommu-dma = "fastmap"; dma-coherent; status = "disabled"; @@ -1613,6 +1647,80 @@ }; }; + modem_pas: remoteproc-modem@4080000 { + compatible = "qcom,sm8150-mpss-pas"; + reg = <0x4080000 0x00100>; + status = "ok"; + + cx-supply = <&VDD_CX_LEVEL>; + cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 100000>; + mx-supply = <&VDD_MX_LEVEL>; + mx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 100000>; + reg-names = "cx", "mx"; + + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "xo"; + + qcom,qmp = <&aoss_qmp>; + + interconnects = <&aggre2_noc MASTER_CRYPTO &mc_virt SLAVE_EBI1>; + interconnect-names = "crypto_ddr"; + + memory-region = <&rproc_modem_mem>; + + /* Inputs from mss */ + interrupts-extended = <&intc GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>, + <&modem_smp2p_in 0 0>, + <&modem_smp2p_in 2 0>, + <&modem_smp2p_in 1 0>, + <&modem_smp2p_in 3 0>, + <&modem_smp2p_in 7 0>; + + interrupt-names = "wdog", + "fatal", + "handover", + "ready", + "stop-ack", + "shutdown-ack"; + + /* Outputs to mss */ + qcom,smem-states = <&modem_smp2p_out 0>; + qcom,smem-state-names = "stop"; + + glink-edge { + qcom,remote-pid = <1>; + transport = "smem"; + mboxes = <&apss_shared 12>; + mbox-names = "mpss_smem"; + interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>; + + label = "modem"; + qcom,glink-label = "mpss"; + + qcom,modem_qrtr { + qcom,glink-channels = "IPCRTR"; + qcom,intents = <0x800 5 + 0x2000 3 + 0x4400 2>; + }; + + qcom,msm_fastrpc_rpmsg { + compatible = "qcom,msm-fastrpc-rpmsg"; + qcom,glink-channels = "fastrpcglink-apps-dsp"; + qcom,intents = <0x64 64>; + }; + + qcom,modem_glink_ssr { + qcom,glink-channels = "glink_ssr"; + }; + + qcom,modem_ds { + qcom,glink-channels = "DS"; + qcom,intents = <0x4000 0x2>; + }; + }; + }; + qcom,pmu { compatible = "qcom,pmu"; qcom,long-counter; @@ -1954,6 +2062,11 @@ memory-region = <&adsp_mem>; }; + qcom,msm-mdsprpc-mem { + compatible = "qcom,msm-mdsprpc-mem-region"; + memory-region = <&mdsp_mem>; + }; + msm_fastrpc: qcom,msm_fastrpc { compatible = "qcom,msm-fastrpc-compute"; qcom,fastrpc-adsp-audio-pdr; @@ -2296,3 +2409,4 @@ }; #include "sm8150-thermal.dtsi" +#include "sm8150-npu.dtsi" |