162306a36Sopenharmony_ci/*
262306a36Sopenharmony_ci * QorIQ FMan v3 1g port #4 device tree stub [ controller @ offset 0x400000 ]
362306a36Sopenharmony_ci *
462306a36Sopenharmony_ci * Copyright 2012 - 2015 Freescale Semiconductor Inc.
562306a36Sopenharmony_ci *
662306a36Sopenharmony_ci * Redistribution and use in source and binary forms, with or without
762306a36Sopenharmony_ci * modification, are permitted provided that the following conditions are met:
862306a36Sopenharmony_ci *     * Redistributions of source code must retain the above copyright
962306a36Sopenharmony_ci *	 notice, this list of conditions and the following disclaimer.
1062306a36Sopenharmony_ci *     * Redistributions in binary form must reproduce the above copyright
1162306a36Sopenharmony_ci *	 notice, this list of conditions and the following disclaimer in the
1262306a36Sopenharmony_ci *	 documentation and/or other materials provided with the distribution.
1362306a36Sopenharmony_ci *     * Neither the name of Freescale Semiconductor nor the
1462306a36Sopenharmony_ci *	 names of its contributors may be used to endorse or promote products
1562306a36Sopenharmony_ci *	 derived from this software without specific prior written permission.
1662306a36Sopenharmony_ci *
1762306a36Sopenharmony_ci *
1862306a36Sopenharmony_ci * ALTERNATIVELY, this software may be distributed under the terms of the
1962306a36Sopenharmony_ci * GNU General Public License ("GPL") as published by the Free Software
2062306a36Sopenharmony_ci * Foundation, either version 2 of that License or (at your option) any
2162306a36Sopenharmony_ci * later version.
2262306a36Sopenharmony_ci *
2362306a36Sopenharmony_ci * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
2462306a36Sopenharmony_ci * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2562306a36Sopenharmony_ci * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2662306a36Sopenharmony_ci * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
2762306a36Sopenharmony_ci * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
2862306a36Sopenharmony_ci * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
2962306a36Sopenharmony_ci * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
3062306a36Sopenharmony_ci * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3162306a36Sopenharmony_ci * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
3262306a36Sopenharmony_ci * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3362306a36Sopenharmony_ci */
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_cifman@400000 {
3662306a36Sopenharmony_ci	fman0_rx_0x0c: port@8c000 {
3762306a36Sopenharmony_ci		cell-index = <0xc>;
3862306a36Sopenharmony_ci		compatible = "fsl,fman-v3-port-rx";
3962306a36Sopenharmony_ci		reg = <0x8c000 0x1000>;
4062306a36Sopenharmony_ci	};
4162306a36Sopenharmony_ci
4262306a36Sopenharmony_ci	fman0_tx_0x2c: port@ac000 {
4362306a36Sopenharmony_ci		cell-index = <0x2c>;
4462306a36Sopenharmony_ci		compatible = "fsl,fman-v3-port-tx";
4562306a36Sopenharmony_ci		reg = <0xac000 0x1000>;
4662306a36Sopenharmony_ci	};
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_ci	ethernet@e8000 {
4962306a36Sopenharmony_ci		cell-index = <4>;
5062306a36Sopenharmony_ci		compatible = "fsl,fman-memac";
5162306a36Sopenharmony_ci		reg = <0xe8000 0x1000>;
5262306a36Sopenharmony_ci		fsl,fman-ports = <&fman0_rx_0x0c &fman0_tx_0x2c>;
5362306a36Sopenharmony_ci		ptp-timer = <&ptp_timer0>;
5462306a36Sopenharmony_ci		pcsphy-handle = <&pcsphy4>, <&pcsphy4>;
5562306a36Sopenharmony_ci		pcs-handle-names = "sgmii", "qsgmii";
5662306a36Sopenharmony_ci	};
5762306a36Sopenharmony_ci
5862306a36Sopenharmony_ci	mdio@e9000 {
5962306a36Sopenharmony_ci		#address-cells = <1>;
6062306a36Sopenharmony_ci		#size-cells = <0>;
6162306a36Sopenharmony_ci		compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
6262306a36Sopenharmony_ci		reg = <0xe9000 0x1000>;
6362306a36Sopenharmony_ci		fsl,erratum-a011043; /* must ignore read errors */
6462306a36Sopenharmony_ci
6562306a36Sopenharmony_ci		pcsphy4: ethernet-phy@0 {
6662306a36Sopenharmony_ci			reg = <0x0>;
6762306a36Sopenharmony_ci		};
6862306a36Sopenharmony_ci	};
6962306a36Sopenharmony_ci};
70