Commit 20d03e13 authored by shironeko's avatar shironeko Committed by Heiko Stuebner
Browse files

arm64: dts: rockchip: add missing tx/rx-fifo-depth for rk3328 gmac



Without fifo depths attempting to change the MTU will fail. These values
are from the RK3328 Technical Reference Manual, gmac2io interface tested
with Rock64.

Signed-off-by: default avatarshironeko <shironeko@tesaguri.club>
Link: https://lore.kernel.org/r/20231116214042.11134-2-shironeko@tesaguri.club


Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent c45de75d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -916,6 +916,8 @@ gmac2io: ethernet@ff540000 {
		resets = <&cru SRST_GMAC2IO_A>;
		reset-names = "stmmaceth";
		rockchip,grf = <&grf>;
		tx-fifo-depth = <2048>;
		rx-fifo-depth = <4096>;
		snps,txpbl = <0x4>;
		status = "disabled";
	};
@@ -938,6 +940,8 @@ gmac2phy: ethernet@ff550000 {
		reset-names = "stmmaceth";
		phy-mode = "rmii";
		phy-handle = <&phy>;
		tx-fifo-depth = <2048>;
		rx-fifo-depth = <4096>;
		snps,txpbl = <0x4>;
		clock_in_out = "output";
		status = "disabled";