1d55ad296SIgal Liberman/*
2d55ad296SIgal Liberman * QorIQ FMan v3 10g port #1 device tree stub [ controller @ offset 0x500000 ]
3d55ad296SIgal Liberman *
4d55ad296SIgal Liberman * Copyright 2012 - 2015 Freescale Semiconductor Inc.
5d55ad296SIgal Liberman *
6d55ad296SIgal Liberman * Redistribution and use in source and binary forms, with or without
7d55ad296SIgal Liberman * modification, are permitted provided that the following conditions are met:
8d55ad296SIgal Liberman *     * Redistributions of source code must retain the above copyright
9d55ad296SIgal Liberman *	 notice, this list of conditions and the following disclaimer.
10d55ad296SIgal Liberman *     * Redistributions in binary form must reproduce the above copyright
11d55ad296SIgal Liberman *	 notice, this list of conditions and the following disclaimer in the
12d55ad296SIgal Liberman *	 documentation and/or other materials provided with the distribution.
13d55ad296SIgal Liberman *     * Neither the name of Freescale Semiconductor nor the
14d55ad296SIgal Liberman *	 names of its contributors may be used to endorse or promote products
15d55ad296SIgal Liberman *	 derived from this software without specific prior written permission.
16d55ad296SIgal Liberman *
17d55ad296SIgal Liberman *
18d55ad296SIgal Liberman * ALTERNATIVELY, this software may be distributed under the terms of the
19d55ad296SIgal Liberman * GNU General Public License ("GPL") as published by the Free Software
20d55ad296SIgal Liberman * Foundation, either version 2 of that License or (at your option) any
21d55ad296SIgal Liberman * later version.
22d55ad296SIgal Liberman *
23d55ad296SIgal Liberman * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
24d55ad296SIgal Liberman * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25d55ad296SIgal Liberman * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26d55ad296SIgal Liberman * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
27d55ad296SIgal Liberman * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28d55ad296SIgal Liberman * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29d55ad296SIgal Liberman * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30d55ad296SIgal Liberman * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31d55ad296SIgal Liberman * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32d55ad296SIgal Liberman * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33d55ad296SIgal Liberman */
34d55ad296SIgal Liberman
35d55ad296SIgal Libermanfman@500000 {
36d55ad296SIgal Liberman	fman1_rx_0x11: port@91000 {
37d55ad296SIgal Liberman		cell-index = <0x11>;
38d55ad296SIgal Liberman		compatible = "fsl,fman-v3-port-rx";
39d55ad296SIgal Liberman		reg = <0x91000 0x1000>;
40d55ad296SIgal Liberman		fsl,fman-10g-port;
41d55ad296SIgal Liberman	};
42d55ad296SIgal Liberman
43d55ad296SIgal Liberman	fman1_tx_0x31: port@b1000 {
44d55ad296SIgal Liberman		cell-index = <0x31>;
45d55ad296SIgal Liberman		compatible = "fsl,fman-v3-port-tx";
46d55ad296SIgal Liberman		reg = <0xb1000 0x1000>;
47d55ad296SIgal Liberman		fsl,fman-10g-port;
48d55ad296SIgal Liberman	};
49d55ad296SIgal Liberman
50d55ad296SIgal Liberman	ethernet@f2000 {
51d55ad296SIgal Liberman		cell-index = <0x9>;
52d55ad296SIgal Liberman		compatible = "fsl,fman-memac";
53d55ad296SIgal Liberman		reg = <0xf2000 0x1000>;
54d55ad296SIgal Liberman		fsl,fman-ports = <&fman1_rx_0x11 &fman1_tx_0x31>;
55*4e31b808SSean Anderson		pcsphy-handle = <&pcsphy15>, <&qsgmiid_pcs3>, <&pcsphy15>;
56*4e31b808SSean Anderson		pcs-handle-names = "sgmii", "qsgmii", "xfi";
57*4e31b808SSean Anderson	};
58*4e31b808SSean Anderson
59*4e31b808SSean Anderson	mdio@e9000 {
60*4e31b808SSean Anderson		qsgmiid_pcs3: ethernet-pcs@3 {
61*4e31b808SSean Anderson			compatible = "fsl,lynx-pcs";
62*4e31b808SSean Anderson			reg = <3>;
63*4e31b808SSean Anderson		};
64d55ad296SIgal Liberman	};
65d55ad296SIgal Liberman
66d55ad296SIgal Liberman	mdio@f3000 {
67d55ad296SIgal Liberman		#address-cells = <1>;
68d55ad296SIgal Liberman		#size-cells = <0>;
69d55ad296SIgal Liberman		compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
70d55ad296SIgal Liberman		reg = <0xf3000 0x1000>;
7173d527aeSMadalin Bucur		fsl,erratum-a011043; /* must ignore read errors */
7284d3e248SIgal Liberman
7384d3e248SIgal Liberman		pcsphy15: ethernet-phy@0 {
7484d3e248SIgal Liberman			reg = <0x0>;
7584d3e248SIgal Liberman		};
76d55ad296SIgal Liberman	};
77d55ad296SIgal Liberman};
78