summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/fsl-lx2160a-qds-sd2-11.dtsi
blob: cf09f98aa60f8ab6c73f5cee70e60b947fa5897a (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
// SPDX-License-Identifier: GPL-2.0+ OR X11
/*
 * NXP LX2160AQDS device tree source for the SERDES block #2 - protocol 11
 *
 * Some assumptions are made:
 *    * 2 mezzanine cards M1/M4 are connected to IO SLOT 7 and IO SLOT 8
 *       (sgmii for DPMAC 12, 13, 14, 16, 17, 18)
 *
 * Copyright 2020 NXP
 *
 */
#include "fsl-lx2160a-qds.dtsi"

&dpmac12 {
	status = "okay";
	phy-handle = <&sgmii_phy7_2>;
	phy-connection-type = "sgmii";
};

&dpmac17 {
	status = "okay";
	phy-handle = <&sgmii_phy7_3>;
	phy-connection-type = "sgmii";
};

&dpmac18 {
	status = "okay";
	phy-handle = <&sgmii_phy7_4>;
	phy-connection-type = "sgmii";
};

&dpmac16 {
	status = "okay";
	phy-handle = <&sgmii_phy8_2>;
	phy-connection-type = "sgmii";
};

&dpmac13 {
	status = "okay";
	phy-handle = <&sgmii_phy8_3>;
	phy-connection-type = "sgmii";
};

&dpmac14 {
	status = "okay";
	phy-handle = <&sgmii_phy8_4>;
	phy-connection-type = "sgmii";
};

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

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

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

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

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

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