1dc37374bSHongtao Jia/*
2dc37374bSHongtao Jia * B4860DS Device Tree Source
3dc37374bSHongtao Jia *
484e0f1c1SIgal Liberman * Copyright 2012 - 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/ "b4860si-pre.dtsi"
36dc37374bSHongtao Jia/include/ "b4qds.dtsi"
37dc37374bSHongtao Jia
38dc37374bSHongtao Jia/ {
39dc37374bSHongtao Jia	model = "fsl,B4860QDS";
40dc37374bSHongtao Jia	compatible = "fsl,B4860QDS";
41dc37374bSHongtao Jia
4284e0f1c1SIgal Liberman	aliases {
4384e0f1c1SIgal Liberman		phy_sgmii_1e = &phy_sgmii_1e;
4484e0f1c1SIgal Liberman		phy_sgmii_1f = &phy_sgmii_1f;
4584e0f1c1SIgal Liberman		phy_xaui_slot1 = &phy_xaui_slot1;
4684e0f1c1SIgal Liberman		phy_xaui_slot2 = &phy_xaui_slot2;
4784e0f1c1SIgal Liberman	};
4884e0f1c1SIgal Liberman
49dc37374bSHongtao Jia	ifc: localbus@ffe124000 {
50dc37374bSHongtao Jia		board-control@3,0 {
51dc37374bSHongtao Jia			compatible = "fsl,b4860qds-fpga", "fsl,fpga-qixis";
52dc37374bSHongtao Jia		};
53dc37374bSHongtao Jia	};
54dc37374bSHongtao Jia
5584e0f1c1SIgal Liberman	soc@ffe000000 {
5684e0f1c1SIgal Liberman		fman@400000 {
5784e0f1c1SIgal Liberman			ethernet@e8000 {
5884e0f1c1SIgal Liberman				phy-handle = <&phy_sgmii_1e>;
5984e0f1c1SIgal Liberman				phy-connection-type = "sgmii";
6084e0f1c1SIgal Liberman			};
6184e0f1c1SIgal Liberman
6284e0f1c1SIgal Liberman			ethernet@ea000 {
6384e0f1c1SIgal Liberman				phy-handle = <&phy_sgmii_1f>;
6484e0f1c1SIgal Liberman				phy-connection-type = "sgmii";
6584e0f1c1SIgal Liberman			};
6684e0f1c1SIgal Liberman
6784e0f1c1SIgal Liberman			ethernet@f0000 {
6884e0f1c1SIgal Liberman				phy-handle = <&phy_xaui_slot1>;
6984e0f1c1SIgal Liberman				phy-connection-type = "xgmii";
7084e0f1c1SIgal Liberman			};
7184e0f1c1SIgal Liberman
7284e0f1c1SIgal Liberman			ethernet@f2000 {
7384e0f1c1SIgal Liberman				phy-handle = <&phy_xaui_slot2>;
7484e0f1c1SIgal Liberman				phy-connection-type = "xgmii";
7584e0f1c1SIgal Liberman			};
7684e0f1c1SIgal Liberman
7784e0f1c1SIgal Liberman			mdio@fc000 {
7884e0f1c1SIgal Liberman				phy_sgmii_1e: ethernet-phy@1e {
7984e0f1c1SIgal Liberman					reg = <0x1e>;
8084e0f1c1SIgal Liberman					status = "disabled";
8184e0f1c1SIgal Liberman				};
8284e0f1c1SIgal Liberman
8384e0f1c1SIgal Liberman				phy_sgmii_1f: ethernet-phy@1f {
8484e0f1c1SIgal Liberman					reg = <0x1f>;
8584e0f1c1SIgal Liberman					status = "disabled";
8684e0f1c1SIgal Liberman				};
8784e0f1c1SIgal Liberman			};
8884e0f1c1SIgal Liberman
8984e0f1c1SIgal Liberman			mdio@fd000 {
9084e0f1c1SIgal Liberman				phy_xaui_slot1: xaui-phy@slot1 {
9184e0f1c1SIgal Liberman					compatible = "ethernet-phy-ieee802.3-c45";
9284e0f1c1SIgal Liberman					reg = <0x7>;
9384e0f1c1SIgal Liberman					status = "disabled";
9484e0f1c1SIgal Liberman				};
9584e0f1c1SIgal Liberman
9684e0f1c1SIgal Liberman				phy_xaui_slot2: xaui-phy@slot2 {
9784e0f1c1SIgal Liberman					compatible = "ethernet-phy-ieee802.3-c45";
9884e0f1c1SIgal Liberman					reg = <0x6>;
9984e0f1c1SIgal Liberman					status = "disabled";
10084e0f1c1SIgal Liberman				};
10184e0f1c1SIgal Liberman			};
10284e0f1c1SIgal Liberman		};
10384e0f1c1SIgal Liberman	};
10484e0f1c1SIgal Liberman
105dc37374bSHongtao Jia	rio: rapidio@ffe0c0000 {
106dc37374bSHongtao Jia		reg = <0xf 0xfe0c0000 0 0x11000>;
107dc37374bSHongtao Jia
108dc37374bSHongtao Jia		port1 {
109dc37374bSHongtao Jia			ranges = <0 0 0xc 0x20000000 0 0x10000000>;
110dc37374bSHongtao Jia		};
111dc37374bSHongtao Jia		port2 {
112dc37374bSHongtao Jia			ranges = <0 0 0xc 0x30000000 0 0x10000000>;
113dc37374bSHongtao Jia		};
114dc37374bSHongtao Jia	};
115dc37374bSHongtao Jia};
116dc37374bSHongtao Jia
117dc37374bSHongtao Jia/include/ "b4860si-post.dtsi"
118