.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
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/ |
---|
7 | 4 | */ |
---|
8 | 5 | |
---|
9 | 6 | /dts-v1/; |
---|
.. | .. |
---|
486 | 483 | }; |
---|
487 | 484 | }; |
---|
488 | 485 | |
---|
489 | | -&mac { |
---|
490 | | - slaves = <1>; |
---|
| 486 | +&mac_sw { |
---|
491 | 487 | pinctrl-names = "default", "sleep"; |
---|
492 | 488 | pinctrl-0 = <&cpsw_default>; |
---|
493 | 489 | pinctrl-1 = <&cpsw_sleep>; |
---|
494 | 490 | status = "okay"; |
---|
495 | 491 | }; |
---|
496 | 492 | |
---|
497 | | -&davinci_mdio { |
---|
| 493 | +&davinci_mdio_sw { |
---|
498 | 494 | pinctrl-names = "default", "sleep"; |
---|
499 | 495 | pinctrl-0 = <&davinci_mdio_default>; |
---|
500 | 496 | pinctrl-1 = <&davinci_mdio_sleep>; |
---|
501 | | - status = "okay"; |
---|
| 497 | + |
---|
| 498 | + ethphy0: ethernet-phy@0 { |
---|
| 499 | + reg = <0>; |
---|
| 500 | + }; |
---|
502 | 501 | }; |
---|
503 | 502 | |
---|
504 | | -&cpsw_emac0 { |
---|
505 | | - phy_id = <&davinci_mdio>, <0>; |
---|
506 | | - phy-mode = "rgmii"; |
---|
| 503 | +&cpsw_port1 { |
---|
| 504 | + phy-handle = <ðphy0>; |
---|
| 505 | + phy-mode = "rgmii-rxid"; |
---|
| 506 | + ti,dual-emac-pvid = <1>; |
---|
| 507 | +}; |
---|
| 508 | + |
---|
| 509 | +&cpsw_port2 { |
---|
| 510 | + status = "disabled"; |
---|
507 | 511 | }; |
---|
508 | 512 | |
---|
509 | 513 | &rtc { |
---|