hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/am437x-cm-t43.dts
....@@ -1,9 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright (C) 2015 CompuLab, Ltd. - http://www.compulab.co.il/
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.
74 */
85
96 /dts-v1/;
....@@ -294,7 +291,7 @@
294291 pinctrl-0 = <&emmc_pins>;
295292 vmmc-supply = <&vmmc_3v3>;
296293 bus-width = <8>;
297
- ti,non-removable;
294
+ non-removable;
298295 };
299296
300297 &spi0 {
....@@ -328,29 +325,35 @@
328325 };
329326 };
330327
331
-&mac {
328
+&mac_sw {
332329 pinctrl-names = "default";
333330 pinctrl-0 = <&cpsw_default>;
334
- dual_emac = <1>;
335331 status = "okay";
336332 };
337333
338
-&davinci_mdio {
334
+&davinci_mdio_sw {
339335 pinctrl-names = "default";
340336 pinctrl-0 = <&davinci_mdio_default>;
341
- status = "okay";
337
+
338
+ ethphy0: ethernet-phy@0 {
339
+ reg = <0>;
340
+ };
341
+
342
+ ethphy1: ethernet-phy@1 {
343
+ reg = <1>;
344
+ };
342345 };
343346
344
-&cpsw_emac0 {
345
- phy_id = <&davinci_mdio>, <0>;
347
+&cpsw_port1 {
348
+ phy-handle = <&ethphy0>;
346349 phy-mode = "rgmii-txid";
347
- dual_emac_res_vlan = <1>;
350
+ ti,dual-emac-pvid = <1>;
348351 };
349352
350
-&cpsw_emac1 {
351
- phy_id = <&davinci_mdio>, <1>;
353
+&cpsw_port2 {
354
+ phy-handle = <&ethphy1>;
352355 phy-mode = "rgmii-txid";
353
- dual_emac_res_vlan = <2>;
356
+ ti,dual-emac-pvid = <2>;
354357 };
355358
356359 &dwc3_1 {