rockchip: disable gmac vlan hw filter for rk3588 by default

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2024-08-31 15:49:39 +08:00
parent 214e3581e4
commit bf94faac1d
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
3 changed files with 21 additions and 2 deletions

View File

@ -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 */

View File

@ -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

View File

@ -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";
};