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

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

Merge "ARM: dts: msm: Add multi queue support for sdx55"

parents 70e3a5d1 2cb4b198
Loading
Loading
Loading
Loading
+63 −2
Original line number Diff line number Diff line
@@ -1406,6 +1406,65 @@
		status = "disabled";
	};

	mtl_rx_setup: rx-queues-config {
		snps,rx-queues-to-use = <4>;
		snps,rx-sched-sp;

		queue0 {
			snps,dcb-algorithm;
			snps,map-to-dma-channel = <0x0>;
			snps,route-up;
			snps,route-ptp;
			snps,route-dcbcp;
		};

		queue1 {
			snps,dcb-algorithm;
			snps,map-to-dma-channel = <0x1>;
			snps,route-avcp;
			snps,route-multi-broad;
		};

		queue2 {
			snps,avb-algorithm;
			snps,map-to-dma-channel = <0x2>;
		};

		queue3 {
			snps,avb-algorithm;
			snps,map-to-dma-channel = <0x3>;
			snps,priority = <0x0C>;
		};
	};

	mtl_tx_setup: tx-queues-config {
		snps,tx-queues-to-use = <5>;
		snps,tx-sched-sp;
		queue0 {
			snps,dcb-algorithm;
		};

		queue1 {
			snps,dcb-algorithm;
		};

		queue2 {
			snps,avb-algorithm;
			snps,send_slope = <0x1000>;
			snps,idle_slope = <0x1000>;
			snps,high_credit = <0x3E800>;
			snps,low_credit = <0xFFC18000>;
		};

		queue3 {
			snps,avb-algorithm;
			snps,send_slope = <0x1000>;
			snps,idle_slope = <0x1000>;
			snps,high_credit = <0x3E800>;
			snps,low_credit = <0xFFC18000>;
		};
	};

	ethqos_hw: qcom,ethernet@00020000 {
		compatible = "qcom,sdxprairie-ethqos";
		qcom,arm-smmu;
@@ -1424,8 +1483,10 @@
			"phy-intr",	"ptp_pps_irq_0", "ptp_pps_irq_1";

		snps,tso;
		rx-fifo-depth = <4096>;
		tx-fifo-depth = <4096>;
		rx-fifo-depth = <16384>;
		tx-fifo-depth = <16384>;
		snps,mtl-rx-config = <&mtl_rx_setup>;
		snps,mtl-tx-config = <&mtl_tx_setup>;

		vreg_rgmii-supply = <&pmxprairie_vref_rgmii>;
		vreg_emac_phy-supply =  <&vreg_emac_phy>;