xref: /freebsd-src/sys/contrib/device-tree/src/powerpc/fsl/qoriq-fman3-0-10g-1-best-effort.dtsi (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
1c66ec88fSEmmanuel Vadot/*
2c66ec88fSEmmanuel Vadot * QorIQ FMan v3 1g port #1 device tree stub [ controller @ offset 0x400000 ]
3c66ec88fSEmmanuel Vadot *
4c66ec88fSEmmanuel Vadot * Copyright 2012 - 2015 Freescale Semiconductor Inc.
5c66ec88fSEmmanuel Vadot *
6c66ec88fSEmmanuel Vadot * Redistribution and use in source and binary forms, with or without
7c66ec88fSEmmanuel Vadot * modification, are permitted provided that the following conditions are met:
8c66ec88fSEmmanuel Vadot *     * Redistributions of source code must retain the above copyright
9c66ec88fSEmmanuel Vadot *	 notice, this list of conditions and the following disclaimer.
10c66ec88fSEmmanuel Vadot *     * Redistributions in binary form must reproduce the above copyright
11c66ec88fSEmmanuel Vadot *	 notice, this list of conditions and the following disclaimer in the
12c66ec88fSEmmanuel Vadot *	 documentation and/or other materials provided with the distribution.
13c66ec88fSEmmanuel Vadot *     * Neither the name of Freescale Semiconductor nor the
14c66ec88fSEmmanuel Vadot *	 names of its contributors may be used to endorse or promote products
15c66ec88fSEmmanuel Vadot *	 derived from this software without specific prior written permission.
16c66ec88fSEmmanuel Vadot *
17c66ec88fSEmmanuel Vadot *
18c66ec88fSEmmanuel Vadot * ALTERNATIVELY, this software may be distributed under the terms of the
19c66ec88fSEmmanuel Vadot * GNU General Public License ("GPL") as published by the Free Software
20c66ec88fSEmmanuel Vadot * Foundation, either version 2 of that License or (at your option) any
21c66ec88fSEmmanuel Vadot * later version.
22c66ec88fSEmmanuel Vadot *
23c66ec88fSEmmanuel Vadot * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
24c66ec88fSEmmanuel Vadot * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25c66ec88fSEmmanuel Vadot * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26c66ec88fSEmmanuel Vadot * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
27c66ec88fSEmmanuel Vadot * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28c66ec88fSEmmanuel Vadot * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29c66ec88fSEmmanuel Vadot * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30c66ec88fSEmmanuel Vadot * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31c66ec88fSEmmanuel Vadot * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32c66ec88fSEmmanuel Vadot * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33c66ec88fSEmmanuel Vadot */
34c66ec88fSEmmanuel Vadot
35c66ec88fSEmmanuel Vadotfman@400000 {
36c66ec88fSEmmanuel Vadot	fman0_rx_0x09: port@89000 {
37c66ec88fSEmmanuel Vadot		cell-index = <0x9>;
38c66ec88fSEmmanuel Vadot		compatible = "fsl,fman-v3-port-rx";
39c66ec88fSEmmanuel Vadot		reg = <0x89000 0x1000>;
40c66ec88fSEmmanuel Vadot		fsl,fman-10g-port;
41c66ec88fSEmmanuel Vadot		fsl,fman-best-effort-port;
42c66ec88fSEmmanuel Vadot	};
43c66ec88fSEmmanuel Vadot
44c66ec88fSEmmanuel Vadot	fman0_tx_0x29: port@a9000 {
45c66ec88fSEmmanuel Vadot		cell-index = <0x29>;
46c66ec88fSEmmanuel Vadot		compatible = "fsl,fman-v3-port-tx";
47c66ec88fSEmmanuel Vadot		reg = <0xa9000 0x1000>;
48c66ec88fSEmmanuel Vadot		fsl,fman-10g-port;
49c66ec88fSEmmanuel Vadot		fsl,fman-best-effort-port;
50c66ec88fSEmmanuel Vadot	};
51c66ec88fSEmmanuel Vadot
52c66ec88fSEmmanuel Vadot	ethernet@e2000 {
53c66ec88fSEmmanuel Vadot		cell-index = <1>;
54c66ec88fSEmmanuel Vadot		compatible = "fsl,fman-memac";
55c66ec88fSEmmanuel Vadot		reg = <0xe2000 0x1000>;
56c66ec88fSEmmanuel Vadot		fsl,fman-ports = <&fman0_rx_0x09 &fman0_tx_0x29>;
57c66ec88fSEmmanuel Vadot		ptp-timer = <&ptp_timer0>;
58*8bab661aSEmmanuel Vadot		pcsphy-handle = <&pcsphy1>, <&qsgmiia_pcs1>;
59*8bab661aSEmmanuel Vadot		pcs-handle-names = "sgmii", "qsgmii";
60*8bab661aSEmmanuel Vadot	};
61*8bab661aSEmmanuel Vadot
62*8bab661aSEmmanuel Vadot	mdio@e1000 {
63*8bab661aSEmmanuel Vadot		qsgmiia_pcs1: ethernet-pcs@1 {
64*8bab661aSEmmanuel Vadot			compatible = "fsl,lynx-pcs";
65*8bab661aSEmmanuel Vadot			reg = <1>;
66*8bab661aSEmmanuel Vadot		};
67c66ec88fSEmmanuel Vadot	};
68c66ec88fSEmmanuel Vadot
69c66ec88fSEmmanuel Vadot	mdio@e3000 {
70c66ec88fSEmmanuel Vadot		#address-cells = <1>;
71c66ec88fSEmmanuel Vadot		#size-cells = <0>;
72c66ec88fSEmmanuel Vadot		compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
73c66ec88fSEmmanuel Vadot		reg = <0xe3000 0x1000>;
74c66ec88fSEmmanuel Vadot		fsl,erratum-a011043; /* must ignore read errors */
75c66ec88fSEmmanuel Vadot
76c66ec88fSEmmanuel Vadot		pcsphy1: ethernet-phy@0 {
77c66ec88fSEmmanuel Vadot			reg = <0x0>;
78c66ec88fSEmmanuel Vadot		};
79c66ec88fSEmmanuel Vadot	};
80c66ec88fSEmmanuel Vadot};
81