blob: 90da665a3c857b625ca8ad301aef2f48b9b50781 [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 7777
4 *
Vladimir Oltean66fd01f2021-09-17 14:27:13 +03005 * Copyright 2019-2021 NXP
Alex Margineana7fdac72021-01-27 13:00:00 +02006 */
7
8/*
9 * This setup is using a SCH-30841 card with AQR412 10G quad PHY.
10 *
11 * Switch ports are mapped 1:1 to AQR412 card ports seated in slot 1.
12 * Bottom port is port 0.
13 * Note that this is only usable for:
14 * - QDS boards WITHOUT lane B rework,
15 * - AQR412 card WITHOUT lane A -> lane C rework
16 *
17 * The following DTS assumes DIP SW5[1-3] = 000b.
18 */
19&slot1 {
20#include "fsl-sch-30841.dtsi"
21};
22
Michael Wallec816dd02021-10-13 18:14:15 +020023&enetc_port2 {
Vladimir Oltean39dca762021-06-29 20:53:11 +030024 status = "okay";
25};
26
Alex Margineana7fdac72021-01-27 13:00:00 +020027&mscc_felix {
28 status = "okay";
29};
30
31&mscc_felix_port0 {
32 status = "okay";
Vladimir Oltean7c2d5d12021-09-18 15:32:35 +030033 phy-mode = "2500base-x";
Michael Wallefb19c6b2021-10-13 18:14:05 +020034 phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@00}>;
Alex Margineana7fdac72021-01-27 13:00:00 +020035};
36
37&mscc_felix_port1 {
38 status = "okay";
Vladimir Oltean7c2d5d12021-09-18 15:32:35 +030039 phy-mode = "2500base-x";
Michael Wallefb19c6b2021-10-13 18:14:05 +020040 phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@01}>;
Alex Margineana7fdac72021-01-27 13:00:00 +020041};
42
43&mscc_felix_port2 {
44 status = "okay";
Vladimir Oltean7c2d5d12021-09-18 15:32:35 +030045 phy-mode = "2500base-x";
Michael Wallefb19c6b2021-10-13 18:14:05 +020046 phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@02}>;
Alex Margineana7fdac72021-01-27 13:00:00 +020047};
48
49&mscc_felix_port3 {
50 status = "okay";
Vladimir Oltean7c2d5d12021-09-18 15:32:35 +030051 phy-mode = "2500base-x";
Michael Wallefb19c6b2021-10-13 18:14:05 +020052 phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@03}>;
Alex Margineana7fdac72021-01-27 13:00:00 +020053};
Vladimir Oltean39dca762021-06-29 20:53:11 +030054
55&mscc_felix_port4 {
Michael Wallec816dd02021-10-13 18:14:15 +020056 ethernet = <&enetc_port2>;
Vladimir Oltean39dca762021-06-29 20:53:11 +030057 status = "okay";
58};