xref: /linux/arch/powerpc/boot/dts/fsl/qoriq-fman3-0-10g-0-best-effort.dtsi (revision 7ae9fb1b7ecbb5d85d07857943f677fd1a559b18)
1d55ad296SIgal Liberman/*
2d55ad296SIgal Liberman * QorIQ FMan v3 1g port #0 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_0x08: port@88000 {
37d55ad296SIgal Liberman		cell-index = <0x8>;
38d55ad296SIgal Liberman		compatible = "fsl,fman-v3-port-rx";
39d55ad296SIgal Liberman		reg = <0x88000 0x1000>;
40d55ad296SIgal Liberman		fsl,fman-10g-port;
41d55ad296SIgal Liberman		fsl,fman-best-effort-port;
42d55ad296SIgal Liberman	};
43d55ad296SIgal Liberman
44d55ad296SIgal Liberman	fman0_tx_0x28: port@a8000 {
45d55ad296SIgal Liberman		cell-index = <0x28>;
46d55ad296SIgal Liberman		compatible = "fsl,fman-v3-port-tx";
47d55ad296SIgal Liberman		reg = <0xa8000 0x1000>;
48d55ad296SIgal Liberman		fsl,fman-10g-port;
49d55ad296SIgal Liberman		fsl,fman-best-effort-port;
50d55ad296SIgal Liberman	};
51d55ad296SIgal Liberman
52d55ad296SIgal Liberman	ethernet@e0000 {
53d55ad296SIgal Liberman		cell-index = <0>;
54d55ad296SIgal Liberman		compatible = "fsl,fman-memac";
55d55ad296SIgal Liberman		reg = <0xe0000 0x1000>;
56d55ad296SIgal Liberman		fsl,fman-ports = <&fman0_rx_0x08 &fman0_tx_0x28>;
57d55ad296SIgal Liberman		ptp-timer = <&ptp_timer0>;
58*4e31b808SSean Anderson		pcsphy-handle = <&pcsphy0>, <&pcsphy0>;
59*4e31b808SSean Anderson		pcs-handle-names = "sgmii", "qsgmii";
60d55ad296SIgal Liberman	};
61d55ad296SIgal Liberman
62d55ad296SIgal Liberman	mdio@e1000 {
63d55ad296SIgal Liberman		#address-cells = <1>;
64d55ad296SIgal Liberman		#size-cells = <0>;
65d55ad296SIgal Liberman		compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
66d55ad296SIgal Liberman		reg = <0xe1000 0x1000>;
6773d527aeSMadalin Bucur		fsl,erratum-a011043; /* must ignore read errors */
6884d3e248SIgal Liberman
6984d3e248SIgal Liberman		pcsphy0: ethernet-phy@0 {
7084d3e248SIgal Liberman			reg = <0x0>;
7184d3e248SIgal Liberman		};
72d55ad296SIgal Liberman	};
73d55ad296SIgal Liberman};
74