1c66ec88fSEmmanuel Vadot/* 2c66ec88fSEmmanuel Vadot * T1040RDB Device Tree Source 3c66ec88fSEmmanuel Vadot * 4c66ec88fSEmmanuel Vadot * Copyright 2014 - 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 Vadot/include/ "t104xsi-pre.dtsi" 36c66ec88fSEmmanuel Vadot/include/ "t104xrdb.dtsi" 37c66ec88fSEmmanuel Vadot 38c66ec88fSEmmanuel Vadot/ { 39c66ec88fSEmmanuel Vadot model = "fsl,T1040RDB"; 40c66ec88fSEmmanuel Vadot compatible = "fsl,T1040RDB"; 41c66ec88fSEmmanuel Vadot 42c66ec88fSEmmanuel Vadot aliases { 43c66ec88fSEmmanuel Vadot phy_sgmii_2 = &phy_sgmii_2; 44c66ec88fSEmmanuel Vadot }; 45c66ec88fSEmmanuel Vadot 46c66ec88fSEmmanuel Vadot soc@ffe000000 { 47c66ec88fSEmmanuel Vadot fman@400000 { 48c66ec88fSEmmanuel Vadot ethernet@e0000 { 49c66ec88fSEmmanuel Vadot fixed-link = <0 1 1000 0 0>; 50c66ec88fSEmmanuel Vadot phy-connection-type = "sgmii"; 51c66ec88fSEmmanuel Vadot }; 52c66ec88fSEmmanuel Vadot 53c66ec88fSEmmanuel Vadot ethernet@e2000 { 54c66ec88fSEmmanuel Vadot fixed-link = <1 1 1000 0 0>; 55c66ec88fSEmmanuel Vadot phy-connection-type = "sgmii"; 56c66ec88fSEmmanuel Vadot }; 57c66ec88fSEmmanuel Vadot 58c66ec88fSEmmanuel Vadot ethernet@e4000 { 59c66ec88fSEmmanuel Vadot phy-handle = <&phy_sgmii_2>; 60c66ec88fSEmmanuel Vadot phy-connection-type = "sgmii"; 61c66ec88fSEmmanuel Vadot }; 62c66ec88fSEmmanuel Vadot 63c66ec88fSEmmanuel Vadot mdio@fc000 { 64c66ec88fSEmmanuel Vadot phy_sgmii_2: ethernet-phy@3 { 65c66ec88fSEmmanuel Vadot reg = <0x03>; 66c66ec88fSEmmanuel Vadot }; 676be33864SEmmanuel Vadot 686be33864SEmmanuel Vadot /* VSC8514 QSGMII PHY */ 696be33864SEmmanuel Vadot phy_qsgmii_0: ethernet-phy@4 { 706be33864SEmmanuel Vadot reg = <0x4>; 716be33864SEmmanuel Vadot }; 726be33864SEmmanuel Vadot 736be33864SEmmanuel Vadot phy_qsgmii_1: ethernet-phy@5 { 746be33864SEmmanuel Vadot reg = <0x5>; 756be33864SEmmanuel Vadot }; 766be33864SEmmanuel Vadot 776be33864SEmmanuel Vadot phy_qsgmii_2: ethernet-phy@6 { 786be33864SEmmanuel Vadot reg = <0x6>; 796be33864SEmmanuel Vadot }; 806be33864SEmmanuel Vadot 816be33864SEmmanuel Vadot phy_qsgmii_3: ethernet-phy@7 { 826be33864SEmmanuel Vadot reg = <0x7>; 836be33864SEmmanuel Vadot }; 846be33864SEmmanuel Vadot 856be33864SEmmanuel Vadot /* VSC8514 QSGMII PHY */ 866be33864SEmmanuel Vadot phy_qsgmii_4: ethernet-phy@8 { 876be33864SEmmanuel Vadot reg = <0x8>; 886be33864SEmmanuel Vadot }; 896be33864SEmmanuel Vadot 906be33864SEmmanuel Vadot phy_qsgmii_5: ethernet-phy@9 { 916be33864SEmmanuel Vadot reg = <0x9>; 926be33864SEmmanuel Vadot }; 936be33864SEmmanuel Vadot 946be33864SEmmanuel Vadot phy_qsgmii_6: ethernet-phy@a { 956be33864SEmmanuel Vadot reg = <0xa>; 966be33864SEmmanuel Vadot }; 976be33864SEmmanuel Vadot 986be33864SEmmanuel Vadot phy_qsgmii_7: ethernet-phy@b { 996be33864SEmmanuel Vadot reg = <0xb>; 1006be33864SEmmanuel Vadot }; 101c66ec88fSEmmanuel Vadot }; 102c66ec88fSEmmanuel Vadot }; 103c66ec88fSEmmanuel Vadot }; 104c66ec88fSEmmanuel Vadot 105c66ec88fSEmmanuel Vadot ifc: localbus@ffe124000 { 106c66ec88fSEmmanuel Vadot cpld@3,0 { 107*7d0873ebSEmmanuel Vadot compatible = "fsl,t104xrdb-cpld", "fsl,deepsleep-cpld"; 108c66ec88fSEmmanuel Vadot }; 109c66ec88fSEmmanuel Vadot }; 110c66ec88fSEmmanuel Vadot}; 111c66ec88fSEmmanuel Vadot 112c66ec88fSEmmanuel Vadot#include "t1040si-post.dtsi" 1136be33864SEmmanuel Vadot 1146be33864SEmmanuel Vadot&seville_switch { 1156be33864SEmmanuel Vadot status = "okay"; 1166be33864SEmmanuel Vadot}; 1176be33864SEmmanuel Vadot 1186be33864SEmmanuel Vadot&seville_port0 { 1196be33864SEmmanuel Vadot managed = "in-band-status"; 1206be33864SEmmanuel Vadot phy-handle = <&phy_qsgmii_0>; 1216be33864SEmmanuel Vadot phy-mode = "qsgmii"; 122c9ccf3a3SEmmanuel Vadot label = "ETH3"; 1236be33864SEmmanuel Vadot status = "okay"; 1246be33864SEmmanuel Vadot}; 1256be33864SEmmanuel Vadot 1266be33864SEmmanuel Vadot&seville_port1 { 1276be33864SEmmanuel Vadot managed = "in-band-status"; 1286be33864SEmmanuel Vadot phy-handle = <&phy_qsgmii_1>; 1296be33864SEmmanuel Vadot phy-mode = "qsgmii"; 1306be33864SEmmanuel Vadot label = "ETH4"; 1316be33864SEmmanuel Vadot status = "okay"; 1326be33864SEmmanuel Vadot}; 1336be33864SEmmanuel Vadot 1346be33864SEmmanuel Vadot&seville_port2 { 1356be33864SEmmanuel Vadot managed = "in-band-status"; 1366be33864SEmmanuel Vadot phy-handle = <&phy_qsgmii_2>; 1376be33864SEmmanuel Vadot phy-mode = "qsgmii"; 138c9ccf3a3SEmmanuel Vadot label = "ETH5"; 1396be33864SEmmanuel Vadot status = "okay"; 1406be33864SEmmanuel Vadot}; 1416be33864SEmmanuel Vadot 1426be33864SEmmanuel Vadot&seville_port3 { 1436be33864SEmmanuel Vadot managed = "in-band-status"; 1446be33864SEmmanuel Vadot phy-handle = <&phy_qsgmii_3>; 1456be33864SEmmanuel Vadot phy-mode = "qsgmii"; 1466be33864SEmmanuel Vadot label = "ETH6"; 1476be33864SEmmanuel Vadot status = "okay"; 1486be33864SEmmanuel Vadot}; 1496be33864SEmmanuel Vadot 1506be33864SEmmanuel Vadot&seville_port4 { 1516be33864SEmmanuel Vadot managed = "in-band-status"; 1526be33864SEmmanuel Vadot phy-handle = <&phy_qsgmii_4>; 1536be33864SEmmanuel Vadot phy-mode = "qsgmii"; 154c9ccf3a3SEmmanuel Vadot label = "ETH7"; 1556be33864SEmmanuel Vadot status = "okay"; 1566be33864SEmmanuel Vadot}; 1576be33864SEmmanuel Vadot 1586be33864SEmmanuel Vadot&seville_port5 { 1596be33864SEmmanuel Vadot managed = "in-band-status"; 1606be33864SEmmanuel Vadot phy-handle = <&phy_qsgmii_5>; 1616be33864SEmmanuel Vadot phy-mode = "qsgmii"; 1626be33864SEmmanuel Vadot label = "ETH8"; 1636be33864SEmmanuel Vadot status = "okay"; 1646be33864SEmmanuel Vadot}; 1656be33864SEmmanuel Vadot 1666be33864SEmmanuel Vadot&seville_port6 { 1676be33864SEmmanuel Vadot managed = "in-band-status"; 1686be33864SEmmanuel Vadot phy-handle = <&phy_qsgmii_6>; 1696be33864SEmmanuel Vadot phy-mode = "qsgmii"; 170c9ccf3a3SEmmanuel Vadot label = "ETH9"; 1716be33864SEmmanuel Vadot status = "okay"; 1726be33864SEmmanuel Vadot}; 1736be33864SEmmanuel Vadot 1746be33864SEmmanuel Vadot&seville_port7 { 1756be33864SEmmanuel Vadot managed = "in-band-status"; 1766be33864SEmmanuel Vadot phy-handle = <&phy_qsgmii_7>; 1776be33864SEmmanuel Vadot phy-mode = "qsgmii"; 1786be33864SEmmanuel Vadot label = "ETH10"; 1796be33864SEmmanuel Vadot status = "okay"; 1806be33864SEmmanuel Vadot}; 1816be33864SEmmanuel Vadot 1826be33864SEmmanuel Vadot&seville_port8 { 183cb7aa33aSEmmanuel Vadot status = "okay"; 184cb7aa33aSEmmanuel Vadot}; 185cb7aa33aSEmmanuel Vadot 186cb7aa33aSEmmanuel Vadot&seville_port9 { 1876be33864SEmmanuel Vadot status = "okay"; 1886be33864SEmmanuel Vadot}; 189