.. | .. |
---|
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 |
---|
6 | 2 | /dts-v1/; |
---|
7 | 3 | |
---|
8 | 4 | #include "dra62x.dtsi" |
---|
.. | .. |
---|
27 | 23 | }; |
---|
28 | 24 | |
---|
29 | 25 | &cpsw_emac0 { |
---|
30 | | - phy_id = <&davinci_mdio>, <0>; |
---|
31 | | - phy-mode = "rgmii"; |
---|
| 26 | + phy-handle = <ðphy0>; |
---|
| 27 | + phy-mode = "rgmii-id"; |
---|
32 | 28 | }; |
---|
33 | 29 | |
---|
34 | 30 | &cpsw_emac1 { |
---|
35 | | - phy_id = <&davinci_mdio>, <1>; |
---|
36 | | - phy-mode = "rgmii"; |
---|
| 31 | + phy-handle = <ðphy1>; |
---|
| 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 | + }; |
---|
37 | 43 | }; |
---|
38 | 44 | |
---|
39 | 45 | &gpmc { |
---|