1dc37374bSHongtao Jia/*
2dc37374bSHongtao Jia * T2081QDS Device Tree Source
3dc37374bSHongtao Jia *
484e0f1c1SIgal Liberman * Copyright 2013 - 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/ "t208xqds.dtsi"
37dc37374bSHongtao Jia
38dc37374bSHongtao Jia/ {
39dc37374bSHongtao Jia	model = "fsl,T2081QDS";
40dc37374bSHongtao Jia	compatible = "fsl,T2081QDS";
41dc37374bSHongtao Jia	#address-cells = <2>;
42dc37374bSHongtao Jia	#size-cells = <2>;
43dc37374bSHongtao Jia	interrupt-parent = <&mpic>;
4484e0f1c1SIgal Liberman
4584e0f1c1SIgal Liberman	aliases {
4684e0f1c1SIgal Liberman		emi1_slot1 = &t2081mdio2;
4784e0f1c1SIgal Liberman		emi1_slot2 = &t2081mdio3;
4884e0f1c1SIgal Liberman		emi1_slot3 = &t2081mdio4;
4984e0f1c1SIgal Liberman		emi1_slot5 = &t2081mdio5;
5084e0f1c1SIgal Liberman		emi1_slot6 = &t2081mdio6;
5184e0f1c1SIgal Liberman		emi1_slot7 = &t2081mdio7;
5284e0f1c1SIgal Liberman	};
5384e0f1c1SIgal Liberman};
5484e0f1c1SIgal Liberman
5584e0f1c1SIgal Liberman&soc {
5684e0f1c1SIgal Liberman	fman@400000 {
5784e0f1c1SIgal Liberman		ethernet@e0000 {
5884e0f1c1SIgal Liberman			phy-handle = <&phy_sgmii_s7_1c>;
5984e0f1c1SIgal Liberman			phy-connection-type = "sgmii";
6084e0f1c1SIgal Liberman		};
6184e0f1c1SIgal Liberman
6284e0f1c1SIgal Liberman		ethernet@e2000 {
6384e0f1c1SIgal Liberman			phy-handle = <&phy_sgmii_s7_1d>;
6484e0f1c1SIgal Liberman			phy-connection-type = "sgmii";
6584e0f1c1SIgal Liberman		};
6684e0f1c1SIgal Liberman
6784e0f1c1SIgal Liberman		ethernet@e4000 {
6884e0f1c1SIgal Liberman			phy-handle = <&rgmii_phy1>;
6984e0f1c1SIgal Liberman			phy-connection-type = "rgmii";
7084e0f1c1SIgal Liberman		};
7184e0f1c1SIgal Liberman
7284e0f1c1SIgal Liberman		ethernet@e6000 {
7384e0f1c1SIgal Liberman			phy-handle = <&rgmii_phy2>;
7484e0f1c1SIgal Liberman			phy-connection-type = "rgmii";
7584e0f1c1SIgal Liberman		};
7684e0f1c1SIgal Liberman
7784e0f1c1SIgal Liberman		ethernet@e8000 {
7884e0f1c1SIgal Liberman			phy-handle = <&phy_sgmii_s3_1c>;
7984e0f1c1SIgal Liberman			phy-connection-type = "sgmii";
8084e0f1c1SIgal Liberman		};
8184e0f1c1SIgal Liberman
8284e0f1c1SIgal Liberman		ethernet@ea000 {
8384e0f1c1SIgal Liberman			phy-handle = <&phy_sgmii_s7_1f>;
8484e0f1c1SIgal Liberman			phy-connection-type = "sgmii";
8584e0f1c1SIgal Liberman		};
8684e0f1c1SIgal Liberman
8784e0f1c1SIgal Liberman		ethernet@f0000 {
8884e0f1c1SIgal Liberman			phy-handle = <&phy_sgmii_s2_1c>;
8984e0f1c1SIgal Liberman			phy-connection-type = "xgmii";
9084e0f1c1SIgal Liberman		};
9184e0f1c1SIgal Liberman
9284e0f1c1SIgal Liberman		ethernet@f2000 {
9384e0f1c1SIgal Liberman			phy-handle = <&phy_sgmii_s7_1e>;
9484e0f1c1SIgal Liberman			phy-connection-type = "xgmii";
9584e0f1c1SIgal Liberman		};
9684e0f1c1SIgal Liberman	};
9784e0f1c1SIgal Liberman};
9884e0f1c1SIgal Liberman
9984e0f1c1SIgal Liberman&boardctrl {
10084e0f1c1SIgal Liberman	mdio-mux-emi1 {
10184e0f1c1SIgal Liberman		compatible = "mdio-mux-mmioreg", "mdio-mux";
10284e0f1c1SIgal Liberman		mdio-parent-bus = <&mdio0>;
10384e0f1c1SIgal Liberman		#address-cells = <1>;
10484e0f1c1SIgal Liberman		#size-cells = <0>;
10584e0f1c1SIgal Liberman		reg = <0x54 1>;
10684e0f1c1SIgal Liberman		mux-mask = <0xe0>;
10784e0f1c1SIgal Liberman
10884e0f1c1SIgal Liberman		t2081mdio0: mdio@0 {
10984e0f1c1SIgal Liberman			#address-cells = <1>;
11084e0f1c1SIgal Liberman			#size-cells = <0>;
11184e0f1c1SIgal Liberman			reg = <0>;
11284e0f1c1SIgal Liberman
11384e0f1c1SIgal Liberman			rgmii_phy1: ethernet-phy@1 {
11484e0f1c1SIgal Liberman				reg = <0x1>;
11584e0f1c1SIgal Liberman			};
11684e0f1c1SIgal Liberman		};
11784e0f1c1SIgal Liberman
11884e0f1c1SIgal Liberman		t2081mdio1: mdio@20 {
11984e0f1c1SIgal Liberman			#address-cells = <1>;
12084e0f1c1SIgal Liberman			#size-cells = <0>;
12184e0f1c1SIgal Liberman			reg = <0x20>;
12284e0f1c1SIgal Liberman
12384e0f1c1SIgal Liberman			rgmii_phy2: ethernet-phy@2 {
12484e0f1c1SIgal Liberman				reg = <0x2>;
12584e0f1c1SIgal Liberman			};
12684e0f1c1SIgal Liberman		};
12784e0f1c1SIgal Liberman
12884e0f1c1SIgal Liberman		t2081mdio2: mdio@40 {
12984e0f1c1SIgal Liberman			#address-cells = <1>;
13084e0f1c1SIgal Liberman			#size-cells = <0>;
13184e0f1c1SIgal Liberman			reg = <0x40>;
13284e0f1c1SIgal Liberman
13384e0f1c1SIgal Liberman			phy_sgmii_s1_1c: ethernet-phy@1c {
13484e0f1c1SIgal Liberman				reg = <0x1c>;
13584e0f1c1SIgal Liberman			};
13684e0f1c1SIgal Liberman
13784e0f1c1SIgal Liberman			phy_sgmii_s1_1d: ethernet-phy@1d {
13884e0f1c1SIgal Liberman				reg = <0x1d>;
13984e0f1c1SIgal Liberman			};
14084e0f1c1SIgal Liberman
14184e0f1c1SIgal Liberman			phy_sgmii_s1_1e: ethernet-phy@1e {
14284e0f1c1SIgal Liberman				reg = <0x1e>;
14384e0f1c1SIgal Liberman			};
14484e0f1c1SIgal Liberman
14584e0f1c1SIgal Liberman			phy_sgmii_s1_1f: ethernet-phy@1f {
14684e0f1c1SIgal Liberman				reg = <0x1f>;
14784e0f1c1SIgal Liberman			};
14884e0f1c1SIgal Liberman		};
14984e0f1c1SIgal Liberman
15084e0f1c1SIgal Liberman		t2081mdio3: mdio@60 {
15184e0f1c1SIgal Liberman			#address-cells = <1>;
15284e0f1c1SIgal Liberman			#size-cells = <0>;
15384e0f1c1SIgal Liberman			reg = <0x60>;
15484e0f1c1SIgal Liberman
15584e0f1c1SIgal Liberman			phy_sgmii_s2_1c: ethernet-phy@1c {
15684e0f1c1SIgal Liberman				reg = <0x1c>;
15784e0f1c1SIgal Liberman			};
15884e0f1c1SIgal Liberman
15984e0f1c1SIgal Liberman			phy_sgmii_s2_1d: ethernet-phy@1d {
16084e0f1c1SIgal Liberman				reg = <0x1d>;
16184e0f1c1SIgal Liberman			};
16284e0f1c1SIgal Liberman
16384e0f1c1SIgal Liberman			phy_sgmii_s2_1e: ethernet-phy@1e {
16484e0f1c1SIgal Liberman				reg = <0x1e>;
16584e0f1c1SIgal Liberman			};
16684e0f1c1SIgal Liberman
16784e0f1c1SIgal Liberman			phy_sgmii_s2_1f: ethernet-phy@1f {
16884e0f1c1SIgal Liberman				reg = <0x1f>;
16984e0f1c1SIgal Liberman			};
17084e0f1c1SIgal Liberman		};
17184e0f1c1SIgal Liberman
17284e0f1c1SIgal Liberman		t2081mdio4: mdio@80 {
17384e0f1c1SIgal Liberman			#address-cells = <1>;
17484e0f1c1SIgal Liberman			#size-cells = <0>;
17584e0f1c1SIgal Liberman			reg = <0x80>;
17684e0f1c1SIgal Liberman			status = "disabled";
17784e0f1c1SIgal Liberman
17884e0f1c1SIgal Liberman			phy_sgmii_s3_1c: ethernet-phy@1c {
17984e0f1c1SIgal Liberman				reg = <0x1c>;
18084e0f1c1SIgal Liberman			};
18184e0f1c1SIgal Liberman
18284e0f1c1SIgal Liberman			phy_sgmii_s3_1d: ethernet-phy@1d {
18384e0f1c1SIgal Liberman				reg = <0x1d>;
18484e0f1c1SIgal Liberman			};
18584e0f1c1SIgal Liberman
18684e0f1c1SIgal Liberman			phy_sgmii_s3_1e: ethernet-phy@1e {
18784e0f1c1SIgal Liberman				reg = <0x1e>;
18884e0f1c1SIgal Liberman			};
18984e0f1c1SIgal Liberman
19084e0f1c1SIgal Liberman			phy_sgmii_s3_1f: ethernet-phy@1f {
19184e0f1c1SIgal Liberman				reg = <0x1f>;
19284e0f1c1SIgal Liberman			};
19384e0f1c1SIgal Liberman		};
19484e0f1c1SIgal Liberman
19584e0f1c1SIgal Liberman		t2081mdio5: mdio@a0 {
19684e0f1c1SIgal Liberman			#address-cells = <1>;
19784e0f1c1SIgal Liberman			#size-cells = <0>;
19884e0f1c1SIgal Liberman			reg = <0xa0>;
19984e0f1c1SIgal Liberman			status = "disabled";
20084e0f1c1SIgal Liberman
20184e0f1c1SIgal Liberman			phy_sgmii_s5_1c: ethernet-phy@1c {
20284e0f1c1SIgal Liberman				reg = <0x1c>;
20384e0f1c1SIgal Liberman			};
20484e0f1c1SIgal Liberman
20584e0f1c1SIgal Liberman			phy_sgmii_s5_1d: ethernet-phy@1d {
20684e0f1c1SIgal Liberman				reg = <0x1d>;
20784e0f1c1SIgal Liberman			};
20884e0f1c1SIgal Liberman
20984e0f1c1SIgal Liberman			phy_sgmii_s5_1e: ethernet-phy@1e {
21084e0f1c1SIgal Liberman				reg = <0x1e>;
21184e0f1c1SIgal Liberman			};
21284e0f1c1SIgal Liberman
21384e0f1c1SIgal Liberman			phy_sgmii_s5_1f: ethernet-phy@1f {
21484e0f1c1SIgal Liberman				reg = <0x1f>;
21584e0f1c1SIgal Liberman			};
21684e0f1c1SIgal Liberman		};
21784e0f1c1SIgal Liberman
21884e0f1c1SIgal Liberman		t2081mdio6: mdio@c0 {
21984e0f1c1SIgal Liberman			#address-cells = <1>;
22084e0f1c1SIgal Liberman			#size-cells = <0>;
22184e0f1c1SIgal Liberman			reg = <0xc0>;
22284e0f1c1SIgal Liberman			status = "disabled";
22384e0f1c1SIgal Liberman
22484e0f1c1SIgal Liberman			phy_sgmii_s6_1c: ethernet-phy@1c {
22584e0f1c1SIgal Liberman				reg = <0x1c>;
22684e0f1c1SIgal Liberman			};
22784e0f1c1SIgal Liberman
22884e0f1c1SIgal Liberman			phy_sgmii_s6_1d: ethernet-phy@1d {
22984e0f1c1SIgal Liberman				reg = <0x1d>;
23084e0f1c1SIgal Liberman			};
23184e0f1c1SIgal Liberman
23284e0f1c1SIgal Liberman			phy_sgmii_s6_1e: ethernet-phy@1e {
23384e0f1c1SIgal Liberman				reg = <0x1e>;
23484e0f1c1SIgal Liberman			};
23584e0f1c1SIgal Liberman
23684e0f1c1SIgal Liberman			phy_sgmii_s6_1f: ethernet-phy@1f {
23784e0f1c1SIgal Liberman				reg = <0x1f>;
23884e0f1c1SIgal Liberman			};
23984e0f1c1SIgal Liberman		};
24084e0f1c1SIgal Liberman
24184e0f1c1SIgal Liberman		t2081mdio7: mdio@e0 {
24284e0f1c1SIgal Liberman			#address-cells = <1>;
24384e0f1c1SIgal Liberman			#size-cells = <0>;
24484e0f1c1SIgal Liberman			reg = <0xe0>;
24584e0f1c1SIgal Liberman
24684e0f1c1SIgal Liberman			phy_sgmii_s7_1c: ethernet-phy@1c {
24784e0f1c1SIgal Liberman				reg = <0x1c>;
24884e0f1c1SIgal Liberman			};
24984e0f1c1SIgal Liberman
25084e0f1c1SIgal Liberman			phy_sgmii_s7_1d: ethernet-phy@1d {
25184e0f1c1SIgal Liberman				reg = <0x1d>;
25284e0f1c1SIgal Liberman			};
25384e0f1c1SIgal Liberman
25484e0f1c1SIgal Liberman			phy_sgmii_s7_1e: ethernet-phy@1e {
25584e0f1c1SIgal Liberman				reg = <0x1e>;
25684e0f1c1SIgal Liberman			};
25784e0f1c1SIgal Liberman
25884e0f1c1SIgal Liberman			phy_sgmii_s7_1f: ethernet-phy@1f {
25984e0f1c1SIgal Liberman				reg = <0x1f>;
26084e0f1c1SIgal Liberman			};
26184e0f1c1SIgal Liberman		};
26284e0f1c1SIgal Liberman	};
263dc37374bSHongtao Jia};
264dc37374bSHongtao Jia
265dc37374bSHongtao Jia/include/ "t2081si-post.dtsi"
266