Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * QorIQ FMan 1g port #1 device tree stub [ controller @ offset 0x400000 ]
0003  *
0004  * Copyright 2011 - 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_0x09: port@89000 {
0037                 cell-index = <0x9>;
0038                 compatible = "fsl,fman-v2-port-rx";
0039                 reg = <0x89000 0x1000>;
0040         };
0041 
0042         fman0_tx_0x29: port@a9000 {
0043                 cell-index = <0x29>;
0044                 compatible = "fsl,fman-v2-port-tx";
0045                 reg = <0xa9000 0x1000>;
0046         };
0047 
0048         ethernet@e2000 {
0049                 cell-index = <1>;
0050                 compatible = "fsl,fman-dtsec";
0051                 reg = <0xe2000 0x1000>;
0052                 fsl,fman-ports = <&fman0_rx_0x09 &fman0_tx_0x29>;
0053                 tbi-handle = <&tbi1>;
0054                 ptp-timer = <&ptp_timer0>;
0055         };
0056 
0057         mdio@e3120 {
0058                 #address-cells = <1>;
0059                 #size-cells = <0>;
0060                 compatible = "fsl,fman-mdio";
0061                 reg = <0xe3120 0xee0>;
0062 
0063                 tbi1: tbi-phy@8 {
0064                         reg = <0x8>;
0065                         device_type = "tbi-phy";
0066                 };
0067         };
0068 };