1 From 98f3b5f44b9ae86c4a80185b57149867472a2570 Mon Sep 17 00:00:00 2001
2 From: Linus Walleij <linus.walleij@linaro.org>
3 Date: Fri, 20 Oct 2023 15:11:41 +0200
4 Subject: [PATCH] ARM: dts: usr8200: Fix phy registers
6 The MV88E6060 switch has internal PHY registers at MDIO
7 addresses 0x00..0x04. Tie each port to the corresponding
10 Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
11 Link: https://lore.kernel.org/r/20231020-ixp4xx-usr8200-dtsfix-v1-1-3a8591dea259@linaro.org
12 Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 .../ixp/intel-ixp42x-usrobotics-usr8200.dts | 22 +++++++++++++++++++
15 1 file changed, 22 insertions(+)
17 --- a/arch/arm/boot/dts/intel/ixp/intel-ixp42x-usrobotics-usr8200.dts
18 +++ b/arch/arm/boot/dts/intel/ixp/intel-ixp42x-usrobotics-usr8200.dts
24 + * PHY 0..4 are internal to the MV88E6060 switch but appear
25 + * as independent devices.
27 + phy0: ethernet-phy@0 {
30 + phy1: ethernet-phy@1 {
33 + phy2: ethernet-phy@2 {
36 + phy3: ethernet-phy@3 {
40 + /* Altima AMI101L used by the WAN port */
41 phy9: ethernet-phy@9 {
48 + phy-handle = <&phy0>;
54 + phy-handle = <&phy1>;
60 + phy-handle = <&phy2>;
66 + phy-handle = <&phy3>;