Closed lanlanpy closed 1 year ago
可以看到唯一的不同就是reset-deassert-us
。但根据官方的解释,这里确实应该用长延时。
https://github.com/torvalds/linux/commit/656ab1bdcd2b755dc161a9774201100d5bf74b8d:
From 656ab1bdcd2b755dc161a9774201100d5bf74b8d Mon Sep 17 00:00:00 2001
From: Stefan Agner <stefan@agner.ch>
Date: Mon, 7 Dec 2020 18:58:01 +0100
Subject: [PATCH] ARM: dts: meson: fix PHY deassert timing requirements
According to the datasheet (Rev. 1.9) the RTL8211F requires at least
72ms "for internal circuits settling time" before accessing the PHY
registers. On similar boards with the same PHY this fixes an issue where
Ethernet link would not come up when using ip link set down/up.
Fixes: a2c6e82e5341 ("ARM: dts: meson: switch to the generic Ethernet PHY reset bindings")
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> # on Odroid-C1+
Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Link: https://lore.kernel.org/r/ff78772b306411e145769c46d4090554344db41e.1607363522.git.stefan@agner.ch
一个贴子讨论吧,不多开帖。
从网心官方固件提取的内核5.10.xx的dts文件,对比了下大佬的,发现网卡clock部分有差异,大佬可以参考下 onething_kernel_5.10.dts.txt![image](https://user-images.githubusercontent.com/20089317/226375156-36dd8edc-6320-4582-8ff2-9d989f47abab.png)