blob: bd46adfd2928a249e9cebbca70f7b630203f32af [file] [log] [blame]
Alex Margineana7fdac72021-01-27 13:00:00 +02001// SPDX-License-Identifier: GPL-2.0+ OR X11
2/*
3 * NXP LS1028A-QDS device tree fragment for RCW 9999
4 *
Vladimir Oltean66fd01f2021-09-17 14:27:13 +03005 * Copyright 2019-2021 NXP
Alex Margineana7fdac72021-01-27 13:00:00 +02006 *
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
Michael Wallec816dd02021-10-13 18:14:15 +020022&enetc_port2 {
Vladimir Oltean39dca762021-06-29 20:53:11 +030023 status = "okay";
24};
25
Alex Margineana7fdac72021-01-27 13:00:00 +020026&mscc_felix {
27 status = "okay";
28};
29
30&mscc_felix_port0 {
31 status = "okay";
Vladimir Oltean681adaa2022-01-03 14:47:37 +020032 managed = "in-band-status";
Alex Margineana7fdac72021-01-27 13:00:00 +020033 phy-mode = "sgmii";
Michael Wallefb19c6b2021-10-13 18:14:05 +020034 phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1c}>;
Alex Margineana7fdac72021-01-27 13:00:00 +020035};
36
37&mscc_felix_port1 {
38 status = "okay";
Vladimir Oltean681adaa2022-01-03 14:47:37 +020039 managed = "in-band-status";
Alex Margineana7fdac72021-01-27 13:00:00 +020040 phy-mode = "sgmii";
Michael Wallefb19c6b2021-10-13 18:14:05 +020041 phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1d}>;
Alex Margineana7fdac72021-01-27 13:00:00 +020042};
43
44&mscc_felix_port2 {
45 status = "okay";
Vladimir Oltean681adaa2022-01-03 14:47:37 +020046 managed = "in-band-status";
Alex Margineana7fdac72021-01-27 13:00:00 +020047 phy-mode = "sgmii";
Michael Wallefb19c6b2021-10-13 18:14:05 +020048 phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1e}>;
Alex Margineana7fdac72021-01-27 13:00:00 +020049};
50
51&mscc_felix_port3 {
52 status = "okay";
Vladimir Oltean681adaa2022-01-03 14:47:37 +020053 managed = "in-band-status";
Alex Margineana7fdac72021-01-27 13:00:00 +020054 phy-mode = "sgmii";
Michael Wallefb19c6b2021-10-13 18:14:05 +020055 phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1f}>;
Alex Margineana7fdac72021-01-27 13:00:00 +020056};
Vladimir Oltean39dca762021-06-29 20:53:11 +030057
58&mscc_felix_port4 {
Michael Wallec816dd02021-10-13 18:14:15 +020059 ethernet = <&enetc_port2>;
Vladimir Oltean39dca762021-06-29 20:53:11 +030060 status = "okay";
61};