OSDN Git Service

ARM: dts: msm: Add support of IPA for SDM630
authorUtkarsh Saxena <usaxena@codeaurora.org>
Thu, 12 Jan 2017 10:50:01 +0000 (16:20 +0530)
committerUtkarsh Saxena <usaxena@codeaurora.org>
Mon, 16 Jan 2017 07:24:38 +0000 (12:54 +0530)
Enable IPA in SDM660.
IPA shunt data between apps, modem and USB.

Change-Id: I09aa16138d643b17b793162ca0591c143ad8da1f
Acked-by: Mohammed Javid <mjavid@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
arch/arm/boot/dts/qcom/sdm630.dtsi

index 2ebabab..ca5d5ff 100644 (file)
                #clock-cells = <1>;
        };
 
+       ipa_hw: qcom,ipa@14780000 {
+               compatible = "qcom,ipa";
+               reg = <0x14780000 0x4effc>, <0x14784000 0x26934>;
+               reg-names = "ipa-base", "bam-base";
+               interrupts = <0 333 0>,
+                               <0 432 0>;
+               interrupt-names = "ipa-irq", "bam-irq";
+               qcom,ipa-hw-ver = <6>; /* IPA core version = IPAv2.6L */
+               qcom,ipa-hw-mode = <0>; /* IPA hw type = Normal */
+               qcom,wan-rx-ring-size = <192>; /* IPA WAN-rx-ring-size*/
+               qcom,lan-rx-ring-size = <192>; /* IPA LAN-rx-ring-size*/
+               clocks = <&clock_rpmcc RPM_IPA_CLK>,
+                       <&clock_rpmcc RPM_AGGR2_NOC_CLK>;
+               clock-names = "core_clk", "smmu_clk";
+               qcom,arm-smmu;
+               qcom,smmu-disable-htw;
+               qcom,smmu-s1-bypass;
+               qcom,ee = <0>;
+               qcom,use-ipa-tethering-bridge;
+               qcom,modem-cfg-emb-pipe-flt;
+               qcom,msm-bus,name = "ipa";
+               qcom,msm-bus,num-cases = <4>;
+               qcom,msm-bus,num-paths = <2>;
+               qcom,msm-bus,vectors-KBps =
+               /* No vote */
+               <90 512 0 0>,
+               <1 676 0 0>,
+               /* SVS */
+               <90 512 80000 640000>,
+               <1 676 80000 80000>,
+               /* NOMINAL */
+               <90 512 206000 960000>,
+               <1 676 206000 160000>,
+               /* TURBO */
+               <90 512 206000 960000>,
+               <1 676 206000 160000>;
+               qcom,bus-vector-names = "MIN", "SVS", "PERF", "TURBO";
+               qcom,rx-polling-sleep-ms = <2>; /* Polling sleep interval */
+               qcom,ipa-polling-iteration = <5>; /* Polling Iteration */
+
+               ipa_smmu_ap: ipa_smmu_ap {
+                       compatible = "qcom,ipa-smmu-ap-cb";
+                       iommus = <&anoc2_smmu 0x19C0>;
+                       qcom,iova-mapping = <0x10000000 0x40000000>;
+               };
+
+               ipa_smmu_wlan: ipa_smmu_wlan {
+                       status = "disabled";
+                       compatible = "qcom,ipa-smmu-wlan-cb";
+                       iommus = <&anoc2_smmu 0x19C1>;
+               };
+
+               ipa_smmu_uc: ipa_smmu_uc {
+                       compatible = "qcom,ipa-smmu-uc-cb";
+                       iommus = <&anoc2_smmu 0x19C2>;
+                       qcom,iova-mapping = <0x40000000 0x20000000>;
+               };
+       };
+
+       qcom,rmnet-ipa {
+               compatible = "qcom,rmnet-ipa";
+               qcom,rmnet-ipa-ssr;
+               qcom,ipa-loaduC;
+               qcom,ipa-advertise-sg-support;
+       };
+
        qcom,ipc-spinlock@1f40000 {
                compatible = "qcom,ipc-spinlock-sfpb";
                reg = <0x1f40000 0x8000>;