From f0aee0f0e2bd723d91ff0b0b674aa17264bd5382 Mon Sep 17 00:00:00 2001 From: "yanhong.wang" Date: Sun, 15 May 2022 18:25:09 +0800 Subject: [PATCH] dt-bingings:gmac:jh7110: change config parameter Change the gamc configuration parameter for JH7110. Signed-off-by: yanhong.wang --- arch/riscv/boot/dts/starfive/jh7110.dtsi | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) mode change 100755 => 100644 arch/riscv/boot/dts/starfive/jh7110.dtsi diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/dts/starfive/jh7110.dtsi old mode 100755 new mode 100644 index 544254d..f189189 --- a/arch/riscv/boot/dts/starfive/jh7110.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi @@ -789,12 +789,14 @@ "tx", "ptp_ref", "stmmaceth", - "pclk"; + "pclk", + "gtxc"; clocks = <&clkgen JH7110_GMAC0_GTXCLK>, <&clkgen JH7110_U0_GMAC5_CLK_TX>, <&clkgen JH7110_GMAC0_PTP>, <&clkgen JH7110_U0_GMAC5_CLK_AHB>, - <&clkgen JH7110_U0_GMAC5_CLK_AXI>; + <&clkgen JH7110_U0_GMAC5_CLK_AXI>, + <&clkgen JH7110_GMAC0_GTXC>; resets = <&rstgen RSTN_U0_DW_GMAC5_AXI64_AHB>, <&rstgen RSTN_U0_DW_GMAC5_AXI64_AXI>; reset-names = "ahb", "stmmaceth"; @@ -802,10 +804,10 @@ interrupt-names = "macirq", "eth_wake_irq", "eth_lpi"; max-frame-size = <9000>; phy-mode = "rgmii-id"; - snps,multicast-filter-bins = <256>; + snps,multicast-filter-bins = <64>; snps,perfect-filter-entries = <128>; - rx-fifo-depth = <262144>; - tx-fifo-depth = <131072>; + rx-fifo-depth = <2048>; + tx-fifo-depth = <2048>; snps,fixed-burst; snps,no-pbl-x8; snps,force_thresh_dma_mode; @@ -813,8 +815,8 @@ snps,tso; snps,en-tx-lpi-clockgating; snps,en-lpi; - snps,write-requests = <2>; - snps,read-requests = <16>; + snps,write-requests = <4>; + snps,read-requests = <4>; snps,burst-map = <0x7>; snps,txpbl = <16>; snps,rxpbl = <16>; -- 2.7.4