1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Device Tree fragment for LS1028A QDS board, serdes 85xx 4 * 5 * Copyright 2019-2021 NXP 6 * 7 * Requires a LS1028A QDS board without lane B rework. 8 * Requires a SCH-24801 card in slot 1. 9 */ 10 11/dts-v1/; 12/plugin/; 13 14/ { 15 fragment@0 { 16 target = <&mdio_slot1>; 17 __overlay__ { 18 #address-cells = <1>; 19 #size-cells = <0>; 20 21 /* VSC8234 */ 22 slot1_sgmii0: ethernet-phy@1c { 23 reg = <0x1c>; 24 }; 25 26 slot1_sgmii1: ethernet-phy@1d { 27 reg = <0x1d>; 28 }; 29 30 slot1_sgmii2: ethernet-phy@1e { 31 reg = <0x1e>; 32 }; 33 34 slot1_sgmii3: ethernet-phy@1f { 35 reg = <0x1f>; 36 }; 37 }; 38 }; 39 40 fragment@1 { 41 target = <&enetc_port0>; 42 __overlay__ { 43 phy-handle = <&slot1_sgmii0>; 44 phy-mode = "sgmii"; 45 managed = "in-band-status"; 46 status = "okay"; 47 }; 48 }; 49 50 fragment@2 { 51 target = <&mscc_felix_ports>; 52 __overlay__ { 53 port@1 { 54 status = "okay"; 55 phy-handle = <&slot1_sgmii1>; 56 phy-mode = "sgmii"; 57 managed = "in-band-status"; 58 }; 59 60 port@2 { 61 status = "okay"; 62 phy-handle = <&slot1_sgmii2>; 63 phy-mode = "sgmii"; 64 managed = "in-band-status"; 65 }; 66 }; 67 }; 68 69 fragment@3 { 70 target = <&mscc_felix>; 71 __overlay__ { 72 status = "okay"; 73 }; 74 }; 75}; 76