Hou Zhiqiang | 247921f | 2020-09-21 14:59:05 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
| 2 | /* |
| 3 | * P1020 RDB-PC Device Tree Source stub (no addresses or top-level ranges) |
| 4 | * |
| 5 | * Copyright 2012 Freescale Semiconductor Inc. |
| 6 | * Copyright 2020 NXP |
| 7 | */ |
| 8 | |
| 9 | &soc { |
| 10 | mdio@24000 { |
| 11 | phy0: ethernet-phy@0 { |
| 12 | interrupt-parent = <&mpic>; |
| 13 | interrupts = <3 1 0 0>; |
| 14 | reg = <0x0>; |
| 15 | }; |
| 16 | |
| 17 | phy1: ethernet-phy@1 { |
| 18 | interrupt-parent = <&mpic>; |
| 19 | interrupts = <2 1 0 0>; |
| 20 | reg = <0x1>; |
| 21 | }; |
| 22 | |
| 23 | tbi0: tbi-phy@11 { |
| 24 | device_type = "tbi-phy"; |
| 25 | reg = <0x11>; |
| 26 | }; |
| 27 | }; |
| 28 | |
| 29 | mdio@25000 { |
| 30 | tbi1: tbi-phy@11 { |
| 31 | reg = <0x11>; |
| 32 | device_type = "tbi-phy"; |
| 33 | }; |
| 34 | }; |
| 35 | |
| 36 | enet0: ethernet@b0000 { |
| 37 | phy-connection-type = "rgmii-id"; |
| 38 | fixed-link { |
| 39 | speed = <1000>; |
| 40 | full-duplex; |
| 41 | }; |
| 42 | |
| 43 | }; |
| 44 | |
| 45 | enet1: ethernet@b1000 { |
| 46 | phy-handle = <&phy0>; |
| 47 | tbi-handle = <&tbi1>; |
| 48 | phy-connection-type = "sgmii"; |
| 49 | }; |
| 50 | |
| 51 | enet2: ethernet@b2000 { |
| 52 | phy-handle = <&phy1>; |
| 53 | phy-connection-type = "rgmii-id"; |
| 54 | }; |
| 55 | }; |