summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-899b.dts
blob: 5d0a094e6c44160d107a3b7c67e7da4cd6ea23d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Device Tree fragment for LS1028A QDS board, serdes 85xx
 *
 * Copyright 2019-2021 NXP
 *
 * Requires a LS1028A QDS board without lane B rework.
 * Requires a SCH-24801 card in slot 1.
 */

/dts-v1/;
/plugin/;

/ {
	fragment@0 {
		target = <&mdio_slot1>;
		__overlay__ {
			#address-cells = <1>;
			#size-cells = <0>;

			/* VSC8234 */
			slot1_sgmii0: ethernet-phy@1c {
				reg = <0x1c>;
			};

			slot1_sgmii1: ethernet-phy@1d {
				reg = <0x1d>;
			};

			slot1_sgmii2: ethernet-phy@1e {
				reg = <0x1e>;
			};

			slot1_sgmii3: ethernet-phy@1f {
				reg = <0x1f>;
			};
		};
	};

	fragment@1 {
		target = <&enetc_port0>;
		__overlay__ {
			phy-handle = <&slot1_sgmii0>;
			phy-mode = "sgmii";
			managed = "in-band-status";
			status = "okay";
		};
	};

	fragment@2 {
		target = <&mscc_felix_ports>;
		__overlay__ {
			port@1 {
				status = "okay";
				phy-handle = <&slot1_sgmii1>;
				phy-mode = "sgmii";
				managed = "in-band-status";
			};

			port@2 {
				status = "okay";
				phy-handle = <&slot1_sgmii2>;
				phy-mode = "sgmii";
				managed = "in-band-status";
			};
		};
	};

	fragment@3 {
		target = <&mscc_felix>;
		__overlay__ {
			status = "okay";
		};
	};
};