Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3e1c3a4 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: Reduce AQC ring size with PCIe switch on sdxprairie"

parents bd478d13 41e4bb34
Loading
Loading
Loading
Loading
+2 −68
Original line number Diff line number Diff line
@@ -96,72 +96,6 @@
	};
};

&pcie0_bus2_dev1_fn0 {
	aquantia,aqc107@pcie0_bus2_dev1_fn0 {
		reg = <0 0 0 0 0>;

		compatible = "aquantia,aqc-107";

		pci-ids =
			"1d6a:0001",
			"1d6a:d107",
			"1d6a:07b1",
			"1d6a:87b1",
			"1d6a:d108",
			"1d6a:08b1",
			"1d6a:88b1",
			"1d6a:d109",
			"1d6a:09b1",
			"1d6a:89b1",
			"1d6a:d100",
			"1d6a:00b1",
			"1d6a:80b1",
			"1d6a:11b1",
			"1d6a:91b1",
			"1d6a:12b1",
			"1d6a:92b1",
			"1d6a:00c0",
			"1d6a:04c0",
			"1d6a:12c0",
			"1d6a:14c0",
			"1d6a:93c0",
			"1d6a:94c0";

		qcom,smmu;

		/* IOVA range is restricted to avoid conflicts with PCI BAR
		 * space, Q6 SMEM and IOVA spaces used by peripherals that are
		 * currently attached to IPA.
		 */
		qcom,smmu-iova-base = /bits/ 64 <0x80000000>;
		qcom,smmu-iova-size = /bits/ 64 <0x0FE40000>;

		qcom,smmu-attr-atomic;
		qcom,smmu-attr-fastmap;

		/* AQC IPA offload driver */
		qcom,rx-proxy = <&aqo_proxy_host>,
				<&aqo_proxy_uc>;
		qcom,rx-proxy-mode = "counter";

		qcom,rx-ring-size = <4096>;
		qcom,rx-buff-size = <2048>;
		qcom,rx-int-mod-usecs = <64>;

		qcom,rx-gsi-mod-pc = <10>;
		qcom,rx-gsi-mod-timer = <32>;

		qcom,tx-ring-size = <4096>;
		qcom,tx-buff-size = <2048>;
		qcom,tx-wrb-mod-pc = <25>;

		qcom,tx-gsi-mod-pc = <10>;
		qcom,tx-gsi-mod-timer = <32>;

		qcom,use-pci-direct;
	};
};

&pcie0_bus2_dev2_fn0 {
	aquantia,aqc107@pcie0_bus2_dev1_fn0 {
		reg = <0 0 0 0 0>;
@@ -210,14 +144,14 @@
				<&aqo_proxy_uc>;
		qcom,rx-proxy-mode = "counter";

		qcom,rx-ring-size = <4096>;
		qcom,rx-ring-size = <512>;
		qcom,rx-buff-size = <2048>;
		qcom,rx-int-mod-usecs = <64>;

		qcom,rx-gsi-mod-pc = <10>;
		qcom,rx-gsi-mod-timer = <32>;

		qcom,tx-ring-size = <4096>;
		qcom,tx-ring-size = <512>;
		qcom,tx-buff-size = <2048>;
		qcom,tx-wrb-mod-pc = <25>;