0001 /*
0002 * T1040RDB Device Tree Source
0003 *
0004 * Copyright 2014 - 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 /include/ "t104xsi-pre.dtsi"
0036 /include/ "t104xrdb.dtsi"
0037
0038 / {
0039 model = "fsl,T1040RDB";
0040 compatible = "fsl,T1040RDB";
0041
0042 aliases {
0043 phy_sgmii_2 = &phy_sgmii_2;
0044 };
0045
0046 soc@ffe000000 {
0047 fman@400000 {
0048 ethernet@e0000 {
0049 fixed-link = <0 1 1000 0 0>;
0050 phy-connection-type = "sgmii";
0051 };
0052
0053 ethernet@e2000 {
0054 fixed-link = <1 1 1000 0 0>;
0055 phy-connection-type = "sgmii";
0056 };
0057
0058 ethernet@e4000 {
0059 phy-handle = <&phy_sgmii_2>;
0060 phy-connection-type = "sgmii";
0061 };
0062
0063 mdio@fc000 {
0064 phy_sgmii_2: ethernet-phy@3 {
0065 reg = <0x03>;
0066 };
0067
0068 /* VSC8514 QSGMII PHY */
0069 phy_qsgmii_0: ethernet-phy@4 {
0070 reg = <0x4>;
0071 };
0072
0073 phy_qsgmii_1: ethernet-phy@5 {
0074 reg = <0x5>;
0075 };
0076
0077 phy_qsgmii_2: ethernet-phy@6 {
0078 reg = <0x6>;
0079 };
0080
0081 phy_qsgmii_3: ethernet-phy@7 {
0082 reg = <0x7>;
0083 };
0084
0085 /* VSC8514 QSGMII PHY */
0086 phy_qsgmii_4: ethernet-phy@8 {
0087 reg = <0x8>;
0088 };
0089
0090 phy_qsgmii_5: ethernet-phy@9 {
0091 reg = <0x9>;
0092 };
0093
0094 phy_qsgmii_6: ethernet-phy@a {
0095 reg = <0xa>;
0096 };
0097
0098 phy_qsgmii_7: ethernet-phy@b {
0099 reg = <0xb>;
0100 };
0101 };
0102 };
0103 };
0104
0105 ifc: localbus@ffe124000 {
0106 cpld@3,0 {
0107 compatible = "fsl,t1040rdb-cpld";
0108 };
0109 };
0110 };
0111
0112 #include "t1040si-post.dtsi"
0113
0114 &seville_switch {
0115 status = "okay";
0116 };
0117
0118 &seville_port0 {
0119 managed = "in-band-status";
0120 phy-handle = <&phy_qsgmii_0>;
0121 phy-mode = "qsgmii";
0122 label = "ETH3";
0123 status = "okay";
0124 };
0125
0126 &seville_port1 {
0127 managed = "in-band-status";
0128 phy-handle = <&phy_qsgmii_1>;
0129 phy-mode = "qsgmii";
0130 label = "ETH4";
0131 status = "okay";
0132 };
0133
0134 &seville_port2 {
0135 managed = "in-band-status";
0136 phy-handle = <&phy_qsgmii_2>;
0137 phy-mode = "qsgmii";
0138 label = "ETH5";
0139 status = "okay";
0140 };
0141
0142 &seville_port3 {
0143 managed = "in-band-status";
0144 phy-handle = <&phy_qsgmii_3>;
0145 phy-mode = "qsgmii";
0146 label = "ETH6";
0147 status = "okay";
0148 };
0149
0150 &seville_port4 {
0151 managed = "in-band-status";
0152 phy-handle = <&phy_qsgmii_4>;
0153 phy-mode = "qsgmii";
0154 label = "ETH7";
0155 status = "okay";
0156 };
0157
0158 &seville_port5 {
0159 managed = "in-band-status";
0160 phy-handle = <&phy_qsgmii_5>;
0161 phy-mode = "qsgmii";
0162 label = "ETH8";
0163 status = "okay";
0164 };
0165
0166 &seville_port6 {
0167 managed = "in-band-status";
0168 phy-handle = <&phy_qsgmii_6>;
0169 phy-mode = "qsgmii";
0170 label = "ETH9";
0171 status = "okay";
0172 };
0173
0174 &seville_port7 {
0175 managed = "in-band-status";
0176 phy-handle = <&phy_qsgmii_7>;
0177 phy-mode = "qsgmii";
0178 label = "ETH10";
0179 status = "okay";
0180 };
0181
0182 &seville_port8 {
0183 ethernet = <&enet0>;
0184 status = "okay";
0185 };