1dc37374bSHongtao Jia/*
2dc37374bSHongtao Jia * T4240QDS 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/ "t4240si-pre.dtsi"
36dc37374bSHongtao Jia
37dc37374bSHongtao Jia/ {
38dc37374bSHongtao Jia	model = "fsl,T4240QDS";
39dc37374bSHongtao Jia	compatible = "fsl,T4240QDS";
40dc37374bSHongtao Jia	#address-cells = <2>;
41dc37374bSHongtao Jia	#size-cells = <2>;
42dc37374bSHongtao Jia	interrupt-parent = <&mpic>;
43dc37374bSHongtao Jia
4484e0f1c1SIgal Liberman	aliases{
4584e0f1c1SIgal Liberman		phy_rgmii1 = &phyrgmii1;
4684e0f1c1SIgal Liberman		phy_rgmii2 = &phyrgmii2;
4784e0f1c1SIgal Liberman		phy_sgmii3 = &phy3;
4884e0f1c1SIgal Liberman		phy_sgmii4 = &phy4;
4984e0f1c1SIgal Liberman		phy_sgmii11 = &phy11;
5084e0f1c1SIgal Liberman		phy_sgmii12 = &phy12;
5184e0f1c1SIgal Liberman		sgmii_phy11 = &sgmiiphy11;
5284e0f1c1SIgal Liberman		sgmii_phy12 = &sgmiiphy12;
5384e0f1c1SIgal Liberman		sgmii_phy13 = &sgmiiphy13;
5484e0f1c1SIgal Liberman		sgmii_phy14 = &sgmiiphy14;
5584e0f1c1SIgal Liberman		sgmii_phy21 = &sgmiiphy21;
5684e0f1c1SIgal Liberman		sgmii_phy22 = &sgmiiphy22;
5784e0f1c1SIgal Liberman		sgmii_phy23 = &sgmiiphy23;
5884e0f1c1SIgal Liberman		sgmii_phy24 = &sgmiiphy24;
5984e0f1c1SIgal Liberman		sgmii_phy31 = &sgmiiphy31;
6084e0f1c1SIgal Liberman		sgmii_phy32 = &sgmiiphy32;
6184e0f1c1SIgal Liberman		sgmii_phy33 = &sgmiiphy33;
6284e0f1c1SIgal Liberman		sgmii_phy34 = &sgmiiphy34;
6384e0f1c1SIgal Liberman		sgmii_phy41 = &sgmiiphy41;
6484e0f1c1SIgal Liberman		sgmii_phy42 = &sgmiiphy42;
6584e0f1c1SIgal Liberman		sgmii_phy43 = &sgmiiphy43;
6684e0f1c1SIgal Liberman		sgmii_phy44 = &sgmiiphy44;
6784e0f1c1SIgal Liberman		phy_xfi1 = &xfiphy1;
6884e0f1c1SIgal Liberman		phy_xfi2 = &xfiphy2;
6984e0f1c1SIgal Liberman		phy_xfi3 = &xfiphy3;
7084e0f1c1SIgal Liberman		phy_xfi4 = &xfiphy4;
7184e0f1c1SIgal Liberman		xfi_pcs_mdio1 = &xfimdio0;
7284e0f1c1SIgal Liberman		xfi_pcs_mdio2 = &xfimdio1;
7384e0f1c1SIgal Liberman		xfi_pcs_mdio3 = &xfimdio2;
7484e0f1c1SIgal Liberman		xfi_pcs_mdio4 = &xfimdio3;
7584e0f1c1SIgal Liberman		emi1_rgmii = &t4240mdio0;
7684e0f1c1SIgal Liberman		emi1_slot1 = &t4240mdio1;
7784e0f1c1SIgal Liberman		emi1_slot2 = &t4240mdio2;
7884e0f1c1SIgal Liberman		emi1_slot3 = &t4240mdio3;
7984e0f1c1SIgal Liberman		emi1_slot4 = &t4240mdio4;
8084e0f1c1SIgal Liberman	};
8184e0f1c1SIgal Liberman
82dc37374bSHongtao Jia	ifc: localbus@ffe124000 {
83dc37374bSHongtao Jia		reg = <0xf 0xfe124000 0 0x2000>;
84dc37374bSHongtao Jia		ranges = <0 0 0xf 0xe8000000 0x08000000
85dc37374bSHongtao Jia			  2 0 0xf 0xff800000 0x00010000
86dc37374bSHongtao Jia			  3 0 0xf 0xffdf0000 0x00008000>;
87dc37374bSHongtao Jia
88dc37374bSHongtao Jia		nor@0,0 {
89dc37374bSHongtao Jia			#address-cells = <1>;
90dc37374bSHongtao Jia			#size-cells = <1>;
91dc37374bSHongtao Jia			compatible = "cfi-flash";
92dc37374bSHongtao Jia			reg = <0x0 0x0 0x8000000>;
93dc37374bSHongtao Jia
94dc37374bSHongtao Jia			bank-width = <2>;
95dc37374bSHongtao Jia			device-width = <1>;
96dc37374bSHongtao Jia		};
97dc37374bSHongtao Jia
98dc37374bSHongtao Jia		nand@2,0 {
99dc37374bSHongtao Jia			#address-cells = <1>;
100dc37374bSHongtao Jia			#size-cells = <1>;
101dc37374bSHongtao Jia			compatible = "fsl,ifc-nand";
102dc37374bSHongtao Jia			reg = <0x2 0x0 0x10000>;
103dc37374bSHongtao Jia
104dc37374bSHongtao Jia			partition@0 {
105dc37374bSHongtao Jia				/* This location must not be altered  */
106dc37374bSHongtao Jia				/* 1MB for u-boot Bootloader Image */
107dc37374bSHongtao Jia				reg = <0x0 0x00100000>;
108dc37374bSHongtao Jia				label = "NAND U-Boot Image";
109dc37374bSHongtao Jia				read-only;
110dc37374bSHongtao Jia			};
111dc37374bSHongtao Jia
112dc37374bSHongtao Jia			partition@100000 {
113dc37374bSHongtao Jia				/* 1MB for DTB Image */
114dc37374bSHongtao Jia				reg = <0x00100000 0x00100000>;
115dc37374bSHongtao Jia				label = "NAND DTB Image";
116dc37374bSHongtao Jia			};
117dc37374bSHongtao Jia
118dc37374bSHongtao Jia			partition@200000 {
119dc37374bSHongtao Jia				/* 10MB for Linux Kernel Image */
120dc37374bSHongtao Jia				reg = <0x00200000 0x00A00000>;
121dc37374bSHongtao Jia				label = "NAND Linux Kernel Image";
122dc37374bSHongtao Jia			};
123dc37374bSHongtao Jia
124dc37374bSHongtao Jia			partition@C00000 {
125dc37374bSHongtao Jia				/* 500MB for Root file System Image */
126dc37374bSHongtao Jia				reg = <0x00c00000 0x1F400000>;
127dc37374bSHongtao Jia				label = "NAND RFS Image";
128dc37374bSHongtao Jia			};
129dc37374bSHongtao Jia		};
130dc37374bSHongtao Jia
131dc37374bSHongtao Jia		board-control@3,0 {
13284e0f1c1SIgal Liberman			#address-cells = <1>;
13384e0f1c1SIgal Liberman			#size-cells = <1>;
134dc37374bSHongtao Jia			compatible = "fsl,t4240qds-fpga", "fsl,fpga-qixis";
135dc37374bSHongtao Jia			reg = <3 0 0x300>;
13684e0f1c1SIgal Liberman			ranges = <0 3 0 0x300>;
13784e0f1c1SIgal Liberman
13884e0f1c1SIgal Liberman			mdio-mux-emi1 {
13984e0f1c1SIgal Liberman				#address-cells = <1>;
14084e0f1c1SIgal Liberman				#size-cells = <0>;
14184e0f1c1SIgal Liberman				compatible = "mdio-mux-mmioreg", "mdio-mux";
14284e0f1c1SIgal Liberman				mdio-parent-bus = <&mdio1>;
14384e0f1c1SIgal Liberman				reg = <0x54 1>;
14484e0f1c1SIgal Liberman				mux-mask = <0xe0>;
14584e0f1c1SIgal Liberman
14684e0f1c1SIgal Liberman				t4240mdio0: mdio@0 {
14784e0f1c1SIgal Liberman					#address-cells = <1>;
14884e0f1c1SIgal Liberman					#size-cells = <0>;
14984e0f1c1SIgal Liberman					reg = <0>;
15084e0f1c1SIgal Liberman
15184e0f1c1SIgal Liberman					phyrgmii1: ethernet-phy@1 {
15284e0f1c1SIgal Liberman						reg = <0x1>;
15384e0f1c1SIgal Liberman					};
15484e0f1c1SIgal Liberman
15584e0f1c1SIgal Liberman					phyrgmii2: ethernet-phy@2 {
15684e0f1c1SIgal Liberman						reg = <0x2>;
15784e0f1c1SIgal Liberman					};
15884e0f1c1SIgal Liberman				};
15984e0f1c1SIgal Liberman
16084e0f1c1SIgal Liberman				t4240mdio1: mdio@20 {
16184e0f1c1SIgal Liberman					#address-cells = <1>;
16284e0f1c1SIgal Liberman					#size-cells = <0>;
16384e0f1c1SIgal Liberman					reg = <0x20>;
16484e0f1c1SIgal Liberman					status = "disabled";
16584e0f1c1SIgal Liberman
16684e0f1c1SIgal Liberman					phy1: ethernet-phy@0 {
16784e0f1c1SIgal Liberman						reg = <0x0>;
16884e0f1c1SIgal Liberman					};
16984e0f1c1SIgal Liberman
17084e0f1c1SIgal Liberman					phy2: ethernet-phy@1 {
17184e0f1c1SIgal Liberman						reg = <0x1>;
17284e0f1c1SIgal Liberman					};
17384e0f1c1SIgal Liberman
17484e0f1c1SIgal Liberman					phy3: ethernet-phy@2 {
17584e0f1c1SIgal Liberman						reg = <0x2>;
17684e0f1c1SIgal Liberman					};
17784e0f1c1SIgal Liberman
17884e0f1c1SIgal Liberman					phy4: ethernet-phy@3 {
17984e0f1c1SIgal Liberman						reg = <0x3>;
18084e0f1c1SIgal Liberman					};
18184e0f1c1SIgal Liberman
18284e0f1c1SIgal Liberman					sgmiiphy11: ethernet-phy@1c {
18384e0f1c1SIgal Liberman						reg = <0x1c>;
18484e0f1c1SIgal Liberman					};
18584e0f1c1SIgal Liberman
18684e0f1c1SIgal Liberman					sgmiiphy12: ethernet-phy@1d {
18784e0f1c1SIgal Liberman						reg = <0x1d>;
18884e0f1c1SIgal Liberman					};
18984e0f1c1SIgal Liberman
19084e0f1c1SIgal Liberman					sgmiiphy13: ethernet-phy@1e {
19184e0f1c1SIgal Liberman						reg = <0x1e>;
19284e0f1c1SIgal Liberman					};
19384e0f1c1SIgal Liberman
19484e0f1c1SIgal Liberman					sgmiiphy14: ethernet-phy@1f {
19584e0f1c1SIgal Liberman						reg = <0x1f>;
19684e0f1c1SIgal Liberman					};
19784e0f1c1SIgal Liberman				};
19884e0f1c1SIgal Liberman
19984e0f1c1SIgal Liberman				t4240mdio2: mdio@40 {
20084e0f1c1SIgal Liberman					#address-cells = <1>;
20184e0f1c1SIgal Liberman					#size-cells = <0>;
20284e0f1c1SIgal Liberman					reg = <0x40>;
20384e0f1c1SIgal Liberman					status = "disabled";
20484e0f1c1SIgal Liberman
20584e0f1c1SIgal Liberman					phy5: ethernet-phy@4 {
20684e0f1c1SIgal Liberman						reg = <0x4>;
20784e0f1c1SIgal Liberman					};
20884e0f1c1SIgal Liberman
20984e0f1c1SIgal Liberman					phy6: ethernet-phy@5 {
21084e0f1c1SIgal Liberman						reg = <0x5>;
21184e0f1c1SIgal Liberman					};
21284e0f1c1SIgal Liberman
21384e0f1c1SIgal Liberman					phy7: ethernet-phy@6 {
21484e0f1c1SIgal Liberman						reg = <0x6>;
21584e0f1c1SIgal Liberman					};
21684e0f1c1SIgal Liberman
21784e0f1c1SIgal Liberman					phy8: ethernet-phy@7 {
21884e0f1c1SIgal Liberman						reg = <0x7>;
21984e0f1c1SIgal Liberman					};
22084e0f1c1SIgal Liberman
22184e0f1c1SIgal Liberman					sgmiiphy21: ethernet-phy@1c {
22284e0f1c1SIgal Liberman						reg = <0x1c>;
22384e0f1c1SIgal Liberman					};
22484e0f1c1SIgal Liberman
22584e0f1c1SIgal Liberman					sgmiiphy22: ethernet-phy@1d {
22684e0f1c1SIgal Liberman						reg = <0x1d>;
22784e0f1c1SIgal Liberman					};
22884e0f1c1SIgal Liberman
22984e0f1c1SIgal Liberman					sgmiiphy23: ethernet-phy@1e {
23084e0f1c1SIgal Liberman						reg = <0x1e>;
23184e0f1c1SIgal Liberman					};
23284e0f1c1SIgal Liberman
23384e0f1c1SIgal Liberman					sgmiiphy24: ethernet-phy@1f {
23484e0f1c1SIgal Liberman						reg = <0x1f>;
23584e0f1c1SIgal Liberman					};
23684e0f1c1SIgal Liberman				};
23784e0f1c1SIgal Liberman
23884e0f1c1SIgal Liberman				t4240mdio3: mdio@60 {
23984e0f1c1SIgal Liberman					#address-cells = <1>;
24084e0f1c1SIgal Liberman					#size-cells = <0>;
24184e0f1c1SIgal Liberman					reg = <0x60>;
24284e0f1c1SIgal Liberman					status = "disabled";
24384e0f1c1SIgal Liberman
24484e0f1c1SIgal Liberman					phy9: ethernet-phy@8 {
24584e0f1c1SIgal Liberman						reg = <0x8>;
24684e0f1c1SIgal Liberman					};
24784e0f1c1SIgal Liberman
24884e0f1c1SIgal Liberman					phy10: ethernet-phy@9 {
24984e0f1c1SIgal Liberman						reg = <0x9>;
25084e0f1c1SIgal Liberman					};
25184e0f1c1SIgal Liberman
25284e0f1c1SIgal Liberman					phy11: ethernet-phy@a {
25384e0f1c1SIgal Liberman						reg = <0xa>;
25484e0f1c1SIgal Liberman					};
25584e0f1c1SIgal Liberman
25684e0f1c1SIgal Liberman					phy12: ethernet-phy@b {
25784e0f1c1SIgal Liberman						reg = <0xb>;
25884e0f1c1SIgal Liberman					};
25984e0f1c1SIgal Liberman
26084e0f1c1SIgal Liberman					sgmiiphy31: ethernet-phy@1c {
26184e0f1c1SIgal Liberman						reg = <0x1c>;
26284e0f1c1SIgal Liberman					};
26384e0f1c1SIgal Liberman
26484e0f1c1SIgal Liberman					sgmiiphy32: ethernet-phy@1d {
26584e0f1c1SIgal Liberman						reg = <0x1d>;
26684e0f1c1SIgal Liberman					};
26784e0f1c1SIgal Liberman
26884e0f1c1SIgal Liberman					sgmiiphy33: ethernet-phy@1e {
26984e0f1c1SIgal Liberman						reg = <0x1e>;
27084e0f1c1SIgal Liberman					};
27184e0f1c1SIgal Liberman
27284e0f1c1SIgal Liberman					sgmiiphy34: ethernet-phy@1f {
27384e0f1c1SIgal Liberman						reg = <0x1f>;
27484e0f1c1SIgal Liberman					};
27584e0f1c1SIgal Liberman				};
27684e0f1c1SIgal Liberman
27784e0f1c1SIgal Liberman				t4240mdio4: mdio@80 {
27884e0f1c1SIgal Liberman					#address-cells = <1>;
27984e0f1c1SIgal Liberman					#size-cells = <0>;
28084e0f1c1SIgal Liberman					reg = <0x80>;
28184e0f1c1SIgal Liberman					status = "disabled";
28284e0f1c1SIgal Liberman
28384e0f1c1SIgal Liberman					phy13: ethernet-phy@c {
28484e0f1c1SIgal Liberman						reg = <0xc>;
28584e0f1c1SIgal Liberman					};
28684e0f1c1SIgal Liberman
28784e0f1c1SIgal Liberman					phy14: ethernet-phy@d {
28884e0f1c1SIgal Liberman						reg = <0xd>;
28984e0f1c1SIgal Liberman					};
29084e0f1c1SIgal Liberman
29184e0f1c1SIgal Liberman					phy15: ethernet-phy@e {
29284e0f1c1SIgal Liberman						reg = <0xe>;
29384e0f1c1SIgal Liberman					};
29484e0f1c1SIgal Liberman
29584e0f1c1SIgal Liberman					phy16: ethernet-phy@f {
29684e0f1c1SIgal Liberman						reg = <0xf>;
29784e0f1c1SIgal Liberman					};
29884e0f1c1SIgal Liberman
29984e0f1c1SIgal Liberman					sgmiiphy41: ethernet-phy@1c {
30084e0f1c1SIgal Liberman						reg = <0x1c>;
30184e0f1c1SIgal Liberman					};
30284e0f1c1SIgal Liberman
30384e0f1c1SIgal Liberman					sgmiiphy42: ethernet-phy@1d {
30484e0f1c1SIgal Liberman						reg = <0x1d>;
30584e0f1c1SIgal Liberman					};
30684e0f1c1SIgal Liberman
30784e0f1c1SIgal Liberman					sgmiiphy43: ethernet-phy@1e {
30884e0f1c1SIgal Liberman						reg = <0x1e>;
30984e0f1c1SIgal Liberman					};
31084e0f1c1SIgal Liberman
31184e0f1c1SIgal Liberman					sgmiiphy44: ethernet-phy@1f {
31284e0f1c1SIgal Liberman						reg = <0x1f>;
31384e0f1c1SIgal Liberman					};
31484e0f1c1SIgal Liberman				};
31584e0f1c1SIgal Liberman			};
316dc37374bSHongtao Jia		};
317dc37374bSHongtao Jia	};
318dc37374bSHongtao Jia
319dc37374bSHongtao Jia	memory {
320dc37374bSHongtao Jia		device_type = "memory";
321dc37374bSHongtao Jia	};
322dc37374bSHongtao Jia
323dc37374bSHongtao Jia	reserved-memory {
324dc37374bSHongtao Jia		#address-cells = <2>;
325dc37374bSHongtao Jia		#size-cells = <2>;
326dc37374bSHongtao Jia		ranges;
327dc37374bSHongtao Jia
328dc37374bSHongtao Jia		bman_fbpr: bman-fbpr {
329dc37374bSHongtao Jia			size = <0 0x1000000>;
330dc37374bSHongtao Jia			alignment = <0 0x1000000>;
331dc37374bSHongtao Jia		};
332dc37374bSHongtao Jia		qman_fqd: qman-fqd {
333dc37374bSHongtao Jia			size = <0 0x400000>;
334dc37374bSHongtao Jia			alignment = <0 0x400000>;
335dc37374bSHongtao Jia		};
336dc37374bSHongtao Jia		qman_pfdr: qman-pfdr {
337dc37374bSHongtao Jia			size = <0 0x2000000>;
338dc37374bSHongtao Jia			alignment = <0 0x2000000>;
339dc37374bSHongtao Jia		};
340dc37374bSHongtao Jia	};
341dc37374bSHongtao Jia
342dc37374bSHongtao Jia	dcsr: dcsr@f00000000 {
343dc37374bSHongtao Jia		ranges = <0x00000000 0xf 0x00000000 0x01072000>;
344dc37374bSHongtao Jia	};
345dc37374bSHongtao Jia
346dc37374bSHongtao Jia	bportals: bman-portals@ff4000000 {
347dc37374bSHongtao Jia		ranges = <0x0 0xf 0xf4000000 0x2000000>;
348dc37374bSHongtao Jia	};
349dc37374bSHongtao Jia
350dc37374bSHongtao Jia	qportals: qman-portals@ff6000000 {
351dc37374bSHongtao Jia		ranges = <0x0 0xf 0xf6000000 0x2000000>;
352dc37374bSHongtao Jia	};
353dc37374bSHongtao Jia
354dc37374bSHongtao Jia	soc: soc@ffe000000 {
355dc37374bSHongtao Jia		ranges = <0x00000000 0xf 0xfe000000 0x1000000>;
356dc37374bSHongtao Jia		reg = <0xf 0xfe000000 0 0x00001000>;
357dc37374bSHongtao Jia		spi@110000 {
358dc37374bSHongtao Jia			flash@0 {
359dc37374bSHongtao Jia				#address-cells = <1>;
360dc37374bSHongtao Jia				#size-cells = <1>;
361fba4e9f9SHou Zhiqiang				compatible = "sst,sst25wf040", "jedec,spi-nor";
362dc37374bSHongtao Jia				reg = <0>;
363dc37374bSHongtao Jia				spi-max-frequency = <40000000>; /* input clock */
364dc37374bSHongtao Jia			};
365dc37374bSHongtao Jia		};
366dc37374bSHongtao Jia
367dc37374bSHongtao Jia		i2c@118000 {
368dc37374bSHongtao Jia			mux@77 {
369dc37374bSHongtao Jia				compatible = "nxp,pca9547";
370dc37374bSHongtao Jia				reg = <0x77>;
371dc37374bSHongtao Jia				#address-cells = <1>;
372dc37374bSHongtao Jia				#size-cells = <0>;
373dc37374bSHongtao Jia
374dc37374bSHongtao Jia				i2c@0 {
375dc37374bSHongtao Jia					#address-cells = <1>;
376dc37374bSHongtao Jia					#size-cells = <0>;
377dc37374bSHongtao Jia					reg = <0>;
378dc37374bSHongtao Jia
379dc37374bSHongtao Jia					eeprom@51 {
380226b9391SJavier Martinez Canillas						compatible = "atmel,24c256";
381dc37374bSHongtao Jia						reg = <0x51>;
382dc37374bSHongtao Jia					};
383dc37374bSHongtao Jia					eeprom@52 {
384226b9391SJavier Martinez Canillas						compatible = "atmel,24c256";
385dc37374bSHongtao Jia						reg = <0x52>;
386dc37374bSHongtao Jia					};
387dc37374bSHongtao Jia					eeprom@53 {
388226b9391SJavier Martinez Canillas						compatible = "atmel,24c256";
389dc37374bSHongtao Jia						reg = <0x53>;
390dc37374bSHongtao Jia					};
391dc37374bSHongtao Jia					eeprom@54 {
392226b9391SJavier Martinez Canillas						compatible = "atmel,24c256";
393dc37374bSHongtao Jia						reg = <0x54>;
394dc37374bSHongtao Jia					};
395dc37374bSHongtao Jia					eeprom@55 {
396226b9391SJavier Martinez Canillas						compatible = "atmel,24c256";
397dc37374bSHongtao Jia						reg = <0x55>;
398dc37374bSHongtao Jia					};
399dc37374bSHongtao Jia					eeprom@56 {
400226b9391SJavier Martinez Canillas						compatible = "atmel,24c256";
401dc37374bSHongtao Jia						reg = <0x56>;
402dc37374bSHongtao Jia					};
403dc37374bSHongtao Jia					rtc@68 {
404dc37374bSHongtao Jia						compatible = "dallas,ds3232";
405dc37374bSHongtao Jia						reg = <0x68>;
406dc37374bSHongtao Jia						interrupts = <0x1 0x1 0 0>;
407dc37374bSHongtao Jia					};
408dc37374bSHongtao Jia				};
409dc37374bSHongtao Jia
410dc37374bSHongtao Jia				i2c@2 {
411dc37374bSHongtao Jia					#address-cells = <1>;
412dc37374bSHongtao Jia					#size-cells = <0>;
413dc37374bSHongtao Jia					reg = <0x2>;
414dc37374bSHongtao Jia
415dc37374bSHongtao Jia					ina220@40 {
416dc37374bSHongtao Jia						compatible = "ti,ina220";
417dc37374bSHongtao Jia						reg = <0x40>;
418dc37374bSHongtao Jia						shunt-resistor = <1000>;
419dc37374bSHongtao Jia					};
420dc37374bSHongtao Jia
421dc37374bSHongtao Jia					ina220@41 {
422dc37374bSHongtao Jia						compatible = "ti,ina220";
423dc37374bSHongtao Jia						reg = <0x41>;
424dc37374bSHongtao Jia						shunt-resistor = <1000>;
425dc37374bSHongtao Jia					};
426dc37374bSHongtao Jia
427dc37374bSHongtao Jia					ina220@44 {
428dc37374bSHongtao Jia						compatible = "ti,ina220";
429dc37374bSHongtao Jia						reg = <0x44>;
430dc37374bSHongtao Jia						shunt-resistor = <1000>;
431dc37374bSHongtao Jia					};
432dc37374bSHongtao Jia
433dc37374bSHongtao Jia					ina220@45 {
434dc37374bSHongtao Jia						compatible = "ti,ina220";
435dc37374bSHongtao Jia						reg = <0x45>;
436dc37374bSHongtao Jia						shunt-resistor = <1000>;
437dc37374bSHongtao Jia					};
438dc37374bSHongtao Jia
439dc37374bSHongtao Jia					ina220@46 {
440dc37374bSHongtao Jia						compatible = "ti,ina220";
441dc37374bSHongtao Jia						reg = <0x46>;
442dc37374bSHongtao Jia						shunt-resistor = <1000>;
443dc37374bSHongtao Jia					};
444dc37374bSHongtao Jia
445dc37374bSHongtao Jia					ina220@47 {
446dc37374bSHongtao Jia						compatible = "ti,ina220";
447dc37374bSHongtao Jia						reg = <0x47>;
448dc37374bSHongtao Jia						shunt-resistor = <1000>;
449dc37374bSHongtao Jia					};
450dc37374bSHongtao Jia				};
451dc37374bSHongtao Jia			};
452dc37374bSHongtao Jia		};
453dc37374bSHongtao Jia
454dc37374bSHongtao Jia		sdhc@114000 {
455dc37374bSHongtao Jia			voltage-ranges = <1800 1800 3300 3300>;
456dc37374bSHongtao Jia		};
45784e0f1c1SIgal Liberman
45884e0f1c1SIgal Liberman		fman@400000 {
45984e0f1c1SIgal Liberman			port@83000 {
46084e0f1c1SIgal Liberman				status = "disabled";
46184e0f1c1SIgal Liberman			};
46284e0f1c1SIgal Liberman
46384e0f1c1SIgal Liberman			port@84000 {
46484e0f1c1SIgal Liberman				status = "disabled";
46584e0f1c1SIgal Liberman			};
46684e0f1c1SIgal Liberman
46784e0f1c1SIgal Liberman			port@85000 {
46884e0f1c1SIgal Liberman				status = "disabled";
46984e0f1c1SIgal Liberman			};
47084e0f1c1SIgal Liberman
47184e0f1c1SIgal Liberman			port@86000 {
47284e0f1c1SIgal Liberman				status = "disabled";
47384e0f1c1SIgal Liberman			};
47484e0f1c1SIgal Liberman
47584e0f1c1SIgal Liberman			port@87000 {
47684e0f1c1SIgal Liberman				status = "disabled";
47784e0f1c1SIgal Liberman			};
47884e0f1c1SIgal Liberman
47984e0f1c1SIgal Liberman			ethernet@e0000 {
48084e0f1c1SIgal Liberman				phy-handle = <&phy5>;
48184e0f1c1SIgal Liberman				phy-connection-type = "sgmii";
48284e0f1c1SIgal Liberman			};
48384e0f1c1SIgal Liberman
48484e0f1c1SIgal Liberman			ethernet@e2000 {
48584e0f1c1SIgal Liberman				phy-handle = <&phy6>;
48684e0f1c1SIgal Liberman				phy-connection-type = "sgmii";
48784e0f1c1SIgal Liberman			};
48884e0f1c1SIgal Liberman
48984e0f1c1SIgal Liberman			ethernet@e4000 {
49084e0f1c1SIgal Liberman				phy-handle = <&phy7>;
49184e0f1c1SIgal Liberman				phy-connection-type = "sgmii";
49284e0f1c1SIgal Liberman			};
49384e0f1c1SIgal Liberman
49484e0f1c1SIgal Liberman			ethernet@e6000 {
49584e0f1c1SIgal Liberman				phy-handle = <&phy8>;
49684e0f1c1SIgal Liberman				phy-connection-type = "sgmii";
49784e0f1c1SIgal Liberman			};
49884e0f1c1SIgal Liberman
49984e0f1c1SIgal Liberman			ethernet@e8000 {
50084e0f1c1SIgal Liberman				phy-handle = <&phyrgmii2>;
50184e0f1c1SIgal Liberman				phy-connection-type = "rgmii";
50284e0f1c1SIgal Liberman			};
50384e0f1c1SIgal Liberman
50484e0f1c1SIgal Liberman			ethernet@ea000 {
50584e0f1c1SIgal Liberman				phy-handle = <&phy2>;
50684e0f1c1SIgal Liberman				phy-connection-type = "sgmii";
50784e0f1c1SIgal Liberman			};
50884e0f1c1SIgal Liberman
50984e0f1c1SIgal Liberman			ethernet@f0000 {
51084e0f1c1SIgal Liberman				phy-handle = <&xauiphy1>;
51184e0f1c1SIgal Liberman				phy-connection-type = "xgmii";
51284e0f1c1SIgal Liberman			};
51384e0f1c1SIgal Liberman
51484e0f1c1SIgal Liberman			ethernet@f2000 {
51584e0f1c1SIgal Liberman				phy-handle = <&xauiphy2>;
51684e0f1c1SIgal Liberman				phy-connection-type = "xgmii";
51784e0f1c1SIgal Liberman			};
51884e0f1c1SIgal Liberman
51984e0f1c1SIgal Liberman			xfimdio0: mdio@f1000 {
52084e0f1c1SIgal Liberman				status = "disabled";
52184e0f1c1SIgal Liberman
52284e0f1c1SIgal Liberman				xfiphy1: ethernet-phy@0 {
52384e0f1c1SIgal Liberman					compatible = "ethernet-phy-ieee802.3-c45";
52484e0f1c1SIgal Liberman					reg = <0x0>;
52584e0f1c1SIgal Liberman				};
52684e0f1c1SIgal Liberman			};
52784e0f1c1SIgal Liberman
52884e0f1c1SIgal Liberman			xfimdio1: mdio@f3000 {
52984e0f1c1SIgal Liberman				status = "disabled";
53084e0f1c1SIgal Liberman
53184e0f1c1SIgal Liberman				xfiphy2: ethernet-phy@0 {
53284e0f1c1SIgal Liberman					compatible = "ethernet-phy-ieee802.3-c45";
53384e0f1c1SIgal Liberman					reg = <0x0>;
53484e0f1c1SIgal Liberman				};
53584e0f1c1SIgal Liberman			};
53684e0f1c1SIgal Liberman		};
53784e0f1c1SIgal Liberman
53884e0f1c1SIgal Liberman		fman@500000 {
53984e0f1c1SIgal Liberman			port@84000 {
54084e0f1c1SIgal Liberman				status = "disabled";
54184e0f1c1SIgal Liberman			};
54284e0f1c1SIgal Liberman
54384e0f1c1SIgal Liberman			port@85000 {
54484e0f1c1SIgal Liberman				status = "disabled";
54584e0f1c1SIgal Liberman			};
54684e0f1c1SIgal Liberman
54784e0f1c1SIgal Liberman			port@86000 {
54884e0f1c1SIgal Liberman				status = "disabled";
54984e0f1c1SIgal Liberman			};
55084e0f1c1SIgal Liberman
55184e0f1c1SIgal Liberman			port@87000 {
55284e0f1c1SIgal Liberman				status = "disabled";
55384e0f1c1SIgal Liberman			};
55484e0f1c1SIgal Liberman
55584e0f1c1SIgal Liberman			ethernet@e0000 {
55684e0f1c1SIgal Liberman				phy-handle = <&phy13>;
55784e0f1c1SIgal Liberman				phy-connection-type = "sgmii";
55884e0f1c1SIgal Liberman			};
55984e0f1c1SIgal Liberman
56084e0f1c1SIgal Liberman			ethernet@e2000 {
56184e0f1c1SIgal Liberman				phy-handle = <&phy14>;
56284e0f1c1SIgal Liberman				phy-connection-type = "sgmii";
56384e0f1c1SIgal Liberman			};
56484e0f1c1SIgal Liberman
56584e0f1c1SIgal Liberman			ethernet@e4000 {
56684e0f1c1SIgal Liberman				phy-handle = <&phy15>;
56784e0f1c1SIgal Liberman				phy-connection-type = "sgmii";
56884e0f1c1SIgal Liberman			};
56984e0f1c1SIgal Liberman
57084e0f1c1SIgal Liberman			ethernet@e6000 {
57184e0f1c1SIgal Liberman				phy-handle = <&phy16>;
57284e0f1c1SIgal Liberman				phy-connection-type = "sgmii";
57384e0f1c1SIgal Liberman			};
57484e0f1c1SIgal Liberman
57584e0f1c1SIgal Liberman			ethernet@e8000 {
57684e0f1c1SIgal Liberman				phy-handle = <&phyrgmii1>;
57784e0f1c1SIgal Liberman				phy-connection-type = "rgmii";
57884e0f1c1SIgal Liberman			};
57984e0f1c1SIgal Liberman
58084e0f1c1SIgal Liberman			ethernet@ea000 {
58184e0f1c1SIgal Liberman				phy-handle = <&phy10>;
58284e0f1c1SIgal Liberman				phy-connection-type = "sgmii";
58384e0f1c1SIgal Liberman			};
58484e0f1c1SIgal Liberman
58584e0f1c1SIgal Liberman			ethernet@f0000 {
58684e0f1c1SIgal Liberman				phy-handle = <&xauiphy3>;
58784e0f1c1SIgal Liberman				phy-connection-type = "xgmii";
58884e0f1c1SIgal Liberman			};
58984e0f1c1SIgal Liberman
59084e0f1c1SIgal Liberman			ethernet@f2000 {
59184e0f1c1SIgal Liberman				phy-handle = <&xauiphy4>;
59284e0f1c1SIgal Liberman				phy-connection-type = "xgmii";
59384e0f1c1SIgal Liberman			};
59484e0f1c1SIgal Liberman
59584e0f1c1SIgal Liberman			xfimdio2: mdio@f1000 {
59684e0f1c1SIgal Liberman				status = "disabled";
59784e0f1c1SIgal Liberman
59884e0f1c1SIgal Liberman				xfiphy3: ethernet-phy@0 {
59984e0f1c1SIgal Liberman					compatible = "ethernet-phy-ieee802.3-c45";
60084e0f1c1SIgal Liberman					reg = <0x0>;
60184e0f1c1SIgal Liberman				};
60284e0f1c1SIgal Liberman			};
60384e0f1c1SIgal Liberman
60484e0f1c1SIgal Liberman			xfimdio3: mdio@f3000 {
60584e0f1c1SIgal Liberman				status = "disabled";
60684e0f1c1SIgal Liberman
60784e0f1c1SIgal Liberman				xfiphy4: ethernet-phy@0 {
60884e0f1c1SIgal Liberman					compatible = "ethernet-phy-ieee802.3-c45";
60984e0f1c1SIgal Liberman					reg = <0x0>;
61084e0f1c1SIgal Liberman				};
61184e0f1c1SIgal Liberman			};
61284e0f1c1SIgal Liberman
61384e0f1c1SIgal Liberman			mdio@fd000 {
61484e0f1c1SIgal Liberman				xauiphy1: ethernet-phy@0 {
61584e0f1c1SIgal Liberman					compatible = "ethernet-phy-ieee802.3-c45";
61684e0f1c1SIgal Liberman					reg = <0x0>;
61784e0f1c1SIgal Liberman				};
61884e0f1c1SIgal Liberman
61984e0f1c1SIgal Liberman				xauiphy2: ethernet-phy@1 {
62084e0f1c1SIgal Liberman					compatible = "ethernet-phy-ieee802.3-c45";
62184e0f1c1SIgal Liberman					reg = <0x1>;
62284e0f1c1SIgal Liberman				};
62384e0f1c1SIgal Liberman
62484e0f1c1SIgal Liberman				xauiphy3: ethernet-phy@2 {
62584e0f1c1SIgal Liberman					compatible = "ethernet-phy-ieee802.3-c45";
62684e0f1c1SIgal Liberman					reg = <0x2>;
62784e0f1c1SIgal Liberman				};
62884e0f1c1SIgal Liberman
62984e0f1c1SIgal Liberman				xauiphy4: ethernet-phy@3 {
63084e0f1c1SIgal Liberman					compatible = "ethernet-phy-ieee802.3-c45";
63184e0f1c1SIgal Liberman					reg = <0x3>;
63284e0f1c1SIgal Liberman				};
63384e0f1c1SIgal Liberman			};
63484e0f1c1SIgal Liberman		};
635dc37374bSHongtao Jia	};
636dc37374bSHongtao Jia
637dc37374bSHongtao Jia	pci0: pcie@ffe240000 {
638dc37374bSHongtao Jia		reg = <0xf 0xfe240000 0 0x10000>;
639dc37374bSHongtao Jia		ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000
640dc37374bSHongtao Jia			  0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>;
641dc37374bSHongtao Jia		pcie@0 {
642dc37374bSHongtao Jia			ranges = <0x02000000 0 0xe0000000
643dc37374bSHongtao Jia				  0x02000000 0 0xe0000000
644dc37374bSHongtao Jia				  0 0x20000000
645dc37374bSHongtao Jia
646dc37374bSHongtao Jia				  0x01000000 0 0x00000000
647dc37374bSHongtao Jia				  0x01000000 0 0x00000000
648dc37374bSHongtao Jia				  0 0x00010000>;
649dc37374bSHongtao Jia		};
650dc37374bSHongtao Jia	};
651dc37374bSHongtao Jia
652dc37374bSHongtao Jia	pci1: pcie@ffe250000 {
653dc37374bSHongtao Jia		reg = <0xf 0xfe250000 0 0x10000>;
654dc37374bSHongtao Jia		ranges = <0x02000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x20000000
655dc37374bSHongtao Jia			  0x01000000 0x0 0x00000000 0xf 0xf8010000 0x0 0x00010000>;
656dc37374bSHongtao Jia		pcie@0 {
657dc37374bSHongtao Jia			ranges = <0x02000000 0 0xe0000000
658dc37374bSHongtao Jia				  0x02000000 0 0xe0000000
659dc37374bSHongtao Jia				  0 0x20000000
660dc37374bSHongtao Jia
661dc37374bSHongtao Jia				  0x01000000 0 0x00000000
662dc37374bSHongtao Jia				  0x01000000 0 0x00000000
663dc37374bSHongtao Jia				  0 0x00010000>;
664dc37374bSHongtao Jia		};
665dc37374bSHongtao Jia	};
666dc37374bSHongtao Jia
667dc37374bSHongtao Jia	pci2: pcie@ffe260000 {
668dc37374bSHongtao Jia		reg = <0xf 0xfe260000 0 0x1000>;
669dc37374bSHongtao Jia		ranges = <0x02000000 0 0xe0000000 0xc 0x40000000 0 0x20000000
670dc37374bSHongtao Jia			  0x01000000 0 0x00000000 0xf 0xf8020000 0 0x00010000>;
671dc37374bSHongtao Jia		pcie@0 {
672dc37374bSHongtao Jia			ranges = <0x02000000 0 0xe0000000
673dc37374bSHongtao Jia				  0x02000000 0 0xe0000000
674dc37374bSHongtao Jia				  0 0x20000000
675dc37374bSHongtao Jia
676dc37374bSHongtao Jia				  0x01000000 0 0x00000000
677dc37374bSHongtao Jia				  0x01000000 0 0x00000000
678dc37374bSHongtao Jia				  0 0x00010000>;
679dc37374bSHongtao Jia		};
680dc37374bSHongtao Jia	};
681dc37374bSHongtao Jia
682dc37374bSHongtao Jia	pci3: pcie@ffe270000 {
683dc37374bSHongtao Jia		reg = <0xf 0xfe270000 0 0x10000>;
684dc37374bSHongtao Jia		ranges = <0x02000000 0 0xe0000000 0xc 0x60000000 0 0x20000000
685dc37374bSHongtao Jia			  0x01000000 0 0x00000000 0xf 0xf8030000 0 0x00010000>;
686dc37374bSHongtao Jia		pcie@0 {
687dc37374bSHongtao Jia			ranges = <0x02000000 0 0xe0000000
688dc37374bSHongtao Jia				  0x02000000 0 0xe0000000
689dc37374bSHongtao Jia				  0 0x20000000
690dc37374bSHongtao Jia
691dc37374bSHongtao Jia				  0x01000000 0 0x00000000
692dc37374bSHongtao Jia				  0x01000000 0 0x00000000
693dc37374bSHongtao Jia				  0 0x00010000>;
694dc37374bSHongtao Jia		};
695dc37374bSHongtao Jia	};
696dc37374bSHongtao Jia	rio: rapidio@ffe0c0000 {
697dc37374bSHongtao Jia		reg = <0xf 0xfe0c0000 0 0x11000>;
698dc37374bSHongtao Jia
699dc37374bSHongtao Jia		port1 {
700dc37374bSHongtao Jia			ranges = <0 0 0xc 0x20000000 0 0x10000000>;
701dc37374bSHongtao Jia		};
702dc37374bSHongtao Jia		port2 {
703dc37374bSHongtao Jia			ranges = <0 0 0xc 0x30000000 0 0x10000000>;
704dc37374bSHongtao Jia		};
705dc37374bSHongtao Jia	};
706dc37374bSHongtao Jia};
707dc37374bSHongtao Jia
708dc37374bSHongtao Jia/include/ "t4240si-post.dtsi"
709