Skip to content

Commit 8ffec7d

Browse files
committed
arm64: dts: renesas: white-hawk-single: Improve Ethernet TSN description
- Add the missing "ethernet3" alias for the Ethernet TSN port, so U-Boot will fill its local-mac-address property based on the "eth3addr" environment variable (if set), avoiding a random MAC address being assigned by the OS, - Rename the numerical Ethernet PHY label to "tsn0_phy", to avoid future conflicts, and for consistency with the "avbN_phy" labels. Fixes: 3d8e475 ("arm64: dts: renesas: white-hawk-single: Wire-up Ethernet TSN") Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Niklas Söderlund <[email protected]> Link: https://lore.kernel.org/367f10a18aa196ff1c96734dd9bd5634b312c421.1746624368.git.geert+renesas@glider.be
1 parent 218a676 commit 8ffec7d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

arch/arm64/boot/dts/renesas/white-hawk-single.dtsi

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
/ {
1212
model = "Renesas White Hawk Single board";
1313
compatible = "renesas,white-hawk-single";
14+
15+
aliases {
16+
ethernet3 = &tsn0;
17+
};
1418
};
1519

1620
&hscif0 {
@@ -53,7 +57,7 @@
5357
pinctrl-0 = <&tsn0_pins>;
5458
pinctrl-names = "default";
5559
phy-mode = "rgmii";
56-
phy-handle = <&phy3>;
60+
phy-handle = <&tsn0_phy>;
5761
status = "okay";
5862

5963
mdio {
@@ -63,7 +67,7 @@
6367
reset-gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
6468
reset-post-delay-us = <4000>;
6569

66-
phy3: ethernet-phy@0 {
70+
tsn0_phy: ethernet-phy@0 {
6771
compatible = "ethernet-phy-id002b.0980",
6872
"ethernet-phy-ieee802.3-c22";
6973
reg = <0>;

0 commit comments

Comments
 (0)