1dc37374bSHongtao Jia/*
2dc37374bSHongtao Jia * T1042D4RDB Device Tree Source
3dc37374bSHongtao Jia *
4dc37374bSHongtao Jia * Copyright 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/ "t104xd4rdb.dtsi"
37dc37374bSHongtao Jia
38dc37374bSHongtao Jia/ {
39dc37374bSHongtao Jia	model = "fsl,T1042D4RDB";
40dc37374bSHongtao Jia	compatible = "fsl,T1042D4RDB";
41dc37374bSHongtao Jia	#address-cells = <2>;
42dc37374bSHongtao Jia	#size-cells = <2>;
43dc37374bSHongtao Jia	interrupt-parent = <&mpic>;
44dc37374bSHongtao Jia
45dc37374bSHongtao Jia	ifc: localbus@ffe124000 {
46dc37374bSHongtao Jia		cpld@3,0 {
47dc37374bSHongtao Jia			compatible = "fsl,t1040d4rdb-cpld",
48dc37374bSHongtao Jia					"fsl,deepsleep-cpld";
49dc37374bSHongtao Jia		};
50dc37374bSHongtao Jia	};
51baae856eSMadalin Bucur
52baae856eSMadalin Bucur	soc: soc@ffe000000 {
53baae856eSMadalin Bucur		fman0: fman@400000 {
54baae856eSMadalin Bucur			ethernet@e0000 {
55baae856eSMadalin Bucur				phy-handle = <&phy_sgmii_0>;
56baae856eSMadalin Bucur				phy-connection-type = "sgmii";
57baae856eSMadalin Bucur			};
58baae856eSMadalin Bucur
59baae856eSMadalin Bucur			ethernet@e2000 {
60baae856eSMadalin Bucur				phy-handle = <&phy_sgmii_1>;
61baae856eSMadalin Bucur				phy-connection-type = "sgmii";
62baae856eSMadalin Bucur			};
63baae856eSMadalin Bucur
64baae856eSMadalin Bucur			ethernet@e4000 {
65baae856eSMadalin Bucur				phy-handle = <&phy_sgmii_2>;
66baae856eSMadalin Bucur				phy-connection-type = "sgmii";
67baae856eSMadalin Bucur			};
68baae856eSMadalin Bucur
69baae856eSMadalin Bucur			ethernet@e6000 {
70baae856eSMadalin Bucur				phy-handle = <&phy_rgmii_0>;
71baae856eSMadalin Bucur				phy-connection-type = "rgmii";
72baae856eSMadalin Bucur			};
73baae856eSMadalin Bucur
74baae856eSMadalin Bucur			ethernet@e8000 {
75baae856eSMadalin Bucur				phy-handle = <&phy_rgmii_1>;
76baae856eSMadalin Bucur				phy-connection-type = "rgmii";
77baae856eSMadalin Bucur			};
78baae856eSMadalin Bucur
79baae856eSMadalin Bucur			mdio0: mdio@fc000 {
80600ecc19SMathieu Malaterre				phy_sgmii_0: ethernet-phy@2 {
81baae856eSMadalin Bucur					reg = <0x02>;
82baae856eSMadalin Bucur				};
83baae856eSMadalin Bucur
84600ecc19SMathieu Malaterre				phy_sgmii_1: ethernet-phy@3 {
85baae856eSMadalin Bucur					reg = <0x03>;
86baae856eSMadalin Bucur				};
87baae856eSMadalin Bucur
88600ecc19SMathieu Malaterre				phy_sgmii_2: ethernet-phy@1 {
89baae856eSMadalin Bucur					reg = <0x01>;
90baae856eSMadalin Bucur				};
91baae856eSMadalin Bucur
92600ecc19SMathieu Malaterre				phy_rgmii_0: ethernet-phy@4 {
93baae856eSMadalin Bucur					reg = <0x04>;
94baae856eSMadalin Bucur				};
95baae856eSMadalin Bucur
96600ecc19SMathieu Malaterre				phy_rgmii_1: ethernet-phy@5 {
97baae856eSMadalin Bucur					reg = <0x05>;
98baae856eSMadalin Bucur				};
99baae856eSMadalin Bucur			};
100baae856eSMadalin Bucur		};
101baae856eSMadalin Bucur	};
102baae856eSMadalin Bucur
103dc37374bSHongtao Jia};
104dc37374bSHongtao Jia
105be489a39SHongtao Jia#include "t1042si-post.dtsi"
106