Madalin Bucur | eb3c194 | 2020-04-30 16:00:03 +0300 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) |
| 2 | /* |
| 3 | * QorIQ FMan v3 1g port #1 device tree stub [ controller @ offset 0x400000 ] |
| 4 | * |
| 5 | * Copyright 2012 - 2015 Freescale Semiconductor Inc. |
| 6 | * Copyright 2020 NXP |
| 7 | * |
| 8 | */ |
| 9 | |
| 10 | fman@400000 { |
| 11 | fman0_rx_0x09: port@89000 { |
| 12 | cell-index = <0x9>; |
| 13 | compatible = "fsl,fman-v3-port-rx"; |
| 14 | reg = <0x89000 0x1000>; |
| 15 | }; |
| 16 | |
| 17 | fman0_tx_0x29: port@a9000 { |
| 18 | cell-index = <0x29>; |
| 19 | compatible = "fsl,fman-v3-port-tx"; |
| 20 | reg = <0xa9000 0x1000>; |
| 21 | }; |
| 22 | |
| 23 | ethernet@e2000 { |
| 24 | cell-index = <1>; |
| 25 | compatible = "fsl,fman-memac"; |
| 26 | reg = <0xe2000 0x1000>; |
| 27 | fsl,fman-ports = <&fman0_rx_0x09 &fman0_tx_0x29>; |
| 28 | ptp-timer = <&ptp_timer0>; |
| 29 | pcsphy-handle = <&pcsphy1>; |
| 30 | }; |
| 31 | |
| 32 | mdio@e3000 { |
| 33 | #address-cells = <1>; |
| 34 | #size-cells = <0>; |
| 35 | compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio"; |
| 36 | reg = <0xe3000 0x1000>; |
| 37 | fsl,erratum-a011043; /* must ignore read errors */ |
| 38 | |
| 39 | pcsphy1: ethernet-phy@0 { |
| 40 | reg = <0x0>; |
| 41 | }; |
| 42 | }; |
| 43 | }; |