forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/boot/dts/dm8148-t410.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 "dm814x.dtsi"
....@@ -36,13 +32,23 @@
3632 };
3733
3834 &cpsw_emac0 {
39
- phy_id = <&davinci_mdio>, <0>;
40
- phy-mode = "rgmii";
35
+ phy-handle = <&ethphy0>;
36
+ phy-mode = "rgmii-id";
4137 };
4238
4339 &cpsw_emac1 {
44
- phy_id = <&davinci_mdio>, <1>;
45
- phy-mode = "rgmii";
40
+ phy-handle = <&ethphy1>;
41
+ phy-mode = "rgmii-id";
42
+};
43
+
44
+&davinci_mdio {
45
+ ethphy0: ethernet-phy@0 {
46
+ reg = <0>;
47
+ };
48
+
49
+ ethphy1: ethernet-phy@1 {
50
+ reg = <1>;
51
+ };
4652 };
4753
4854 &mmc1 {