xref: /freebsd/sys/contrib/device-tree/src/powerpc/fsl/b4860qds.dts (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot/*
2*c66ec88fSEmmanuel Vadot * B4860DS Device Tree Source
3*c66ec88fSEmmanuel Vadot *
4*c66ec88fSEmmanuel Vadot * Copyright 2012 - 2015 Freescale Semiconductor Inc.
5*c66ec88fSEmmanuel Vadot *
6*c66ec88fSEmmanuel Vadot * Redistribution and use in source and binary forms, with or without
7*c66ec88fSEmmanuel Vadot * modification, are permitted provided that the following conditions are met:
8*c66ec88fSEmmanuel Vadot *     * Redistributions of source code must retain the above copyright
9*c66ec88fSEmmanuel Vadot *       notice, this list of conditions and the following disclaimer.
10*c66ec88fSEmmanuel Vadot *     * Redistributions in binary form must reproduce the above copyright
11*c66ec88fSEmmanuel Vadot *       notice, this list of conditions and the following disclaimer in the
12*c66ec88fSEmmanuel Vadot *       documentation and/or other materials provided with the distribution.
13*c66ec88fSEmmanuel Vadot *     * Neither the name of Freescale Semiconductor nor the
14*c66ec88fSEmmanuel Vadot *       names of its contributors may be used to endorse or promote products
15*c66ec88fSEmmanuel Vadot *       derived from this software without specific prior written permission.
16*c66ec88fSEmmanuel Vadot *
17*c66ec88fSEmmanuel Vadot *
18*c66ec88fSEmmanuel Vadot * ALTERNATIVELY, this software may be distributed under the terms of the
19*c66ec88fSEmmanuel Vadot * GNU General Public License ("GPL") as published by the Free Software
20*c66ec88fSEmmanuel Vadot * Foundation, either version 2 of that License or (at your option) any
21*c66ec88fSEmmanuel Vadot * later version.
22*c66ec88fSEmmanuel Vadot *
23*c66ec88fSEmmanuel Vadot * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
24*c66ec88fSEmmanuel Vadot * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25*c66ec88fSEmmanuel Vadot * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26*c66ec88fSEmmanuel Vadot * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
27*c66ec88fSEmmanuel Vadot * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28*c66ec88fSEmmanuel Vadot * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29*c66ec88fSEmmanuel Vadot * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30*c66ec88fSEmmanuel Vadot * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31*c66ec88fSEmmanuel Vadot * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32*c66ec88fSEmmanuel Vadot * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33*c66ec88fSEmmanuel Vadot */
34*c66ec88fSEmmanuel Vadot
35*c66ec88fSEmmanuel Vadot/include/ "b4860si-pre.dtsi"
36*c66ec88fSEmmanuel Vadot/include/ "b4qds.dtsi"
37*c66ec88fSEmmanuel Vadot
38*c66ec88fSEmmanuel Vadot/ {
39*c66ec88fSEmmanuel Vadot	model = "fsl,B4860QDS";
40*c66ec88fSEmmanuel Vadot	compatible = "fsl,B4860QDS";
41*c66ec88fSEmmanuel Vadot
42*c66ec88fSEmmanuel Vadot	aliases {
43*c66ec88fSEmmanuel Vadot		phy_sgmii_1e = &phy_sgmii_1e;
44*c66ec88fSEmmanuel Vadot		phy_sgmii_1f = &phy_sgmii_1f;
45*c66ec88fSEmmanuel Vadot		phy_xaui_slot1 = &phy_xaui_slot1;
46*c66ec88fSEmmanuel Vadot		phy_xaui_slot2 = &phy_xaui_slot2;
47*c66ec88fSEmmanuel Vadot	};
48*c66ec88fSEmmanuel Vadot
49*c66ec88fSEmmanuel Vadot	ifc: localbus@ffe124000 {
50*c66ec88fSEmmanuel Vadot		board-control@3,0 {
51*c66ec88fSEmmanuel Vadot			compatible = "fsl,b4860qds-fpga", "fsl,fpga-qixis";
52*c66ec88fSEmmanuel Vadot		};
53*c66ec88fSEmmanuel Vadot	};
54*c66ec88fSEmmanuel Vadot
55*c66ec88fSEmmanuel Vadot	soc@ffe000000 {
56*c66ec88fSEmmanuel Vadot		fman@400000 {
57*c66ec88fSEmmanuel Vadot			ethernet@e8000 {
58*c66ec88fSEmmanuel Vadot				phy-handle = <&phy_sgmii_1e>;
59*c66ec88fSEmmanuel Vadot				phy-connection-type = "sgmii";
60*c66ec88fSEmmanuel Vadot			};
61*c66ec88fSEmmanuel Vadot
62*c66ec88fSEmmanuel Vadot			ethernet@ea000 {
63*c66ec88fSEmmanuel Vadot				phy-handle = <&phy_sgmii_1f>;
64*c66ec88fSEmmanuel Vadot				phy-connection-type = "sgmii";
65*c66ec88fSEmmanuel Vadot			};
66*c66ec88fSEmmanuel Vadot
67*c66ec88fSEmmanuel Vadot			ethernet@f0000 {
68*c66ec88fSEmmanuel Vadot				phy-handle = <&phy_xaui_slot1>;
69*c66ec88fSEmmanuel Vadot				phy-connection-type = "xgmii";
70*c66ec88fSEmmanuel Vadot			};
71*c66ec88fSEmmanuel Vadot
72*c66ec88fSEmmanuel Vadot			ethernet@f2000 {
73*c66ec88fSEmmanuel Vadot				phy-handle = <&phy_xaui_slot2>;
74*c66ec88fSEmmanuel Vadot				phy-connection-type = "xgmii";
75*c66ec88fSEmmanuel Vadot			};
76*c66ec88fSEmmanuel Vadot
77*c66ec88fSEmmanuel Vadot			mdio@fc000 {
78*c66ec88fSEmmanuel Vadot				phy_sgmii_1e: ethernet-phy@1e {
79*c66ec88fSEmmanuel Vadot					reg = <0x1e>;
80*c66ec88fSEmmanuel Vadot					status = "disabled";
81*c66ec88fSEmmanuel Vadot				};
82*c66ec88fSEmmanuel Vadot
83*c66ec88fSEmmanuel Vadot				phy_sgmii_1f: ethernet-phy@1f {
84*c66ec88fSEmmanuel Vadot					reg = <0x1f>;
85*c66ec88fSEmmanuel Vadot					status = "disabled";
86*c66ec88fSEmmanuel Vadot				};
87*c66ec88fSEmmanuel Vadot			};
88*c66ec88fSEmmanuel Vadot
89*c66ec88fSEmmanuel Vadot			mdio@fd000 {
90*c66ec88fSEmmanuel Vadot				phy_xaui_slot1: xaui-phy@slot1 {
91*c66ec88fSEmmanuel Vadot					compatible = "ethernet-phy-ieee802.3-c45";
92*c66ec88fSEmmanuel Vadot					reg = <0x7>;
93*c66ec88fSEmmanuel Vadot					status = "disabled";
94*c66ec88fSEmmanuel Vadot				};
95*c66ec88fSEmmanuel Vadot
96*c66ec88fSEmmanuel Vadot				phy_xaui_slot2: xaui-phy@slot2 {
97*c66ec88fSEmmanuel Vadot					compatible = "ethernet-phy-ieee802.3-c45";
98*c66ec88fSEmmanuel Vadot					reg = <0x6>;
99*c66ec88fSEmmanuel Vadot					status = "disabled";
100*c66ec88fSEmmanuel Vadot				};
101*c66ec88fSEmmanuel Vadot			};
102*c66ec88fSEmmanuel Vadot		};
103*c66ec88fSEmmanuel Vadot	};
104*c66ec88fSEmmanuel Vadot
105*c66ec88fSEmmanuel Vadot	rio: rapidio@ffe0c0000 {
106*c66ec88fSEmmanuel Vadot		reg = <0xf 0xfe0c0000 0 0x11000>;
107*c66ec88fSEmmanuel Vadot
108*c66ec88fSEmmanuel Vadot		port1 {
109*c66ec88fSEmmanuel Vadot			ranges = <0 0 0xc 0x20000000 0 0x10000000>;
110*c66ec88fSEmmanuel Vadot		};
111*c66ec88fSEmmanuel Vadot		port2 {
112*c66ec88fSEmmanuel Vadot			ranges = <0 0 0xc 0x30000000 0 0x10000000>;
113*c66ec88fSEmmanuel Vadot		};
114*c66ec88fSEmmanuel Vadot	};
115*c66ec88fSEmmanuel Vadot};
116*c66ec88fSEmmanuel Vadot
117*c66ec88fSEmmanuel Vadot/include/ "b4860si-post.dtsi"
118