diff options
| author | Icenowy Zheng <zhengxingda@iscas.ac.cn> | 2026-01-02 18:52:43 +0300 |
|---|---|---|
| committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2026-01-30 17:35:26 +0300 |
| commit | e4ec36bf7bc7023e1d207b1277755b0da381f20f (patch) | |
| tree | 9a92bd7f17033ce3b8bba768ceec2ab974e9e975 /include | |
| parent | 026d70dcfe5de1543bb8edb8e50d22dc16863e6b (diff) | |
| download | linux-e4ec36bf7bc7023e1d207b1277755b0da381f20f.tar.xz | |
MIPS: Loongson64: dts: fix phy-related definition of LS7A GMAC
Currently the LS7A GMAC device tree node lacks a proper phy-handle
property pointing to the PHY node.
In addition, the phy-mode property specifies "rgmii" without any
internal delay information, which means the board trace needs to add 2ns
delay to the RGMII data lines; but that isn't known to happen on any
Loongson board. The ACPI-based initialization codepath, which is used on
LoongArch-based 3A5000 + 7A1000 hardwares, specifies "rgmii-id" phy
mode, which should be the one we are using.
Add the lacking phy-handle property and set proper phy-mode.
Tested on a LS3A4000_7A1000_NUC_BOARD_V2.1 board with YT8521S PHY.
Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
