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

Commit 232bb578 authored by Sunil Paidimarri's avatar Sunil Paidimarri
Browse files

ARM: dts: sa2150p: update dt for ethernet mac switch



Override mtl_rx_setup and mtl_tx_setup for cv2x.
Add qoe_mode and and qoe vlan filtering config.
Add cv2x_mode AP and cv2x vlan filtering config.

Change-Id: I4c2c5e5e7b2ccaf07ff114a7f1b6d6551f999bc8
Acked-by: default avatarNing Cai <ncai@qti.qualcomm.com>
Signed-off-by: default avatarSunil Paidimarri <hisunil@codeaurora.org>
parent 9c6577bc
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -116,6 +116,14 @@ Optional properties:
		- snps,priority: TX queue priority (Range: 0x0 to 0xF)
- rx-prog-swap: boolean value to enable RX_PROG_SWAP for 10/100M
- rx-dll-bypass: boolean value to indicate RX DLL in bypass mode.
- qcom,qoe_mode: set 1 to enable qmi over ethernet support
- qcom,qoe-queue: qmi over ethernet receiver traffic queue
- qcom,qoe-vlan-offset: qmi over ethernet vlan filterin register offset
- qcom,cv2x_mode: enable cv2x over ethernet:
	set 1 for driver running in MDM device
	set 2 for driver running in APQ device
- qcom,cv2x-queue: cv2x over ethernet receiver traffic queue
- qcom,cv2x-vlan-offset: cv2x over ethernet vlan filterin register offset
Examples:

	stmmac_axi_setup: stmmac-axi-config {
+31 −0
Original line number Diff line number Diff line
@@ -20,3 +20,34 @@
				"qcom,ccard";
	qcom,board-id = <0x020019 0>;
};

&mtl_rx_setup {
	queue2 {
		snps,dcb-algorithm;
	};

	queue3 {
		snps,dcb-algorithm;
	};
};

&mtl_tx_setup {
	queue2 {
		snps,dcb-algorithm;
	};

	queue3 {
		snps,dcb-algorithm;
	};
};

&ethqos_hw {
	qcom,qoe_mode = <1>;
	qcom,qoe-queue = <2>;
	qcom,qoe-vlan-offset = <0>;
	snps,mtl-rx-config = <&mtl_rx_setup>;
	snps,mtl-tx-config = <&mtl_tx_setup>;
	qcom,cv2x_mode = <2>;
	qcom,cv2x-queue = <3>;
	qcom,cv2x-vlan-offset = <1>;
};