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 9999 |
| 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 | /* |
| 10 | * This set-up is using SCH-24801 cards with VSC8234 quad SGMII PHY. |
| 11 | * |
| 12 | * Switch ports are mapped 1:1 to VSC8234 card ports seated in slot 1. |
| 13 | * Top port is port 0. |
| 14 | * |
| 15 | * The following DTS assumes DIP SW5[1-3] = 000b. |
| 16 | */ |
| 17 | |
| 18 | &slot1 { |
| 19 | #include "fsl-sch-24801.dtsi" |
| 20 | }; |
| 21 | |
Vladimir Oltean | 39dca76 | 2021-06-29 20:53:11 +0300 | [diff] [blame] | 22 | &enetc2 { |
| 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"; |
| 32 | phy-mode = "sgmii"; |
| 33 | phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1c}>; |
| 34 | }; |
| 35 | |
| 36 | &mscc_felix_port1 { |
| 37 | status = "okay"; |
| 38 | phy-mode = "sgmii"; |
| 39 | phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1d}>; |
| 40 | }; |
| 41 | |
| 42 | &mscc_felix_port2 { |
| 43 | status = "okay"; |
| 44 | phy-mode = "sgmii"; |
| 45 | phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1e}>; |
| 46 | }; |
| 47 | |
| 48 | &mscc_felix_port3 { |
| 49 | status = "okay"; |
| 50 | phy-mode = "sgmii"; |
| 51 | phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1f}>; |
| 52 | }; |
Vladimir Oltean | 39dca76 | 2021-06-29 20:53:11 +0300 | [diff] [blame] | 53 | |
| 54 | &mscc_felix_port4 { |
| 55 | ethernet = <&enetc2>; |
| 56 | status = "okay"; |
| 57 | }; |