hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/am437x-idk-evm.dts
....@@ -1,9 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
2
- * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License version 2 as
6
- * published by the Free Software Foundation.
3
+ * Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com/
74 */
85
96 /dts-v1/;
....@@ -486,24 +483,31 @@
486483 };
487484 };
488485
489
-&mac {
490
- slaves = <1>;
486
+&mac_sw {
491487 pinctrl-names = "default", "sleep";
492488 pinctrl-0 = <&cpsw_default>;
493489 pinctrl-1 = <&cpsw_sleep>;
494490 status = "okay";
495491 };
496492
497
-&davinci_mdio {
493
+&davinci_mdio_sw {
498494 pinctrl-names = "default", "sleep";
499495 pinctrl-0 = <&davinci_mdio_default>;
500496 pinctrl-1 = <&davinci_mdio_sleep>;
501
- status = "okay";
497
+
498
+ ethphy0: ethernet-phy@0 {
499
+ reg = <0>;
500
+ };
502501 };
503502
504
-&cpsw_emac0 {
505
- phy_id = <&davinci_mdio>, <0>;
506
- phy-mode = "rgmii";
503
+&cpsw_port1 {
504
+ phy-handle = <&ethphy0>;
505
+ phy-mode = "rgmii-rxid";
506
+ ti,dual-emac-pvid = <1>;
507
+};
508
+
509
+&cpsw_port2 {
510
+ status = "disabled";
507511 };
508512
509513 &rtc {