Alex Marginean | a7fdac7 | 2021-01-27 13:00:00 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
| 2 | /* |
| 3 | * NXP LS1028A-QDS device tree fragment for RCW x3xx |
| 4 | * |
Vladimir Oltean | 66fd01f | 2021-09-17 14:27:13 +0300 | [diff] [blame] | 5 | * Copyright 2019-2021 NXP |
Alex Marginean | a7fdac7 | 2021-01-27 13:00:00 +0200 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | /* |
| 9 | * This setup is using a SCH-30841-R card with AQR412 quad PHY in slot 2. This |
| 10 | * is used for the 4 integrated ethernet switch in a multiplexes USXGMII set-up. |
| 11 | * |
| 12 | * We're including the normal .dsti file, not the reworked card .dtsi |
| 13 | * intentionally. We are using multiplexing of the 4 interfaces on a single |
| 14 | * lane and the rework doesn't actually disable any port. The rework is in fact |
| 15 | * needed, otherwise the PHY won't work with the default wiring on the QDS/PHY |
| 16 | * card. |
| 17 | */ |
| 18 | &slot2 { |
| 19 | #include "fsl-sch-30841.dtsi" |
| 20 | }; |
| 21 | |
Michael Walle | c816dd0 | 2021-10-13 18:14:15 +0200 | [diff] [blame] | 22 | &enetc_port2 { |
Vladimir Oltean | 39dca76 | 2021-06-29 20:53:11 +0300 | [diff] [blame] | 23 | status = "okay"; |
| 24 | }; |
| 25 | |
Alex Marginean | a7fdac7 | 2021-01-27 13:00:00 +0200 | [diff] [blame] | 26 | &mscc_felix { |
| 27 | status = "okay"; |
| 28 | }; |
| 29 | |
| 30 | &mscc_felix_port0 { |
| 31 | status = "okay"; |
Vladimir Oltean | 681adaa | 2022-01-03 14:47:37 +0200 | [diff] [blame] | 32 | managed = "in-band-status"; |
Alex Marginean | a7fdac7 | 2021-01-27 13:00:00 +0200 | [diff] [blame] | 33 | phy-mode = "usxgmii"; |
Michael Walle | fb19c6b | 2021-10-13 18:14:05 +0200 | [diff] [blame] | 34 | phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@00}>; |
Alex Marginean | a7fdac7 | 2021-01-27 13:00:00 +0200 | [diff] [blame] | 35 | }; |
| 36 | |
| 37 | &mscc_felix_port1 { |
| 38 | status = "okay"; |
Vladimir Oltean | 681adaa | 2022-01-03 14:47:37 +0200 | [diff] [blame] | 39 | managed = "in-band-status"; |
Alex Marginean | a7fdac7 | 2021-01-27 13:00:00 +0200 | [diff] [blame] | 40 | phy-mode = "usxgmii"; |
Michael Walle | fb19c6b | 2021-10-13 18:14:05 +0200 | [diff] [blame] | 41 | phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@01}>; |
Alex Marginean | a7fdac7 | 2021-01-27 13:00:00 +0200 | [diff] [blame] | 42 | }; |
| 43 | |
| 44 | &mscc_felix_port2 { |
| 45 | status = "okay"; |
Vladimir Oltean | 681adaa | 2022-01-03 14:47:37 +0200 | [diff] [blame] | 46 | managed = "in-band-status"; |
Alex Marginean | a7fdac7 | 2021-01-27 13:00:00 +0200 | [diff] [blame] | 47 | phy-mode = "usxgmii"; |
Michael Walle | fb19c6b | 2021-10-13 18:14:05 +0200 | [diff] [blame] | 48 | phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@02}>; |
Alex Marginean | a7fdac7 | 2021-01-27 13:00:00 +0200 | [diff] [blame] | 49 | }; |
| 50 | |
| 51 | &mscc_felix_port3 { |
| 52 | status = "okay"; |
Vladimir Oltean | 681adaa | 2022-01-03 14:47:37 +0200 | [diff] [blame] | 53 | managed = "in-band-status"; |
Alex Marginean | a7fdac7 | 2021-01-27 13:00:00 +0200 | [diff] [blame] | 54 | phy-mode = "usxgmii"; |
Michael Walle | fb19c6b | 2021-10-13 18:14:05 +0200 | [diff] [blame] | 55 | phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@03}>; |
Alex Marginean | a7fdac7 | 2021-01-27 13:00:00 +0200 | [diff] [blame] | 56 | }; |
Vladimir Oltean | 39dca76 | 2021-06-29 20:53:11 +0300 | [diff] [blame] | 57 | |
| 58 | &mscc_felix_port4 { |
Michael Walle | c816dd0 | 2021-10-13 18:14:15 +0200 | [diff] [blame] | 59 | ethernet = <&enetc_port2>; |
Vladimir Oltean | 39dca76 | 2021-06-29 20:53:11 +0300 | [diff] [blame] | 60 | status = "okay"; |
| 61 | }; |