forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/boot/dts/dm8148-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 "dm814x.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 {