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 | * |
| 5 | * Copyright 2019-2021 NXP Semiconductors |
| 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 | |
| 22 | &mscc_felix { |
| 23 | status = "okay"; |
| 24 | }; |
| 25 | |
| 26 | &mscc_felix_port0 { |
| 27 | status = "okay"; |
| 28 | phy-mode = "sgmii"; |
| 29 | phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1c}>; |
| 30 | }; |
| 31 | |
| 32 | &mscc_felix_port1 { |
| 33 | status = "okay"; |
| 34 | phy-mode = "sgmii"; |
| 35 | phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1d}>; |
| 36 | }; |
| 37 | |
| 38 | &mscc_felix_port2 { |
| 39 | status = "okay"; |
| 40 | phy-mode = "sgmii"; |
| 41 | phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1e}>; |
| 42 | }; |
| 43 | |
| 44 | &mscc_felix_port3 { |
| 45 | status = "okay"; |
| 46 | phy-mode = "sgmii"; |
| 47 | phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1f}>; |
| 48 | }; |