.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * 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. |
---|
7 | 4 | */ |
---|
8 | 5 | |
---|
9 | 6 | /dts-v1/; |
---|
.. | .. |
---|
294 | 291 | pinctrl-0 = <&emmc_pins>; |
---|
295 | 292 | vmmc-supply = <&vmmc_3v3>; |
---|
296 | 293 | bus-width = <8>; |
---|
297 | | - ti,non-removable; |
---|
| 294 | + non-removable; |
---|
298 | 295 | }; |
---|
299 | 296 | |
---|
300 | 297 | &spi0 { |
---|
.. | .. |
---|
328 | 325 | }; |
---|
329 | 326 | }; |
---|
330 | 327 | |
---|
331 | | -&mac { |
---|
| 328 | +&mac_sw { |
---|
332 | 329 | pinctrl-names = "default"; |
---|
333 | 330 | pinctrl-0 = <&cpsw_default>; |
---|
334 | | - dual_emac = <1>; |
---|
335 | 331 | status = "okay"; |
---|
336 | 332 | }; |
---|
337 | 333 | |
---|
338 | | -&davinci_mdio { |
---|
| 334 | +&davinci_mdio_sw { |
---|
339 | 335 | pinctrl-names = "default"; |
---|
340 | 336 | 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 | + }; |
---|
342 | 345 | }; |
---|
343 | 346 | |
---|
344 | | -&cpsw_emac0 { |
---|
345 | | - phy_id = <&davinci_mdio>, <0>; |
---|
| 347 | +&cpsw_port1 { |
---|
| 348 | + phy-handle = <ðphy0>; |
---|
346 | 349 | phy-mode = "rgmii-txid"; |
---|
347 | | - dual_emac_res_vlan = <1>; |
---|
| 350 | + ti,dual-emac-pvid = <1>; |
---|
348 | 351 | }; |
---|
349 | 352 | |
---|
350 | | -&cpsw_emac1 { |
---|
351 | | - phy_id = <&davinci_mdio>, <1>; |
---|
| 353 | +&cpsw_port2 { |
---|
| 354 | + phy-handle = <ðphy1>; |
---|
352 | 355 | phy-mode = "rgmii-txid"; |
---|
353 | | - dual_emac_res_vlan = <2>; |
---|
| 356 | + ti,dual-emac-pvid = <2>; |
---|
354 | 357 | }; |
---|
355 | 358 | |
---|
356 | 359 | &dwc3_1 { |
---|