1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Device Tree fragment for LS1028A QDS board, serdes 69xx 4 * 5 * Copyright 2019-2021 NXP 6 * 7 * Requires a LS1028A QDS board with lane B rework. 8 * Requires a SCH-30842 card in slot 1 and a SCH-28021 card in slot 2. 9 */ 10 11/dts-v1/; 12/plugin/; 13 14&mdio_slot1 { 15 #address-cells = <1>; 16 #size-cells = <0>; 17 18 slot1_sgmii: ethernet-phy@2 { 19 /* AQR112 */ 20 reg = <0x2>; 21 compatible = "ethernet-phy-ieee802.3-c45"; 22 }; 23}; 24 25&enetc_port0 { 26 phy-handle = <&slot1_sgmii>; 27 phy-mode = "2500base-x"; 28 managed = "in-band-status"; 29 status = "okay"; 30}; 31 32&mdio_slot2 { 33 #address-cells = <1>; 34 #size-cells = <0>; 35 36 /* 4 ports on VSC8514 */ 37 slot2_qsgmii0: ethernet-phy@8 { 38 reg = <0x8>; 39 }; 40 41 slot2_qsgmii1: ethernet-phy@9 { 42 reg = <0x9>; 43 }; 44 45 slot2_qsgmii2: ethernet-phy@a { 46 reg = <0xa>; 47 }; 48 49 slot2_qsgmii3: ethernet-phy@b { 50 reg = <0xb>; 51 }; 52}; 53 54&mscc_felix_ports { 55 port@0 { 56 status = "okay"; 57 phy-handle = <&slot2_qsgmii0>; 58 phy-mode = "qsgmii"; 59 managed = "in-band-status"; 60 }; 61 62 port@1 { 63 status = "okay"; 64 phy-handle = <&slot2_qsgmii1>; 65 phy-mode = "qsgmii"; 66 managed = "in-band-status"; 67 }; 68 69 port@2 { 70 status = "okay"; 71 phy-handle = <&slot2_qsgmii2>; 72 phy-mode = "qsgmii"; 73 managed = "in-band-status"; 74 }; 75 76 port@3 { 77 status = "okay"; 78 phy-handle = <&slot2_qsgmii3>; 79 phy-mode = "qsgmii"; 80 managed = "in-band-status"; 81 }; 82}; 83 84&mscc_felix { 85 status = "okay"; 86}; 87