Skip to content

Commit 7277874

Browse files
committed
ARM: dts: ni-bluefin: Specify mv88e6341 switch PHYs
Marvell 88E6341 'Topaz' ethernet switch on Bluefin hardware has 6 ports, of which port 1 to 4 PHYs are mapped at SMI addresses from 0x11 to 0x14. Specify and bind them to the exposed ports on Bluefin devices. Signed-off-by: HatsyRei <yan.huan.chng@emerson.com>
1 parent 935ab94 commit 7277874

File tree

1 file changed

+20
-8
lines changed

1 file changed

+20
-8
lines changed

arch/arm/boot/dts/xilinx/ni-bluefin.dts

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -105,19 +105,31 @@
105105
port@1 {
106106
reg = <1>;
107107
label = "sw0";
108-
fixed-link {
109-
speed = <1000>;
110-
full-duplex;
111-
};
108+
phy-handle = <&swphy1>;
112109
};
113110

114111
port@2 {
115112
reg = <2>;
116113
label = "sw1";
117-
fixed-link {
118-
speed = <1000>;
119-
full-duplex;
120-
};
114+
phy-handle = <&swphy2>;
115+
};
116+
};
117+
118+
mdio {
119+
swphy1: ethernet-phy@11 {
120+
reg = <0x11>;
121+
};
122+
123+
swphy2: ethernet-phy@12 {
124+
reg = <0x12>;
125+
};
126+
127+
swphy3: ethernet-phy@13 {
128+
reg = <0x13>;
129+
};
130+
131+
swphy4: ethernet-phy@14 {
132+
reg = <0x14>;
121133
};
122134
};
123135
};

0 commit comments

Comments
 (0)