1// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2/*
3 * QorIQ FMan v3 device tree nodes for ls1043
4 *
5 * Copyright 2015-2016 Freescale Semiconductor Inc.
6 */
7
8&soc {
9
10/* include used FMan blocks */
11#include "qoriq-fman3-0.dtsi"
12#include "qoriq-fman3-0-1g-0.dtsi"
13#include "qoriq-fman3-0-1g-1.dtsi"
14#include "qoriq-fman3-0-1g-2.dtsi"
15#include "qoriq-fman3-0-1g-3.dtsi"
16#include "qoriq-fman3-0-1g-4.dtsi"
17#include "qoriq-fman3-0-1g-5.dtsi"
18#include "qoriq-fman3-0-10g-0.dtsi"
19
20};
21
22&fman0 {
23	fsl,erratum-a050385;
24
25	/* these aliases provide the FMan ports mapping */
26	enet0: ethernet@e0000 {
27		pcs-handle-names = "qsgmii";
28	};
29
30	enet1: ethernet@e2000 {
31		pcsphy-handle = <&pcsphy1>, <&qsgmiib_pcs1>;
32		pcs-handle-names = "sgmii", "qsgmii";
33	};
34
35	enet2: ethernet@e4000 {
36	};
37
38	enet3: ethernet@e6000 {
39	};
40
41	enet4: ethernet@e8000 {
42		pcsphy-handle = <&pcsphy4>, <&qsgmiib_pcs2>;
43		pcs-handle-names = "sgmii", "qsgmii";
44	};
45
46	enet5: ethernet@ea000 {
47		pcsphy-handle = <&pcsphy5>, <&qsgmiib_pcs3>;
48		pcs-handle-names = "sgmii", "qsgmii";
49	};
50
51	enet6: ethernet@f0000 {
52	};
53
54	mdio@e1000 {
55		qsgmiib_pcs1: ethernet-pcs@1 {
56			compatible = "fsl,lynx-pcs";
57			reg = <0x1>;
58		};
59
60		qsgmiib_pcs2: ethernet-pcs@2 {
61			compatible = "fsl,lynx-pcs";
62			reg = <0x2>;
63		};
64
65		qsgmiib_pcs3: ethernet-pcs@3 {
66			compatible = "fsl,lynx-pcs";
67			reg = <0x3>;
68		};
69	};
70};
71