1dc37374bSHongtao Jia/*
2dc37374bSHongtao Jia * T2080PCIe-RDB Board 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/ "t208xsi-pre.dtsi"
36dc37374bSHongtao Jia/include/ "t208xrdb.dtsi"
37dc37374bSHongtao Jia
38dc37374bSHongtao Jia/ {
39dc37374bSHongtao Jia	model = "fsl,T2080RDB";
40dc37374bSHongtao Jia	compatible = "fsl,T2080RDB";
41dc37374bSHongtao Jia	#address-cells = <2>;
42dc37374bSHongtao Jia	#size-cells = <2>;
43dc37374bSHongtao Jia	interrupt-parent = <&mpic>;
44dc37374bSHongtao Jia
45dc37374bSHongtao Jia	rio: rapidio@ffe0c0000 {
46dc37374bSHongtao Jia		reg = <0xf 0xfe0c0000 0 0x11000>;
47dc37374bSHongtao Jia
48dc37374bSHongtao Jia		port1 {
49dc37374bSHongtao Jia			ranges = <0 0 0xc 0x20000000 0 0x10000000>;
50dc37374bSHongtao Jia		};
51dc37374bSHongtao Jia		port2 {
52dc37374bSHongtao Jia			ranges = <0 0 0xc 0x30000000 0 0x10000000>;
53dc37374bSHongtao Jia		};
54dc37374bSHongtao Jia	};
55dc37374bSHongtao Jia};
56dc37374bSHongtao Jia
5784e0f1c1SIgal Liberman&soc {
5884e0f1c1SIgal Liberman	fman@400000 {
5984e0f1c1SIgal Liberman		ethernet@e0000 {
6084e0f1c1SIgal Liberman			phy-handle = <&xg_aq1202_phy3>;
6184e0f1c1SIgal Liberman			phy-connection-type = "xgmii";
6284e0f1c1SIgal Liberman		};
6384e0f1c1SIgal Liberman
6484e0f1c1SIgal Liberman		ethernet@e2000 {
6584e0f1c1SIgal Liberman			phy-handle = <&xg_aq1202_phy4>;
6684e0f1c1SIgal Liberman			phy-connection-type = "xgmii";
6784e0f1c1SIgal Liberman		};
6884e0f1c1SIgal Liberman
6984e0f1c1SIgal Liberman		ethernet@e4000 {
7084e0f1c1SIgal Liberman			phy-handle = <&rgmii_phy1>;
7184e0f1c1SIgal Liberman			phy-connection-type = "rgmii";
7284e0f1c1SIgal Liberman		};
7384e0f1c1SIgal Liberman
7484e0f1c1SIgal Liberman		ethernet@e6000 {
7584e0f1c1SIgal Liberman			phy-handle = <&rgmii_phy2>;
7684e0f1c1SIgal Liberman			phy-connection-type = "rgmii";
7784e0f1c1SIgal Liberman		};
7884e0f1c1SIgal Liberman
7984e0f1c1SIgal Liberman		ethernet@f0000 {
800400d655SCamelia Groza			phy-handle = <&xg_cs4315_phy2>;
8184e0f1c1SIgal Liberman			phy-connection-type = "xgmii";
8284e0f1c1SIgal Liberman		};
8384e0f1c1SIgal Liberman
8484e0f1c1SIgal Liberman		ethernet@f2000 {
850400d655SCamelia Groza			phy-handle = <&xg_cs4315_phy1>;
8684e0f1c1SIgal Liberman			phy-connection-type = "xgmii";
8784e0f1c1SIgal Liberman		};
8884e0f1c1SIgal Liberman
8984e0f1c1SIgal Liberman		mdio@fc000 {
9084e0f1c1SIgal Liberman			rgmii_phy1: ethernet-phy@1 {
9184e0f1c1SIgal Liberman				reg = <0x1>;
9284e0f1c1SIgal Liberman			};
9384e0f1c1SIgal Liberman			rgmii_phy2: ethernet-phy@2 {
9484e0f1c1SIgal Liberman				reg = <0x2>;
9584e0f1c1SIgal Liberman			};
9684e0f1c1SIgal Liberman		};
9784e0f1c1SIgal Liberman
9884e0f1c1SIgal Liberman		mdio@fd000 {
9984e0f1c1SIgal Liberman			xg_cs4315_phy1: ethernet-phy@c {
100bd964612SCamelia Groza				compatible = "ethernet-phy-id13e5.1002";
10184e0f1c1SIgal Liberman				reg = <0xc>;
10284e0f1c1SIgal Liberman			};
10384e0f1c1SIgal Liberman
10484e0f1c1SIgal Liberman			xg_cs4315_phy2: ethernet-phy@d {
105bd964612SCamelia Groza				compatible = "ethernet-phy-id13e5.1002";
10684e0f1c1SIgal Liberman				reg = <0xd>;
10784e0f1c1SIgal Liberman			};
10884e0f1c1SIgal Liberman
10984e0f1c1SIgal Liberman			xg_aq1202_phy3: ethernet-phy@0 {
11084e0f1c1SIgal Liberman				compatible = "ethernet-phy-ieee802.3-c45";
11184e0f1c1SIgal Liberman				reg = <0x0>;
11284e0f1c1SIgal Liberman			};
11384e0f1c1SIgal Liberman
11484e0f1c1SIgal Liberman			xg_aq1202_phy4: ethernet-phy@1 {
11584e0f1c1SIgal Liberman				compatible = "ethernet-phy-ieee802.3-c45";
11684e0f1c1SIgal Liberman				reg = <0x1>;
11784e0f1c1SIgal Liberman			};
11884e0f1c1SIgal Liberman		};
11984e0f1c1SIgal Liberman	};
12084e0f1c1SIgal Liberman};
12184e0f1c1SIgal Liberman
122dc37374bSHongtao Jia/include/ "t2080si-post.dtsi"
123