Loading arch/arm64/boot/dts/qcom/sa8155-vm-la.dtsi +124 −0 Original line number Diff line number Diff line Loading @@ -11,6 +11,8 @@ * GNU General Public License for more details. */ #include <dt-bindings/msm/msm-bus-ids.h> / { reserved_memory: reserved-memory { Loading @@ -24,6 +26,20 @@ reusable; reg = <0x0 0xc0000000 0x0 0x14400000>; }; pil_ipa_fw_mem: pil_ipa_fw_region { compatible = "removed-dma-pool"; no-map; reg = <0x0 0x98700000 0x0 0x10000>; }; pil_ipa_gsi_mem: pil_ipa_gsi_region { compatible = "removed-dma-pool"; no-map; alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; alignment = <0x0 0x1000>; size = <0x0 0x7000>; }; }; }; Loading Loading @@ -66,3 +82,111 @@ qcom,ion-heap-type = "HYP_CMA"; }; }; &soc { qcom,msm_gsi { compatible = "qcom,msm_gsi"; }; ipa_hw: qcom,ipa@1e00000 { compatible = "qcom,ipa"; reg = <0x1e00000 0x34000>, <0x1e04000 0x28000>; reg-names = "ipa-base", "gsi-base"; interrupts = <0 311 0>, <0 432 0>; interrupt-names = "ipa-irq", "gsi-irq"; qcom,ipa-hw-ver = <15>; /* IPA core version = IPAv4.1 */ qcom,ipa-hw-mode = <0>; qcom,platform-type = <2>; /* APQ platform */ qcom,ee = <0>; qcom,use-ipa-tethering-bridge; qcom,use-64-bit-dma-mask; qcom,arm-smmu; qcom,smmu-fast-map; qcom,use-ipa-pm; qcom,bandwidth-vote-for-ipa; qcom,msm-bus,name = "ipa"; qcom,msm-bus,num-cases = <5>; qcom,msm-bus,num-paths = <4>; qcom,msm-bus,vectors-KBps = /* No vote */ <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 0 0>, <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 0 0>, <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 0 0>, <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 0>, /* SVS2 */ <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 80000 600000>, <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 80000 350000>, <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 40000 40000>, <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 125>, /* SVS */ <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 80000 640000>, <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 80000 640000>, <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 80000 80000>, <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 250>, /* NOMINAL */ <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 206000 960000>, <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 206000 960000>, <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 206000 160000>, <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 500>, /* TURBO */ <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 206000 3600000>, <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 206000 3600000>, <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 206000 300000>, <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 600>; qcom,bus-vector-names = "MIN", "SVS2", "SVS", "NOMINAL", "TURBO"; qcom,throughput-threshold = <310 600 1000>; qcom,scaling-exceptions = <>; }; ipa_smmu_ap: ipa_smmu_ap { compatible = "qcom,ipa-smmu-ap-cb"; iommus = <&apps_smmu 0x520 0x0>; qcom,iova-mapping = <0x20000000 0x40000000>; qcom,smmu-s1-bypass; }; ipa_smmu_wlan: ipa_smmu_wlan { compatible = "qcom,ipa-smmu-wlan-cb"; iommus = <&apps_smmu 0x521 0x0>; qcom,smmu-s1-bypass; qcom,additional-mapping = /* ipa-uc ram */ <0x1E60000 0x1E60000 0x80000>; }; ipa_smmu_uc: ipa_smmu_uc { compatible = "qcom,ipa-smmu-uc-cb"; iommus = <&apps_smmu 0x522 0x0>; qcom,smmu-s1-bypass; qcom,iova-mapping = <0x40400000 0x1FC00000>; }; qcom,ipa_fws { compatible = "qcom,pil-tz-generic"; qcom,pas-id = <0xf>; qcom,firmware-name = "ipa_fws"; qcom,pil-force-shutdown; memory-region = <&pil_ipa_gsi_mem>; }; qcom,ipa_uc { compatible = "qcom,pil-tz-generic"; qcom,pas-id = <0x1B>; qcom,firmware-name = "ipa_uc"; qcom,pil-force-shutdown; memory-region = <&pil_ipa_fw_mem>; }; qcom,veth-ipa { compatible = "qcom,veth-ipa"; }; }; Loading
arch/arm64/boot/dts/qcom/sa8155-vm-la.dtsi +124 −0 Original line number Diff line number Diff line Loading @@ -11,6 +11,8 @@ * GNU General Public License for more details. */ #include <dt-bindings/msm/msm-bus-ids.h> / { reserved_memory: reserved-memory { Loading @@ -24,6 +26,20 @@ reusable; reg = <0x0 0xc0000000 0x0 0x14400000>; }; pil_ipa_fw_mem: pil_ipa_fw_region { compatible = "removed-dma-pool"; no-map; reg = <0x0 0x98700000 0x0 0x10000>; }; pil_ipa_gsi_mem: pil_ipa_gsi_region { compatible = "removed-dma-pool"; no-map; alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; alignment = <0x0 0x1000>; size = <0x0 0x7000>; }; }; }; Loading Loading @@ -66,3 +82,111 @@ qcom,ion-heap-type = "HYP_CMA"; }; }; &soc { qcom,msm_gsi { compatible = "qcom,msm_gsi"; }; ipa_hw: qcom,ipa@1e00000 { compatible = "qcom,ipa"; reg = <0x1e00000 0x34000>, <0x1e04000 0x28000>; reg-names = "ipa-base", "gsi-base"; interrupts = <0 311 0>, <0 432 0>; interrupt-names = "ipa-irq", "gsi-irq"; qcom,ipa-hw-ver = <15>; /* IPA core version = IPAv4.1 */ qcom,ipa-hw-mode = <0>; qcom,platform-type = <2>; /* APQ platform */ qcom,ee = <0>; qcom,use-ipa-tethering-bridge; qcom,use-64-bit-dma-mask; qcom,arm-smmu; qcom,smmu-fast-map; qcom,use-ipa-pm; qcom,bandwidth-vote-for-ipa; qcom,msm-bus,name = "ipa"; qcom,msm-bus,num-cases = <5>; qcom,msm-bus,num-paths = <4>; qcom,msm-bus,vectors-KBps = /* No vote */ <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 0 0>, <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 0 0>, <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 0 0>, <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 0>, /* SVS2 */ <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 80000 600000>, <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 80000 350000>, <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 40000 40000>, <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 125>, /* SVS */ <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 80000 640000>, <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 80000 640000>, <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 80000 80000>, <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 250>, /* NOMINAL */ <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 206000 960000>, <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 206000 960000>, <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 206000 160000>, <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 500>, /* TURBO */ <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 206000 3600000>, <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 206000 3600000>, <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 206000 300000>, <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 600>; qcom,bus-vector-names = "MIN", "SVS2", "SVS", "NOMINAL", "TURBO"; qcom,throughput-threshold = <310 600 1000>; qcom,scaling-exceptions = <>; }; ipa_smmu_ap: ipa_smmu_ap { compatible = "qcom,ipa-smmu-ap-cb"; iommus = <&apps_smmu 0x520 0x0>; qcom,iova-mapping = <0x20000000 0x40000000>; qcom,smmu-s1-bypass; }; ipa_smmu_wlan: ipa_smmu_wlan { compatible = "qcom,ipa-smmu-wlan-cb"; iommus = <&apps_smmu 0x521 0x0>; qcom,smmu-s1-bypass; qcom,additional-mapping = /* ipa-uc ram */ <0x1E60000 0x1E60000 0x80000>; }; ipa_smmu_uc: ipa_smmu_uc { compatible = "qcom,ipa-smmu-uc-cb"; iommus = <&apps_smmu 0x522 0x0>; qcom,smmu-s1-bypass; qcom,iova-mapping = <0x40400000 0x1FC00000>; }; qcom,ipa_fws { compatible = "qcom,pil-tz-generic"; qcom,pas-id = <0xf>; qcom,firmware-name = "ipa_fws"; qcom,pil-force-shutdown; memory-region = <&pil_ipa_gsi_mem>; }; qcom,ipa_uc { compatible = "qcom,pil-tz-generic"; qcom,pas-id = <0x1B>; qcom,firmware-name = "ipa_uc"; qcom,pil-force-shutdown; memory-region = <&pil_ipa_fw_mem>; }; qcom,veth-ipa { compatible = "qcom,veth-ipa"; }; };