Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * QorIQ FMan v3 10g port #1 device tree stub [ controller @ offset 0x400000 ]
0003  *
0004  * Copyright 2012 - 2015 Freescale Semiconductor Inc.
0005  *
0006  * Redistribution and use in source and binary forms, with or without
0007  * modification, are permitted provided that the following conditions are met:
0008  *     * Redistributions of source code must retain the above copyright
0009  *       notice, this list of conditions and the following disclaimer.
0010  *     * Redistributions in binary form must reproduce the above copyright
0011  *       notice, this list of conditions and the following disclaimer in the
0012  *       documentation and/or other materials provided with the distribution.
0013  *     * Neither the name of Freescale Semiconductor nor the
0014  *       names of its contributors may be used to endorse or promote products
0015  *       derived from this software without specific prior written permission.
0016  *
0017  *
0018  * ALTERNATIVELY, this software may be distributed under the terms of the
0019  * GNU General Public License ("GPL") as published by the Free Software
0020  * Foundation, either version 2 of that License or (at your option) any
0021  * later version.
0022  *
0023  * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
0024  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
0025  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
0026  * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
0027  * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
0028  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
0029  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
0030  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
0031  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
0032  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
0033  */
0034 
0035 fman@400000 {
0036         fman0_rx_0x11: port@91000 {
0037                 cell-index = <0x11>;
0038                 compatible = "fsl,fman-v3-port-rx";
0039                 reg = <0x91000 0x1000>;
0040                 fsl,fman-10g-port;
0041         };
0042 
0043         fman0_tx_0x31: port@b1000 {
0044                 cell-index = <0x31>;
0045                 compatible = "fsl,fman-v3-port-tx";
0046                 reg = <0xb1000 0x1000>;
0047                 fsl,fman-10g-port;
0048         };
0049 
0050         ethernet@f2000 {
0051                 cell-index = <0x9>;
0052                 compatible = "fsl,fman-memac";
0053                 reg = <0xf2000 0x1000>;
0054                 fsl,fman-ports = <&fman0_rx_0x11 &fman0_tx_0x31>;
0055                 pcsphy-handle = <&pcsphy7>;
0056         };
0057 
0058         mdio@f3000 {
0059                 #address-cells = <1>;
0060                 #size-cells = <0>;
0061                 compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
0062                 reg = <0xf3000 0x1000>;
0063                 fsl,erratum-a011043; /* must ignore read errors */
0064 
0065                 pcsphy7: ethernet-phy@0 {
0066                         reg = <0x0>;
0067                 };
0068         };
0069 };