Override mtl_rx_setup and mtl_tx_setup for cv2x. Add qoe_mode and and qoe vlan filtering config. Add cv2x_mode mdm and cv2x vlan filtering config. Change-Id: If60646883b25e2d217c2bff0f9b52dc7ac0c19a1 Acked-by: Ning Cai <ncai@qti.qualcomm.com> Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
88 lines
1.8 KiB
Plaintext
88 lines
1.8 KiB
Plaintext
/* Copyright (c) 2020, The Linux Foundation. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 and
|
|
* only version 2 as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "sdxprairie.dtsi"
|
|
#include "sa515m-ccard.dtsi"
|
|
|
|
/ {
|
|
model = "Qualcomm Technologies, Inc. SA515M CCARD ETH";
|
|
compatible = "qcom,sa515m-ccard",
|
|
"qcom,sdxprairie", "qcom,ccard";
|
|
qcom,board-id = <25 5>, <25 0x105>;
|
|
|
|
/delete-node/ qcom_gadget;
|
|
qcom_gadget {
|
|
compatible = "qcom,usb-gadget";
|
|
qcom,vid = <0x05c6>;
|
|
|
|
composition1 {
|
|
qcom,pid = <0x9105>;
|
|
qcom,composition = "diag.diag,gsi.dpl";
|
|
};
|
|
};
|
|
};
|
|
|
|
&ipa_hw {
|
|
qcom,ipa-config-is-auto;
|
|
qcom,use-xbl-boot;
|
|
};
|
|
|
|
&usb {
|
|
qcom,smmu-s1-bypass;
|
|
};
|
|
|
|
&sdx_ext_ipc {
|
|
compatible = "qcom,sa515m-ccard";
|
|
qcom,status-in-gpio = <&tlmm 76 0x00>;
|
|
qcom,status-out-gpio = <&tlmm 33 0x00>;
|
|
qcom,status-out2-gpio = <&tlmm 31 0x00>;
|
|
qcom,wakeup-gpio-in = <&tlmm 77 0x00>;
|
|
qcom,wakeup-gpio-out = <&tlmm 96 0x00>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&wakeup_gpio_default>;
|
|
qcom,default-policy-nop;
|
|
status = "okay";
|
|
};
|
|
|
|
&mtl_rx_setup {
|
|
queue2 {
|
|
snps,dcb-algorithm;
|
|
};
|
|
|
|
queue3 {
|
|
snps,dcb-algorithm;
|
|
};
|
|
};
|
|
|
|
&mtl_tx_setup {
|
|
queue2 {
|
|
snps,dcb-algorithm;
|
|
};
|
|
|
|
queue3 {
|
|
snps,dcb-algorithm;
|
|
};
|
|
};
|
|
|
|
ðqos_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 = <1>;
|
|
qcom,cv2x-queue = <3>;
|
|
qcom,cv2x-vlan-offset = <1>;
|
|
};
|