.. | .. |
---|
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 "dm814x.dtsi" |
---|
.. | .. |
---|
36 | 32 | }; |
---|
37 | 33 | |
---|
38 | 34 | &cpsw_emac0 { |
---|
39 | | - phy_id = <&davinci_mdio>, <0>; |
---|
40 | | - phy-mode = "rgmii"; |
---|
| 35 | + phy-handle = <ðphy0>; |
---|
| 36 | + phy-mode = "rgmii-id"; |
---|
41 | 37 | }; |
---|
42 | 38 | |
---|
43 | 39 | &cpsw_emac1 { |
---|
44 | | - phy_id = <&davinci_mdio>, <1>; |
---|
45 | | - phy-mode = "rgmii"; |
---|
| 40 | + phy-handle = <ðphy1>; |
---|
| 41 | + phy-mode = "rgmii-id"; |
---|
| 42 | +}; |
---|
| 43 | + |
---|
| 44 | +&davinci_mdio { |
---|
| 45 | + ethphy0: ethernet-phy@0 { |
---|
| 46 | + reg = <0>; |
---|
| 47 | + }; |
---|
| 48 | + |
---|
| 49 | + ethphy1: ethernet-phy@1 { |
---|
| 50 | + reg = <1>; |
---|
| 51 | + }; |
---|
46 | 52 | }; |
---|
47 | 53 | |
---|
48 | 54 | &mmc1 { |
---|