1// SPDX-License-Identifier: GPL-2.0+ OR X11
2/*
3 * NXP LX2160AQDS device tree source for the SERDES block #1 - protocol 20
4 *
5 * Some assumptions are made:
6 *    * 2 mezzanine cards M13 are connected to IO SLOT1 and IO SLOT2
7 *        (xlaui4 for DPMAC 1,2)
8 *
9 * Copyright 2020 NXP
10 *
11 */
12
13#include "fsl-lx2160a-qds.dtsi"
14
15&dpmac1 {
16	status = "okay";
17	phy-handle = <&cortina_phy1_0>;
18	phy-connection-type = "xlaui4";
19};
20
21&dpmac2 {
22	status = "okay";
23	phy-handle = <&cortina_phy2_0>;
24	phy-connection-type = "xlaui4";
25};
26
27&emdio1_slot1 {
28	cortina_phy1_0: ethernet-phy@0 {
29		compatible = "ethernet-phy-ieee802.3-c45";
30		reg = <0x0>;
31	};
32};
33
34&emdio1_slot2 {
35	cortina_phy2_0: ethernet-phy@0 {
36		compatible = "ethernet-phy-ieee802.3-c45";
37		reg = <0x0>;
38	};
39};
40