hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/dra62x-j5eco-evm.dts
....@@ -1,8 +1,4 @@
1
-/*
2
- * This program is free software; you can redistribute it and/or modify
3
- * it under the terms of the GNU General Public License version 2 as
4
- * published by the Free Software Foundation.
5
- */
1
+// SPDX-License-Identifier: GPL-2.0-only
62 /dts-v1/;
73
84 #include "dra62x.dtsi"
....@@ -27,13 +23,23 @@
2723 };
2824
2925 &cpsw_emac0 {
30
- phy_id = <&davinci_mdio>, <0>;
31
- phy-mode = "rgmii";
26
+ phy-handle = <&ethphy0>;
27
+ phy-mode = "rgmii-id";
3228 };
3329
3430 &cpsw_emac1 {
35
- phy_id = <&davinci_mdio>, <1>;
36
- phy-mode = "rgmii";
31
+ phy-handle = <&ethphy1>;
32
+ phy-mode = "rgmii-id";
33
+};
34
+
35
+&davinci_mdio {
36
+ ethphy0: ethernet-phy@0 {
37
+ reg = <0>;
38
+ };
39
+
40
+ ethphy1: ethernet-phy@1 {
41
+ reg = <1>;
42
+ };
3743 };
3844
3945 &gpmc {