Hou Zhiqiang | 8eb8a9f | 2020-09-21 14:59:05 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
| 2 | /* |
| 3 | * PQ3 eTSEC2 device tree stub [ @ offsets 0x25000/0xb1000 ] |
| 4 | * |
| 5 | * Copyright 2011 Freescale Semiconductor Inc. |
| 6 | * Copyright 2020 NXP |
| 7 | */ |
| 8 | |
| 9 | mdio@25000 { |
| 10 | #address-cells = <1>; |
| 11 | #size-cells = <0>; |
| 12 | compatible = "fsl,etsec2-tbi"; |
| 13 | reg = <0x25000 0x1000 0xb1030 0x4>; |
| 14 | }; |
| 15 | |
| 16 | ethernet@b1000 { |
| 17 | #address-cells = <1>; |
| 18 | #size-cells = <1>; |
| 19 | device_type = "network"; |
| 20 | model = "eTSEC"; |
| 21 | compatible = "fsl,etsec2"; |
| 22 | reg = <0xb1000 0x1000>; |
| 23 | fsl,num_rx_queues = <0x8>; |
| 24 | fsl,num_tx_queues = <0x8>; |
| 25 | fsl,magic-packet; |
| 26 | local-mac-address = [ 00 00 00 00 00 00 ]; |
| 27 | ranges; |
| 28 | |
| 29 | queue-group@b1000 { |
| 30 | #address-cells = <1>; |
| 31 | #size-cells = <1>; |
| 32 | reg = <0xb1000 0x1000>; |
| 33 | interrupts = <35 2 0 0 36 2 0 0 40 2 0 0>; |
| 34 | }; |
| 35 | }; |