18c2ecf20Sopenharmony_ci/*
28c2ecf20Sopenharmony_ci * T1040RDB Device Tree Source
38c2ecf20Sopenharmony_ci *
48c2ecf20Sopenharmony_ci * Copyright 2014 - 2015 Freescale Semiconductor Inc.
58c2ecf20Sopenharmony_ci *
68c2ecf20Sopenharmony_ci * Redistribution and use in source and binary forms, with or without
78c2ecf20Sopenharmony_ci * modification, are permitted provided that the following conditions are met:
88c2ecf20Sopenharmony_ci *     * Redistributions of source code must retain the above copyright
98c2ecf20Sopenharmony_ci *	 notice, this list of conditions and the following disclaimer.
108c2ecf20Sopenharmony_ci *     * Redistributions in binary form must reproduce the above copyright
118c2ecf20Sopenharmony_ci *	 notice, this list of conditions and the following disclaimer in the
128c2ecf20Sopenharmony_ci *	 documentation and/or other materials provided with the distribution.
138c2ecf20Sopenharmony_ci *     * Neither the name of Freescale Semiconductor nor the
148c2ecf20Sopenharmony_ci *	 names of its contributors may be used to endorse or promote products
158c2ecf20Sopenharmony_ci *	 derived from this software without specific prior written permission.
168c2ecf20Sopenharmony_ci *
178c2ecf20Sopenharmony_ci *
188c2ecf20Sopenharmony_ci * ALTERNATIVELY, this software may be distributed under the terms of the
198c2ecf20Sopenharmony_ci * GNU General Public License ("GPL") as published by the Free Software
208c2ecf20Sopenharmony_ci * Foundation, either version 2 of that License or (at your option) any
218c2ecf20Sopenharmony_ci * later version.
228c2ecf20Sopenharmony_ci *
238c2ecf20Sopenharmony_ci * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor "AS IS" AND ANY
248c2ecf20Sopenharmony_ci * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
258c2ecf20Sopenharmony_ci * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
268c2ecf20Sopenharmony_ci * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
278c2ecf20Sopenharmony_ci * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
288c2ecf20Sopenharmony_ci * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
298c2ecf20Sopenharmony_ci * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
308c2ecf20Sopenharmony_ci * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
318c2ecf20Sopenharmony_ci * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
328c2ecf20Sopenharmony_ci * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
338c2ecf20Sopenharmony_ci */
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ci/include/ "t104xsi-pre.dtsi"
368c2ecf20Sopenharmony_ci/include/ "t104xrdb.dtsi"
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_ci/ {
398c2ecf20Sopenharmony_ci	model = "fsl,T1040RDB";
408c2ecf20Sopenharmony_ci	compatible = "fsl,T1040RDB";
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_ci	aliases {
438c2ecf20Sopenharmony_ci		phy_sgmii_2 = &phy_sgmii_2;
448c2ecf20Sopenharmony_ci	};
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_ci	soc@ffe000000 {
478c2ecf20Sopenharmony_ci		fman@400000 {
488c2ecf20Sopenharmony_ci			ethernet@e0000 {
498c2ecf20Sopenharmony_ci				fixed-link = <0 1 1000 0 0>;
508c2ecf20Sopenharmony_ci				phy-connection-type = "sgmii";
518c2ecf20Sopenharmony_ci			};
528c2ecf20Sopenharmony_ci
538c2ecf20Sopenharmony_ci			ethernet@e2000 {
548c2ecf20Sopenharmony_ci				fixed-link = <1 1 1000 0 0>;
558c2ecf20Sopenharmony_ci				phy-connection-type = "sgmii";
568c2ecf20Sopenharmony_ci			};
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_ci			ethernet@e4000 {
598c2ecf20Sopenharmony_ci				phy-handle = <&phy_sgmii_2>;
608c2ecf20Sopenharmony_ci				phy-connection-type = "sgmii";
618c2ecf20Sopenharmony_ci			};
628c2ecf20Sopenharmony_ci
638c2ecf20Sopenharmony_ci			mdio@fc000 {
648c2ecf20Sopenharmony_ci				phy_sgmii_2: ethernet-phy@3 {
658c2ecf20Sopenharmony_ci					reg = <0x03>;
668c2ecf20Sopenharmony_ci				};
678c2ecf20Sopenharmony_ci
688c2ecf20Sopenharmony_ci				/* VSC8514 QSGMII PHY */
698c2ecf20Sopenharmony_ci				phy_qsgmii_0: ethernet-phy@4 {
708c2ecf20Sopenharmony_ci					reg = <0x4>;
718c2ecf20Sopenharmony_ci				};
728c2ecf20Sopenharmony_ci
738c2ecf20Sopenharmony_ci				phy_qsgmii_1: ethernet-phy@5 {
748c2ecf20Sopenharmony_ci					reg = <0x5>;
758c2ecf20Sopenharmony_ci				};
768c2ecf20Sopenharmony_ci
778c2ecf20Sopenharmony_ci				phy_qsgmii_2: ethernet-phy@6 {
788c2ecf20Sopenharmony_ci					reg = <0x6>;
798c2ecf20Sopenharmony_ci				};
808c2ecf20Sopenharmony_ci
818c2ecf20Sopenharmony_ci				phy_qsgmii_3: ethernet-phy@7 {
828c2ecf20Sopenharmony_ci					reg = <0x7>;
838c2ecf20Sopenharmony_ci				};
848c2ecf20Sopenharmony_ci
858c2ecf20Sopenharmony_ci				/* VSC8514 QSGMII PHY */
868c2ecf20Sopenharmony_ci				phy_qsgmii_4: ethernet-phy@8 {
878c2ecf20Sopenharmony_ci					reg = <0x8>;
888c2ecf20Sopenharmony_ci				};
898c2ecf20Sopenharmony_ci
908c2ecf20Sopenharmony_ci				phy_qsgmii_5: ethernet-phy@9 {
918c2ecf20Sopenharmony_ci					reg = <0x9>;
928c2ecf20Sopenharmony_ci				};
938c2ecf20Sopenharmony_ci
948c2ecf20Sopenharmony_ci				phy_qsgmii_6: ethernet-phy@a {
958c2ecf20Sopenharmony_ci					reg = <0xa>;
968c2ecf20Sopenharmony_ci				};
978c2ecf20Sopenharmony_ci
988c2ecf20Sopenharmony_ci				phy_qsgmii_7: ethernet-phy@b {
998c2ecf20Sopenharmony_ci					reg = <0xb>;
1008c2ecf20Sopenharmony_ci				};
1018c2ecf20Sopenharmony_ci			};
1028c2ecf20Sopenharmony_ci		};
1038c2ecf20Sopenharmony_ci	};
1048c2ecf20Sopenharmony_ci
1058c2ecf20Sopenharmony_ci	ifc: localbus@ffe124000 {
1068c2ecf20Sopenharmony_ci		cpld@3,0 {
1078c2ecf20Sopenharmony_ci			compatible = "fsl,t1040rdb-cpld";
1088c2ecf20Sopenharmony_ci		};
1098c2ecf20Sopenharmony_ci	};
1108c2ecf20Sopenharmony_ci};
1118c2ecf20Sopenharmony_ci
1128c2ecf20Sopenharmony_ci#include "t1040si-post.dtsi"
1138c2ecf20Sopenharmony_ci
1148c2ecf20Sopenharmony_ci&seville_switch {
1158c2ecf20Sopenharmony_ci	status = "okay";
1168c2ecf20Sopenharmony_ci};
1178c2ecf20Sopenharmony_ci
1188c2ecf20Sopenharmony_ci&seville_port0 {
1198c2ecf20Sopenharmony_ci	managed = "in-band-status";
1208c2ecf20Sopenharmony_ci	phy-handle = <&phy_qsgmii_0>;
1218c2ecf20Sopenharmony_ci	phy-mode = "qsgmii";
1228c2ecf20Sopenharmony_ci	label = "ETH3";
1238c2ecf20Sopenharmony_ci	status = "okay";
1248c2ecf20Sopenharmony_ci};
1258c2ecf20Sopenharmony_ci
1268c2ecf20Sopenharmony_ci&seville_port1 {
1278c2ecf20Sopenharmony_ci	managed = "in-band-status";
1288c2ecf20Sopenharmony_ci	phy-handle = <&phy_qsgmii_1>;
1298c2ecf20Sopenharmony_ci	phy-mode = "qsgmii";
1308c2ecf20Sopenharmony_ci	label = "ETH4";
1318c2ecf20Sopenharmony_ci	status = "okay";
1328c2ecf20Sopenharmony_ci};
1338c2ecf20Sopenharmony_ci
1348c2ecf20Sopenharmony_ci&seville_port2 {
1358c2ecf20Sopenharmony_ci	managed = "in-band-status";
1368c2ecf20Sopenharmony_ci	phy-handle = <&phy_qsgmii_2>;
1378c2ecf20Sopenharmony_ci	phy-mode = "qsgmii";
1388c2ecf20Sopenharmony_ci	label = "ETH5";
1398c2ecf20Sopenharmony_ci	status = "okay";
1408c2ecf20Sopenharmony_ci};
1418c2ecf20Sopenharmony_ci
1428c2ecf20Sopenharmony_ci&seville_port3 {
1438c2ecf20Sopenharmony_ci	managed = "in-band-status";
1448c2ecf20Sopenharmony_ci	phy-handle = <&phy_qsgmii_3>;
1458c2ecf20Sopenharmony_ci	phy-mode = "qsgmii";
1468c2ecf20Sopenharmony_ci	label = "ETH6";
1478c2ecf20Sopenharmony_ci	status = "okay";
1488c2ecf20Sopenharmony_ci};
1498c2ecf20Sopenharmony_ci
1508c2ecf20Sopenharmony_ci&seville_port4 {
1518c2ecf20Sopenharmony_ci	managed = "in-band-status";
1528c2ecf20Sopenharmony_ci	phy-handle = <&phy_qsgmii_4>;
1538c2ecf20Sopenharmony_ci	phy-mode = "qsgmii";
1548c2ecf20Sopenharmony_ci	label = "ETH7";
1558c2ecf20Sopenharmony_ci	status = "okay";
1568c2ecf20Sopenharmony_ci};
1578c2ecf20Sopenharmony_ci
1588c2ecf20Sopenharmony_ci&seville_port5 {
1598c2ecf20Sopenharmony_ci	managed = "in-band-status";
1608c2ecf20Sopenharmony_ci	phy-handle = <&phy_qsgmii_5>;
1618c2ecf20Sopenharmony_ci	phy-mode = "qsgmii";
1628c2ecf20Sopenharmony_ci	label = "ETH8";
1638c2ecf20Sopenharmony_ci	status = "okay";
1648c2ecf20Sopenharmony_ci};
1658c2ecf20Sopenharmony_ci
1668c2ecf20Sopenharmony_ci&seville_port6 {
1678c2ecf20Sopenharmony_ci	managed = "in-band-status";
1688c2ecf20Sopenharmony_ci	phy-handle = <&phy_qsgmii_6>;
1698c2ecf20Sopenharmony_ci	phy-mode = "qsgmii";
1708c2ecf20Sopenharmony_ci	label = "ETH9";
1718c2ecf20Sopenharmony_ci	status = "okay";
1728c2ecf20Sopenharmony_ci};
1738c2ecf20Sopenharmony_ci
1748c2ecf20Sopenharmony_ci&seville_port7 {
1758c2ecf20Sopenharmony_ci	managed = "in-band-status";
1768c2ecf20Sopenharmony_ci	phy-handle = <&phy_qsgmii_7>;
1778c2ecf20Sopenharmony_ci	phy-mode = "qsgmii";
1788c2ecf20Sopenharmony_ci	label = "ETH10";
1798c2ecf20Sopenharmony_ci	status = "okay";
1808c2ecf20Sopenharmony_ci};
1818c2ecf20Sopenharmony_ci
1828c2ecf20Sopenharmony_ci&seville_port8 {
1838c2ecf20Sopenharmony_ci	ethernet = <&enet0>;
1848c2ecf20Sopenharmony_ci	status = "okay";
1858c2ecf20Sopenharmony_ci};
186