Robert Marko | 1b5ea2a | 2022-05-20 13:46:32 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 | |
| 3 | /dts-v1/; |
| 4 | |
| 5 | #include "armada-3720-uDPU.dtsi" |
| 6 | |
| 7 | / { |
| 8 | model = "Methode eDPU Board"; |
| 9 | compatible = "methode,edpu", "marvell,armada3720", "marvell,armada3710"; |
| 10 | }; |
| 11 | |
| 12 | ð0 { |
| 13 | phy-mode = "2500base-x"; |
| 14 | }; |
Robert Marko | c00a2bf | 2023-11-29 11:11:08 +0100 | [diff] [blame] | 15 | |
| 16 | /* |
| 17 | * External MV88E6361 switch is only available on v2 of the board. |
| 18 | * U-Boot will enable the MDIO bus and switch nodes. |
| 19 | */ |
| 20 | &mdio { |
| 21 | status = "disabled"; |
| 22 | pinctrl-names = "default"; |
| 23 | pinctrl-0 = <&smi_pins>; |
| 24 | |
| 25 | /* Actual device is MV88E6361 */ |
| 26 | switch: switch@0 { |
| 27 | compatible = "marvell,mv88e6190"; |
| 28 | #address-cells = <1>; |
| 29 | #size-cells = <0>; |
| 30 | reg = <0>; |
| 31 | status = "disabled"; |
| 32 | |
| 33 | ports { |
| 34 | #address-cells = <1>; |
| 35 | #size-cells = <0>; |
| 36 | |
| 37 | port@0 { |
| 38 | reg = <0>; |
| 39 | label = "cpu"; |
| 40 | phy-mode = "2500base-x"; |
| 41 | managed = "in-band-status"; |
| 42 | ethernet = <ð0>; |
| 43 | }; |
| 44 | |
| 45 | port@9 { |
| 46 | reg = <9>; |
| 47 | label = "downlink"; |
| 48 | phy-mode = "2500base-x"; |
| 49 | managed = "in-band-status"; |
| 50 | }; |
| 51 | |
| 52 | port@a { |
| 53 | reg = <10>; |
| 54 | label = "uplink"; |
| 55 | phy-mode = "2500base-x"; |
| 56 | managed = "in-band-status"; |
| 57 | sfp = <&sfp_eth1>; |
| 58 | }; |
| 59 | }; |
| 60 | }; |
| 61 | }; |