rockchip: disable gmac vlan hw filter for rk3588 by default
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
parent
214e3581e4
commit
bf94faac1d
@ -189,7 +189,6 @@
|
||||
&gmac1_rx_bus2
|
||||
&gmac1_rgmii_clk
|
||||
&gmac1_rgmii_bus>;
|
||||
snps,no-vlhash;
|
||||
snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
|
||||
snps,reset-active-low;
|
||||
/* Reset time is 20ms, 100ms for rtl8211f */
|
||||
|
||||
@ -13,6 +13,26 @@ Signed-off-by: jensen <jensenhuang@friendlyarm.com>
|
||||
include/linux/stmmac.h | 1 +
|
||||
3 files changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
--- a/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi
|
||||
+++ b/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi
|
||||
@@ -1633,6 +1633,7 @@
|
||||
snps,mixed-burst;
|
||||
snps,mtl-rx-config = <&gmac1_mtl_rx_setup>;
|
||||
snps,mtl-tx-config = <&gmac1_mtl_tx_setup>;
|
||||
+ snps,no-vlhash;
|
||||
snps,tso;
|
||||
status = "disabled";
|
||||
|
||||
--- a/arch/arm64/boot/dts/rockchip/rk3588-extra.dtsi
|
||||
+++ b/arch/arm64/boot/dts/rockchip/rk3588-extra.dtsi
|
||||
@@ -309,6 +309,7 @@
|
||||
snps,mixed-burst;
|
||||
snps,mtl-rx-config = <&gmac0_mtl_rx_setup>;
|
||||
snps,mtl-tx-config = <&gmac0_mtl_tx_setup>;
|
||||
+ snps,no-vlhash;
|
||||
snps,tso;
|
||||
status = "disabled";
|
||||
|
||||
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
|
||||
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
|
||||
@@ -7528,7 +7528,7 @@ int stmmac_dvr_probe(struct device *devi
|
||||
|
||||
@ -11,7 +11,7 @@ Change-Id: Ifb8964053daa6b593dd2c2c6a3b8caab8526e56d
|
||||
|
||||
--- a/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi
|
||||
+++ b/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi
|
||||
@@ -1769,6 +1769,17 @@
|
||||
@@ -1770,6 +1770,17 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user