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

Commit 06c95fcc authored by Akshaya Damodaran's avatar Akshaya Damodaran Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: add ntn3 ipa pcie changes for MBB

Update IPA iossv2 pcie configuration changes.

Change-Id: I18759aa2b9bfb7087744d22f376ee018412f05ff
parent f0b8a9d2
Loading
Loading
Loading
Loading
+45 −0
Original line number Diff line number Diff line
@@ -22,6 +22,38 @@
		regulator-enable-ramp-delay = <2400>;
	};

	ioss_qps615_rx: qps615_rx@eth {
		qcom,dir-rx;
		qcom,rx-filter-ip;

		qcom,ring-size = <128>;
		qcom,buff-size = <2048>;

		qcom,mod-count-min = <64>;
		qcom,mod-count-max = <64>;
		qcom,mod-usecs-min = <30>;
		qcom,mod-usecs-max = <60>;
	};

	ioss_qps615_tx: qps615_tx@eth {
		qcom,dir-tx;
		qcom,ring-size = <512>;
		qcom,buff-size = <2048>;

		qcom,mod-count-min = <64>;
		qcom,mod-count-max = <64>;
		qcom,mod-usecs-min = <30>;
		qcom,mod-usecs-max = <60>;
	};

	ioss_qps615_eth0: qps615@eth0 {
		qcom,name = "eth0";
		qcom,ioss_instance = <0>;

		qcom,ioss_channels =
			<&ioss_qps615_rx>,
			<&ioss_qps615_tx>;
	};
};

&i2c_3 {
@@ -72,6 +104,19 @@
		/* BDF 2.3.0 */
		pcie0_bus2_dev3_fn0: pcie0_bus2_dev3_fn0 {
			reg = <0x1800 0x0 0x0 0x0 0x0>;
			qps615_eth0,qps615_eth0@pcie0_rp {
				reg = <0x0 0x0 0x0 0x0 0x0>;

				compatible = "qcom,ioss-v2-device";
				qcom,ioss = <&ioss>;
				qcom,ioss_interfaces = <&ioss_qps615_eth0>;

				/* ipa shares this group */
				qcom,iommu-group = <&ipa_eth_group1>;

				#address-cells = <1>;
				#size-cells = <1>;
			};
			/* BDF 5.0.0 */
			pcie0_bus5_dev0_fn0: pcie0_ntn3_eth0 {
				reg = <0x0 0x0 0x0 0x0 0x0>;