1c66ec88fSEmmanuel Vadot/* 2c66ec88fSEmmanuel Vadot * QorIQ FMan v3 10g port #1 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_0x11: port@91000 { 37c66ec88fSEmmanuel Vadot cell-index = <0x11>; 38c66ec88fSEmmanuel Vadot compatible = "fsl,fman-v3-port-rx"; 39c66ec88fSEmmanuel Vadot reg = <0x91000 0x1000>; 40c66ec88fSEmmanuel Vadot fsl,fman-10g-port; 41c66ec88fSEmmanuel Vadot }; 42c66ec88fSEmmanuel Vadot 43c66ec88fSEmmanuel Vadot fman1_tx_0x31: port@b1000 { 44c66ec88fSEmmanuel Vadot cell-index = <0x31>; 45c66ec88fSEmmanuel Vadot compatible = "fsl,fman-v3-port-tx"; 46c66ec88fSEmmanuel Vadot reg = <0xb1000 0x1000>; 47c66ec88fSEmmanuel Vadot fsl,fman-10g-port; 48c66ec88fSEmmanuel Vadot }; 49c66ec88fSEmmanuel Vadot 50c66ec88fSEmmanuel Vadot ethernet@f2000 { 51c66ec88fSEmmanuel Vadot cell-index = <0x9>; 52c66ec88fSEmmanuel Vadot compatible = "fsl,fman-memac"; 53c66ec88fSEmmanuel Vadot reg = <0xf2000 0x1000>; 54c66ec88fSEmmanuel Vadot fsl,fman-ports = <&fman1_rx_0x11 &fman1_tx_0x31>; 55*8bab661aSEmmanuel Vadot pcsphy-handle = <&pcsphy15>, <&qsgmiid_pcs3>, <&pcsphy15>; 56*8bab661aSEmmanuel Vadot pcs-handle-names = "sgmii", "qsgmii", "xfi"; 57*8bab661aSEmmanuel Vadot }; 58*8bab661aSEmmanuel Vadot 59*8bab661aSEmmanuel Vadot mdio@e9000 { 60*8bab661aSEmmanuel Vadot qsgmiid_pcs3: ethernet-pcs@3 { 61*8bab661aSEmmanuel Vadot compatible = "fsl,lynx-pcs"; 62*8bab661aSEmmanuel Vadot reg = <3>; 63*8bab661aSEmmanuel Vadot }; 64c66ec88fSEmmanuel Vadot }; 65c66ec88fSEmmanuel Vadot 66c66ec88fSEmmanuel Vadot mdio@f3000 { 67c66ec88fSEmmanuel Vadot #address-cells = <1>; 68c66ec88fSEmmanuel Vadot #size-cells = <0>; 69c66ec88fSEmmanuel Vadot compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio"; 70c66ec88fSEmmanuel Vadot reg = <0xf3000 0x1000>; 71c66ec88fSEmmanuel Vadot fsl,erratum-a011043; /* must ignore read errors */ 72c66ec88fSEmmanuel Vadot 73c66ec88fSEmmanuel Vadot pcsphy15: ethernet-phy@0 { 74c66ec88fSEmmanuel Vadot reg = <0x0>; 75c66ec88fSEmmanuel Vadot }; 76c66ec88fSEmmanuel Vadot }; 77c66ec88fSEmmanuel Vadot}; 78