Skip to content

Commit

Permalink
arm64: dts: nanopi4: improve rgmii performance
Browse files Browse the repository at this point in the history
Set txpbl and rxpbl to 0x4.
Also set "snps,aal" which forces address aligned DMA mode.

Signed-off-by: hmz007 <hmz007@gmail.com>
  • Loading branch information
hmz007 committed Sep 27, 2020
1 parent 6c0f60f commit 0f2e54e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm64/boot/dts/rockchip/rk3399-nanopi4-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,12 @@
assigned-clock-parents = <&clkin_gmac>;
pinctrl-names = "default";
pinctrl-0 = <&rgmii_pins>;
snps,aal;
snps,rxpbl = <0x4>;
snps,txpbl = <0x4>;
tx_delay = <0x28>;
rx_delay = <0x11>;
handle_cpu_id = <1>;
status = "okay";
};

Expand Down

0 comments on commit 0f2e54e

Please sign in to comment.