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