xref: /freebsd/sys/contrib/device-tree/src/powerpc/fsl/qoriq-fman3-1-1g-0.dtsi (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
1c66ec88fSEmmanuel Vadot/*
2c66ec88fSEmmanuel Vadot * QorIQ FMan v3 1g port #0 device tree stub [ controller @ offset 0x500000 ]
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@500000 {
36c66ec88fSEmmanuel Vadot	fman1_rx_0x08: port@88000 {
37c66ec88fSEmmanuel Vadot		cell-index = <0x8>;
38c66ec88fSEmmanuel Vadot		compatible = "fsl,fman-v3-port-rx";
39c66ec88fSEmmanuel Vadot		reg = <0x88000 0x1000>;
40c66ec88fSEmmanuel Vadot	};
41c66ec88fSEmmanuel Vadot
42c66ec88fSEmmanuel Vadot	fman1_tx_0x28: port@a8000 {
43c66ec88fSEmmanuel Vadot		cell-index = <0x28>;
44c66ec88fSEmmanuel Vadot		compatible = "fsl,fman-v3-port-tx";
45c66ec88fSEmmanuel Vadot		reg = <0xa8000 0x1000>;
46c66ec88fSEmmanuel Vadot	};
47c66ec88fSEmmanuel Vadot
48c66ec88fSEmmanuel Vadot	ethernet@e0000 {
49c66ec88fSEmmanuel Vadot		cell-index = <0>;
50c66ec88fSEmmanuel Vadot		compatible = "fsl,fman-memac";
51c66ec88fSEmmanuel Vadot		reg = <0xe0000 0x1000>;
52c66ec88fSEmmanuel Vadot		fsl,fman-ports = <&fman1_rx_0x08 &fman1_tx_0x28>;
53c66ec88fSEmmanuel Vadot		ptp-timer = <&ptp_timer1>;
54*8bab661aSEmmanuel Vadot		pcsphy-handle = <&pcsphy8>, <&pcsphy8>;
55*8bab661aSEmmanuel Vadot		pcs-handle-names = "sgmii", "qsgmii";
56c66ec88fSEmmanuel Vadot	};
57c66ec88fSEmmanuel Vadot
58c66ec88fSEmmanuel Vadot	mdio@e1000 {
59c66ec88fSEmmanuel Vadot		#address-cells = <1>;
60c66ec88fSEmmanuel Vadot		#size-cells = <0>;
61c66ec88fSEmmanuel Vadot		compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
62c66ec88fSEmmanuel Vadot		reg = <0xe1000 0x1000>;
63c66ec88fSEmmanuel Vadot		fsl,erratum-a011043; /* must ignore read errors */
64c66ec88fSEmmanuel Vadot
65c66ec88fSEmmanuel Vadot		pcsphy8: ethernet-phy@0 {
66c66ec88fSEmmanuel Vadot			reg = <0x0>;
67c66ec88fSEmmanuel Vadot		};
68c66ec88fSEmmanuel Vadot	};
69c66ec88fSEmmanuel Vadot};
70