Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * QorIQ FMan v3 device tree stub [ controller @ offset 0x500000 ]
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 fman1: fman@500000 {
0036         #address-cells = <1>;
0037         #size-cells = <1>;
0038         cell-index = <1>;
0039         compatible = "fsl,fman";
0040         ranges = <0 0x500000 0xfe000>;
0041         reg = <0x500000 0xfe000>;
0042         interrupts = <97 2 0 0>, <16 2 1 0>;
0043         clocks = <&clockgen 3 1>;
0044         clock-names = "fmanclk";
0045         fsl,qman-channel-range = <0x820 0x10>;
0046         ptimer-handle = <&ptp_timer1>;
0047 
0048         muram@0 {
0049                 compatible = "fsl,fman-muram";
0050                 reg = <0x0 0x60000>;
0051         };
0052 
0053         fman1_oh_0x2: port@82000 {
0054                 cell-index = <0x2>;
0055                 compatible = "fsl,fman-v3-port-oh";
0056                 reg = <0x82000 0x1000>;
0057         };
0058 
0059         fman1_oh_0x3: port@83000 {
0060                 cell-index = <0x3>;
0061                 compatible = "fsl,fman-v3-port-oh";
0062                 reg = <0x83000 0x1000>;
0063         };
0064 
0065         fman1_oh_0x4: port@84000 {
0066                 cell-index = <0x4>;
0067                 compatible = "fsl,fman-v3-port-oh";
0068                 reg = <0x84000 0x1000>;
0069         };
0070 
0071         fman1_oh_0x5: port@85000 {
0072                 cell-index = <0x5>;
0073                 compatible = "fsl,fman-v3-port-oh";
0074                 reg = <0x85000 0x1000>;
0075         };
0076 
0077         fman1_oh_0x6: port@86000 {
0078                 cell-index = <0x6>;
0079                 compatible = "fsl,fman-v3-port-oh";
0080                 reg = <0x86000 0x1000>;
0081         };
0082 
0083         fman1_oh_0x7: port@87000 {
0084                 cell-index = <0x7>;
0085                 compatible = "fsl,fman-v3-port-oh";
0086                 reg = <0x87000 0x1000>;
0087         };
0088 
0089         mdio1: mdio@fc000 {
0090                 #address-cells = <1>;
0091                 #size-cells = <0>;
0092                 compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
0093                 reg = <0xfc000 0x1000>;
0094         };
0095 
0096         mdio@fd000 {
0097                 #address-cells = <1>;
0098                 #size-cells = <0>;
0099                 compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
0100                 reg = <0xfd000 0x1000>;
0101         };
0102 };
0103 
0104 ptp_timer1: ptp-timer@5fe000 {
0105         compatible = "fsl,fman-ptp-timer";
0106         reg = <0x5fe000 0x1000>;
0107         interrupts = <97 2 0 0>;
0108         clocks = <&clockgen 3 1>;
0109 };