xref: /freebsd/sys/contrib/device-tree/src/powerpc/fsl/qoriq-fman3-1-1g-5.dtsi (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
1c66ec88fSEmmanuel Vadot/*
2c66ec88fSEmmanuel Vadot * QorIQ FMan v3 1g port #5 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_0x0d: port@8d000 {
37c66ec88fSEmmanuel Vadot		cell-index = <0xd>;
38c66ec88fSEmmanuel Vadot		compatible = "fsl,fman-v3-port-rx";
39c66ec88fSEmmanuel Vadot		reg = <0x8d000 0x1000>;
40c66ec88fSEmmanuel Vadot	};
41c66ec88fSEmmanuel Vadot
42c66ec88fSEmmanuel Vadot	fman1_tx_0x2d: port@ad000 {
43c66ec88fSEmmanuel Vadot		cell-index = <0x2d>;
44c66ec88fSEmmanuel Vadot		compatible = "fsl,fman-v3-port-tx";
45c66ec88fSEmmanuel Vadot		reg = <0xad000 0x1000>;
46c66ec88fSEmmanuel Vadot	};
47c66ec88fSEmmanuel Vadot
48c66ec88fSEmmanuel Vadot	ethernet@ea000 {
49c66ec88fSEmmanuel Vadot		cell-index = <5>;
50c66ec88fSEmmanuel Vadot		compatible = "fsl,fman-memac";
51c66ec88fSEmmanuel Vadot		reg = <0xea000 0x1000>;
52c66ec88fSEmmanuel Vadot		fsl,fman-ports = <&fman1_rx_0x0d &fman1_tx_0x2d>;
53c66ec88fSEmmanuel Vadot		ptp-timer = <&ptp_timer1>;
54*8bab661aSEmmanuel Vadot		pcsphy-handle = <&pcsphy13>, <&qsgmiid_pcs1>;
55*8bab661aSEmmanuel Vadot		pcs-handle-names = "sgmii", "qsgmii";
56*8bab661aSEmmanuel Vadot	};
57*8bab661aSEmmanuel Vadot
58*8bab661aSEmmanuel Vadot	mdio@e9000 {
59*8bab661aSEmmanuel Vadot		qsgmiid_pcs1: ethernet-pcs@1 {
60*8bab661aSEmmanuel Vadot			compatible = "fsl,lynx-pcs";
61*8bab661aSEmmanuel Vadot			reg = <1>;
62*8bab661aSEmmanuel Vadot		};
63c66ec88fSEmmanuel Vadot	};
64c66ec88fSEmmanuel Vadot
65c66ec88fSEmmanuel Vadot	mdio@eb000 {
66c66ec88fSEmmanuel Vadot		#address-cells = <1>;
67c66ec88fSEmmanuel Vadot		#size-cells = <0>;
68c66ec88fSEmmanuel Vadot		compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
69c66ec88fSEmmanuel Vadot		reg = <0xeb000 0x1000>;
70c66ec88fSEmmanuel Vadot		fsl,erratum-a011043; /* must ignore read errors */
71c66ec88fSEmmanuel Vadot
72c66ec88fSEmmanuel Vadot		pcsphy13: ethernet-phy@0 {
73c66ec88fSEmmanuel Vadot			reg = <0x0>;
74c66ec88fSEmmanuel Vadot		};
75c66ec88fSEmmanuel Vadot	};
76c66ec88fSEmmanuel Vadot};
77