diff options
author | Aleksander Jan Bajkowski <olek2@wp.pl> | 2022-10-16 20:05:26 +0200 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2022-10-21 13:45:37 +0200 |
commit | 069bda0adb5cb97c78ad9ea2561512ced487fa59 (patch) | |
tree | 3ae55d57ab346dd30cd0b90455f7d022b48ec87e /target/linux | |
parent | e629ced778263da2a256a9920c9856ec1efebc28 (diff) | |
download | upstream-069bda0adb5cb97c78ad9ea2561512ced487fa59.tar.gz upstream-069bda0adb5cb97c78ad9ea2561512ced487fa59.tar.bz2 upstream-069bda0adb5cb97c78ad9ea2561512ced487fa59.zip |
lantiq: add rgmii delays on BT Home Hub 5A
This comit fixes warnings that occur on kernel 5.15:
...
[ 2.269736] Intel XWAY PHY11G (PEF 7071/PEF 7072) v1.5 / v1.6 1e108000.switch-mii:00:
PHY has delays (e.g. via pin strapping), but phy-mode = 'rgmii'
[ 2.269736] Should be 'rgmii-id' to use internal delays txskew:1500 ps rxskew:1500 ps
...
Ref: https://github.com/torvalds/linux/commit/be393dd685d215d44a43f5c5dcb8f7e57668d00e
Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_bt_homehub-v5a.dts | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_bt_homehub-v5a.dts b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_bt_homehub-v5a.dts index 1cd0f2c6b6..be44cb7161 100644 --- a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_bt_homehub-v5a.dts +++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_bt_homehub-v5a.dts @@ -174,13 +174,17 @@ port@0 { reg = <0>; label = "lan3"; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; + tx-internal-delay-ps = <1500>; + rx-internal-delay-ps = <1500>; phy-handle = <&phy0>; }; port@1 { reg = <1>; label = "lan4"; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; + tx-internal-delay-ps = <1500>; + rx-internal-delay-ps = <1500>; phy-handle = <&phy1>; }; port@2 { @@ -198,7 +202,9 @@ port@5 { reg = <5>; label = "wan"; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; + tx-internal-delay-ps = <1500>; + rx-internal-delay-ps = <1500>; phy-handle = <&phy5>; }; }; |