1dc37374bSHongtao Jia/*
2dc37374bSHongtao Jia * T1042RDB Device Tree Source
3dc37374bSHongtao Jia *
484e0f1c1SIgal Liberman * Copyright 2014 - 2015 Freescale Semiconductor Inc.
5dc37374bSHongtao Jia *
6dc37374bSHongtao Jia * Redistribution and use in source and binary forms, with or without
7dc37374bSHongtao Jia * modification, are permitted provided that the following conditions are met:
8dc37374bSHongtao Jia *     * Redistributions of source code must retain the above copyright
9dc37374bSHongtao Jia *	 notice, this list of conditions and the following disclaimer.
10dc37374bSHongtao Jia *     * Redistributions in binary form must reproduce the above copyright
11dc37374bSHongtao Jia *	 notice, this list of conditions and the following disclaimer in the
12dc37374bSHongtao Jia *	 documentation and/or other materials provided with the distribution.
13dc37374bSHongtao Jia *     * Neither the name of Freescale Semiconductor nor the
14dc37374bSHongtao Jia *	 names of its contributors may be used to endorse or promote products
15dc37374bSHongtao Jia *	 derived from this software without specific prior written permission.
16dc37374bSHongtao Jia *
17dc37374bSHongtao Jia *
18dc37374bSHongtao Jia * ALTERNATIVELY, this software may be distributed under the terms of the
19dc37374bSHongtao Jia * GNU General Public License ("GPL") as published by the Free Software
20dc37374bSHongtao Jia * Foundation, either version 2 of that License or (at your option) any
21dc37374bSHongtao Jia * later version.
22dc37374bSHongtao Jia *
23dc37374bSHongtao Jia * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor "AS IS" AND ANY
24dc37374bSHongtao Jia * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25dc37374bSHongtao Jia * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26dc37374bSHongtao Jia * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
27dc37374bSHongtao Jia * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28dc37374bSHongtao Jia * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29dc37374bSHongtao Jia * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30dc37374bSHongtao Jia * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31dc37374bSHongtao Jia * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32dc37374bSHongtao Jia * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33dc37374bSHongtao Jia */
34dc37374bSHongtao Jia
35dc37374bSHongtao Jia/include/ "t104xsi-pre.dtsi"
36dc37374bSHongtao Jia/include/ "t104xrdb.dtsi"
37dc37374bSHongtao Jia
38dc37374bSHongtao Jia/ {
39dc37374bSHongtao Jia	model = "fsl,T1042RDB";
40dc37374bSHongtao Jia	compatible = "fsl,T1042RDB";
4184e0f1c1SIgal Liberman
4284e0f1c1SIgal Liberman	aliases {
4384e0f1c1SIgal Liberman		phy_sgmii_2 = &phy_sgmii_2;
4484e0f1c1SIgal Liberman	};
4584e0f1c1SIgal Liberman
4684e0f1c1SIgal Liberman	soc@ffe000000 {
4784e0f1c1SIgal Liberman		fman@400000 {
4884e0f1c1SIgal Liberman			ethernet@e0000 {
4984e0f1c1SIgal Liberman			       status = "disabled";
5084e0f1c1SIgal Liberman			};
5184e0f1c1SIgal Liberman
5284e0f1c1SIgal Liberman			ethernet@e2000 {
5384e0f1c1SIgal Liberman			       status = "disabled";
5484e0f1c1SIgal Liberman			};
5584e0f1c1SIgal Liberman
5684e0f1c1SIgal Liberman			ethernet@e4000 {
5784e0f1c1SIgal Liberman				phy-handle = <&phy_sgmii_2>;
5884e0f1c1SIgal Liberman				phy-connection-type = "sgmii";
5984e0f1c1SIgal Liberman			};
6084e0f1c1SIgal Liberman
6184e0f1c1SIgal Liberman			mdio@fc000 {
62600ecc19SMathieu Malaterre				phy_sgmii_2: ethernet-phy@3 {
6384e0f1c1SIgal Liberman					reg = <0x03>;
6484e0f1c1SIgal Liberman				};
6584e0f1c1SIgal Liberman			};
6684e0f1c1SIgal Liberman		};
6784e0f1c1SIgal Liberman	};
6884e0f1c1SIgal Liberman
69dc37374bSHongtao Jia	ifc: localbus@ffe124000 {
70dc37374bSHongtao Jia		cpld@3,0 {
71dc37374bSHongtao Jia			compatible = "fsl,t1042rdb-cpld";
72dc37374bSHongtao Jia		};
73dc37374bSHongtao Jia	};
74dc37374bSHongtao Jia};
75dc37374bSHongtao Jia
76be489a39SHongtao Jia#include "t1042si-post.dtsi"
77