1*8bab661aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2*8bab661aSEmmanuel Vadot/* 3*8bab661aSEmmanuel Vadot * Device Tree fragment for LS1028A QDS board, serdes 13bb 4*8bab661aSEmmanuel Vadot * 5*8bab661aSEmmanuel Vadot * Copyright 2019-2021 NXP 6*8bab661aSEmmanuel Vadot * 7*8bab661aSEmmanuel Vadot * Requires a LS1028A QDS board with lane B rework. 8*8bab661aSEmmanuel Vadot * Requires a SCH-30841 card with lane A of connector rewired to PHY lane C. 9*8bab661aSEmmanuel Vadot * Set-up is a SCH-30842 card in slot 1 and SCH-30841 in slot 2. 10*8bab661aSEmmanuel Vadot */ 11*8bab661aSEmmanuel Vadot 12*8bab661aSEmmanuel Vadot/dts-v1/; 13*8bab661aSEmmanuel Vadot/plugin/; 14*8bab661aSEmmanuel Vadot 15*8bab661aSEmmanuel Vadot&mdio_slot1 { 16*8bab661aSEmmanuel Vadot #address-cells = <1>; 17*8bab661aSEmmanuel Vadot #size-cells = <0>; 18*8bab661aSEmmanuel Vadot 19*8bab661aSEmmanuel Vadot slot1_sgmii: ethernet-phy@2 { 20*8bab661aSEmmanuel Vadot /* AQR112 */ 21*8bab661aSEmmanuel Vadot reg = <0x2>; 22*8bab661aSEmmanuel Vadot compatible = "ethernet-phy-ieee802.3-c45"; 23*8bab661aSEmmanuel Vadot }; 24*8bab661aSEmmanuel Vadot}; 25*8bab661aSEmmanuel Vadot 26*8bab661aSEmmanuel Vadot&enetc_port0 { 27*8bab661aSEmmanuel Vadot phy-handle = <&slot1_sgmii>; 28*8bab661aSEmmanuel Vadot phy-mode = "usxgmii"; 29*8bab661aSEmmanuel Vadot managed = "in-band-status"; 30*8bab661aSEmmanuel Vadot status = "okay"; 31*8bab661aSEmmanuel Vadot}; 32*8bab661aSEmmanuel Vadot 33*8bab661aSEmmanuel Vadot&mdio_slot2 { 34*8bab661aSEmmanuel Vadot #address-cells = <1>; 35*8bab661aSEmmanuel Vadot #size-cells = <0>; 36*8bab661aSEmmanuel Vadot 37*8bab661aSEmmanuel Vadot /* 4 ports on AQR412 */ 38*8bab661aSEmmanuel Vadot slot2_qxgmii0: ethernet-phy@0 { 39*8bab661aSEmmanuel Vadot reg = <0x0>; 40*8bab661aSEmmanuel Vadot compatible = "ethernet-phy-ieee802.3-c45"; 41*8bab661aSEmmanuel Vadot }; 42*8bab661aSEmmanuel Vadot 43*8bab661aSEmmanuel Vadot slot2_qxgmii1: ethernet-phy@1 { 44*8bab661aSEmmanuel Vadot reg = <0x1>; 45*8bab661aSEmmanuel Vadot compatible = "ethernet-phy-ieee802.3-c45"; 46*8bab661aSEmmanuel Vadot }; 47*8bab661aSEmmanuel Vadot 48*8bab661aSEmmanuel Vadot slot2_qxgmii2: ethernet-phy@2 { 49*8bab661aSEmmanuel Vadot reg = <0x2>; 50*8bab661aSEmmanuel Vadot compatible = "ethernet-phy-ieee802.3-c45"; 51*8bab661aSEmmanuel Vadot }; 52*8bab661aSEmmanuel Vadot 53*8bab661aSEmmanuel Vadot slot2_qxgmii3: ethernet-phy@3 { 54*8bab661aSEmmanuel Vadot reg = <0x3>; 55*8bab661aSEmmanuel Vadot compatible = "ethernet-phy-ieee802.3-c45"; 56*8bab661aSEmmanuel Vadot }; 57*8bab661aSEmmanuel Vadot}; 58*8bab661aSEmmanuel Vadot 59*8bab661aSEmmanuel Vadot&mscc_felix_ports { 60*8bab661aSEmmanuel Vadot port@0 { 61*8bab661aSEmmanuel Vadot status = "okay"; 62*8bab661aSEmmanuel Vadot phy-handle = <&slot2_qxgmii0>; 63*8bab661aSEmmanuel Vadot phy-mode = "usxgmii"; 64*8bab661aSEmmanuel Vadot managed = "in-band-status"; 65*8bab661aSEmmanuel Vadot }; 66*8bab661aSEmmanuel Vadot 67*8bab661aSEmmanuel Vadot port@1 { 68*8bab661aSEmmanuel Vadot status = "okay"; 69*8bab661aSEmmanuel Vadot phy-handle = <&slot2_qxgmii1>; 70*8bab661aSEmmanuel Vadot phy-mode = "usxgmii"; 71*8bab661aSEmmanuel Vadot managed = "in-band-status"; 72*8bab661aSEmmanuel Vadot }; 73*8bab661aSEmmanuel Vadot 74*8bab661aSEmmanuel Vadot port@2 { 75*8bab661aSEmmanuel Vadot status = "okay"; 76*8bab661aSEmmanuel Vadot phy-handle = <&slot2_qxgmii2>; 77*8bab661aSEmmanuel Vadot phy-mode = "usxgmii"; 78*8bab661aSEmmanuel Vadot managed = "in-band-status"; 79*8bab661aSEmmanuel Vadot }; 80*8bab661aSEmmanuel Vadot 81*8bab661aSEmmanuel Vadot port@3 { 82*8bab661aSEmmanuel Vadot status = "okay"; 83*8bab661aSEmmanuel Vadot phy-handle = <&slot2_qxgmii3>; 84*8bab661aSEmmanuel Vadot phy-mode = "usxgmii"; 85*8bab661aSEmmanuel Vadot managed = "in-band-status"; 86*8bab661aSEmmanuel Vadot }; 87*8bab661aSEmmanuel Vadot}; 88*8bab661aSEmmanuel Vadot 89*8bab661aSEmmanuel Vadot&mscc_felix { 90*8bab661aSEmmanuel Vadot status = "okay"; 91*8bab661aSEmmanuel Vadot}; 92