~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: a31ff8a1bd854475822585d5062f2454d9517a44 (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 X11
/*
 * NXP LX2160AQDS device tree source for the SERDES block #1 - protocol 19
 *
 * Some assumptions are made:
 *    * mezzanine card M11 is connected to IO SLOT1 (usxgmii for DPMAC 3,4)
 *    * mezzanine card M13 is connected to IO SLOT6 (25g-aui for DPMAC 5,6)
 *    * mezzanine card M7 is connected to IO SLOT2 (xlaui4 for DPMAC 2)
 *
 * Copyright 2020 NXP
 *
 */

#include "fsl-lx2160a-qds.dtsi"

&dpmac2 {
	status = "okay";
	phy-handle = <&cortina_phy0>;
	phy-connection-type = "xlaui4";
};

&dpmac3 {
	status = "okay";
	phy-handle = <&aquantia_phy1>;
	phy-connection-type = "usxgmii";
};

&dpmac4 {
	status = "okay";
	phy-handle = <&aquantia_phy2>;
	phy-connection-type = "usxgmii";
};

&dpmac5 {
	status = "okay";
	phy-handle = <&inphi_phy0>;
	phy-connection-type = "25g-aui";
};

&dpmac6 {
	status = "okay";
	phy-handle = <&inphi_phy1>;
	phy-connection-type = "25g-aui";
};

&emdio1_slot1 {
	aquantia_phy1: ethernet-phy@4 {
		compatible = "ethernet-phy-ieee802.3-c45";
		reg = <0x0>;
	};

	aquantia_phy2: ethernet-phy@5 {
		compatible = "ethernet-phy-ieee802.3-c45";
		reg = <0x1>;
	};
};

&emdio1_slot2 {
	cortina_phy0: ethernet-phy@0 {
		compatible = "ethernet-phy-ieee802.3-c45";
		reg = <0x0>;
	};
};

&emdio1_slot6 {
	inphi_phy0: ethernet-phy@0 {
		compatible = "ethernet-phy-id0210.7440";
		reg = <0x0>;
	};

	inphi_phy1: ethernet-phy@1 {
		compatible = "ethernet-phy-id0210.7440";
		reg = <0x1>;
	};
};