summaryrefslogtreecommitdiffstats
path: root/dts/src/arm64/freescale/fsl-ls1028a-qds-65bb.dts
blob: 8ffb707a15765d3a1d78b5e9c37d043fbcbf3880 (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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Device Tree fragment for LS1028A QDS board, serdes 69xx
 *
 * Copyright 2019-2021 NXP
 *
 * Requires a LS1028A QDS board with lane B rework.
 * Requires a SCH-30842 card in slot 1 and a SCH-28021 card in slot 2.
 */

/dts-v1/;
/plugin/;

/ {
	fragment@0 {
		target = <&mdio_slot1>;

		__overlay__ {
			#address-cells = <1>;
			#size-cells = <0>;

			slot1_sgmii: ethernet-phy@2 {
				/* AQR112 */
				reg = <0x2>;
				compatible = "ethernet-phy-ieee802.3-c45";
			};
		};
	};

	fragment@1 {
		target = <&enetc_port0>;

		__overlay__ {
			phy-handle = <&slot1_sgmii>;
			phy-mode = "2500base-x";
			managed = "in-band-status";
			status = "okay";
		};
	};

	fragment@2 {
		target = <&mdio_slot2>;

		__overlay__ {
			#address-cells = <1>;
			#size-cells = <0>;

			/* 4 ports on VSC8514 */
			slot2_qsgmii0: ethernet-phy@8 {
				reg = <0x8>;
			};

			slot2_qsgmii1: ethernet-phy@9 {
				reg = <0x9>;
			};

			slot2_qsgmii2: ethernet-phy@a {
				reg = <0xa>;
			};

			slot2_qsgmii3: ethernet-phy@b {
				reg = <0xb>;
			};
		};
	};

	fragment@3 {
		target = <&mscc_felix_ports>;

		__overlay__ {
			port@0 {
				status = "okay";
				phy-handle = <&slot2_qsgmii0>;
				phy-mode = "qsgmii";
				managed = "in-band-status";
			};

			port@1 {
				status = "okay";
				phy-handle = <&slot2_qsgmii1>;
				phy-mode = "qsgmii";
				managed = "in-band-status";
			};

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

			port@3 {
				status = "okay";
				phy-handle = <&slot2_qsgmii3>;
				phy-mode = "qsgmii";
				managed = "in-band-status";
			};
		};
	};

	fragment@4 {
		target = <&mscc_felix>;

		__overlay__ {
			status = "okay";
		};
	};
};