1d55ad296SIgal Liberman/*
2d55ad296SIgal Liberman * QorIQ FMan v3 10g port #1 device tree stub [ controller @ offset 0x400000 ]
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@400000 {
36d55ad296SIgal Liberman	fman0_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	fman0_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 = <&fman0_rx_0x11 &fman0_tx_0x31>;
5584d3e248SIgal Liberman		pcsphy-handle = <&pcsphy7>;
56d55ad296SIgal Liberman	};
57d55ad296SIgal Liberman
58d55ad296SIgal Liberman	mdio@f3000 {
59d55ad296SIgal Liberman		#address-cells = <1>;
60d55ad296SIgal Liberman		#size-cells = <0>;
61d55ad296SIgal Liberman		compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
62d55ad296SIgal Liberman		reg = <0xf3000 0x1000>;
6373d527aeSMadalin Bucur		fsl,erratum-a011043; /* must ignore read errors */
6484d3e248SIgal Liberman
6584d3e248SIgal Liberman		pcsphy7: ethernet-phy@0 {
6684d3e248SIgal Liberman			reg = <0x0>;
6784d3e248SIgal Liberman		};
68d55ad296SIgal Liberman	};
69d55ad296SIgal Liberman};
70