1dc37374bSHongtao Jia/*
2dc37374bSHongtao Jia * P1022 RDK 32-bit Physical Address Map Device Tree Source
3dc37374bSHongtao Jia *
4dc37374bSHongtao Jia * Copyright 2012 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/ "p1022si-pre.dtsi"
36dc37374bSHongtao Jia/ {
37dc37374bSHongtao Jia	model = "fsl,P1022RDK";
38dc37374bSHongtao Jia	compatible = "fsl,P1022RDK";
39dc37374bSHongtao Jia
40dc37374bSHongtao Jia	memory {
41dc37374bSHongtao Jia		device_type = "memory";
42dc37374bSHongtao Jia	};
43dc37374bSHongtao Jia
44dc37374bSHongtao Jia	board_lbc: lbc: localbus@ffe05000 {
45dc37374bSHongtao Jia		/* The P1022 RDK does not have any localbus devices */
46dc37374bSHongtao Jia		status = "disabled";
47dc37374bSHongtao Jia	};
48dc37374bSHongtao Jia
49dc37374bSHongtao Jia	board_soc: soc: soc@ffe00000 {
50dc37374bSHongtao Jia		ranges = <0x0 0x0 0xffe00000 0x100000>;
51dc37374bSHongtao Jia
52dc37374bSHongtao Jia		i2c@3100 {
53dc37374bSHongtao Jia			wm8960:codec@1a {
54dc37374bSHongtao Jia				compatible = "wlf,wm8960";
55dc37374bSHongtao Jia				reg = <0x1a>;
56dc37374bSHongtao Jia				/* MCLK source is a stand-alone oscillator */
57dc37374bSHongtao Jia				clock-frequency = <12288000>;
58dc37374bSHongtao Jia			};
59dc37374bSHongtao Jia			rtc@68 {
60dc37374bSHongtao Jia				compatible = "stm,m41t62";
61dc37374bSHongtao Jia				reg = <0x68>;
62dc37374bSHongtao Jia			};
63dc37374bSHongtao Jia			adt7461@4c{
64dc37374bSHongtao Jia				compatible = "adi,adt7461";
65dc37374bSHongtao Jia				reg = <0x4c>;
66dc37374bSHongtao Jia			};
67dc37374bSHongtao Jia			zl6100@21{
68dc37374bSHongtao Jia				compatible = "isil,zl6100";
69dc37374bSHongtao Jia				reg = <0x21>;
70dc37374bSHongtao Jia			};
71dc37374bSHongtao Jia			zl6100@24{
72dc37374bSHongtao Jia				compatible = "isil,zl6100";
73dc37374bSHongtao Jia				reg = <0x24>;
74dc37374bSHongtao Jia			};
75dc37374bSHongtao Jia			zl6100@26{
76dc37374bSHongtao Jia				compatible = "isil,zl6100";
77dc37374bSHongtao Jia				reg = <0x26>;
78dc37374bSHongtao Jia			};
79dc37374bSHongtao Jia			zl6100@29{
80dc37374bSHongtao Jia				compatible = "isil,zl6100";
81dc37374bSHongtao Jia				reg = <0x29>;
82dc37374bSHongtao Jia			};
83dc37374bSHongtao Jia		};
84dc37374bSHongtao Jia
85dc37374bSHongtao Jia		spi@7000 {
86dc37374bSHongtao Jia			flash@0 {
87dc37374bSHongtao Jia				#address-cells = <1>;
88dc37374bSHongtao Jia				#size-cells = <1>;
89fba4e9f9SHou Zhiqiang				compatible = "spansion,m25p80", "jedec,spi-nor";
90dc37374bSHongtao Jia				reg = <0>;
91dc37374bSHongtao Jia				spi-max-frequency = <1000000>;
92dc37374bSHongtao Jia				partition@0 {
93dc37374bSHongtao Jia					label = "full-spi-flash";
94dc37374bSHongtao Jia					reg = <0x00000000 0x00100000>;
95dc37374bSHongtao Jia				};
96dc37374bSHongtao Jia			};
97dc37374bSHongtao Jia		};
98dc37374bSHongtao Jia
99dc37374bSHongtao Jia		ssi@15000 {
100dc37374bSHongtao Jia			fsl,mode = "i2s-slave";
101dc37374bSHongtao Jia			codec-handle = <&wm8960>;
102dc37374bSHongtao Jia		};
103dc37374bSHongtao Jia
104dc37374bSHongtao Jia		usb@22000 {
105dc37374bSHongtao Jia			phy_type = "ulpi";
106dc37374bSHongtao Jia		};
107dc37374bSHongtao Jia
108dc37374bSHongtao Jia		usb@23000 {
109dc37374bSHongtao Jia			phy_type = "ulpi";
110dc37374bSHongtao Jia		};
111dc37374bSHongtao Jia
112dc37374bSHongtao Jia		mdio@24000 {
113dc37374bSHongtao Jia			phy0: ethernet-phy@0 {
114dc37374bSHongtao Jia				interrupts = <3 1 0 0>;
115dc37374bSHongtao Jia				reg = <0x1>;
116dc37374bSHongtao Jia			};
117dc37374bSHongtao Jia			phy1: ethernet-phy@1 {
118dc37374bSHongtao Jia				interrupts = <9 1 0 0>;
119dc37374bSHongtao Jia				reg = <0x2>;
120dc37374bSHongtao Jia			};
121dc37374bSHongtao Jia		};
122dc37374bSHongtao Jia
123dc37374bSHongtao Jia		mdio@25000 {
124dc37374bSHongtao Jia			tbi0: tbi-phy@11 {
125dc37374bSHongtao Jia				reg = <0x11>;
126dc37374bSHongtao Jia				device_type = "tbi-phy";
127dc37374bSHongtao Jia			};
128dc37374bSHongtao Jia		};
129dc37374bSHongtao Jia
130dc37374bSHongtao Jia		ethernet@b0000 {
131dc37374bSHongtao Jia			phy-handle = <&phy0>;
132dc37374bSHongtao Jia			phy-connection-type = "rgmii-id";
133dc37374bSHongtao Jia		};
134dc37374bSHongtao Jia
135dc37374bSHongtao Jia		ethernet@b1000 {
136dc37374bSHongtao Jia			phy-handle = <&phy1>;
137dc37374bSHongtao Jia			tbi-handle = <&tbi0>;
138dc37374bSHongtao Jia			phy-connection-type = "sgmii";
139dc37374bSHongtao Jia		};
140dc37374bSHongtao Jia	};
141dc37374bSHongtao Jia
142dc37374bSHongtao Jia	pci0: pcie@ffe09000 {
143dc37374bSHongtao Jia		ranges = <0x2000000 0x0 0xe0000000 0 0xa0000000 0x0 0x20000000
144dc37374bSHongtao Jia			  0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>;
145dc37374bSHongtao Jia		reg = <0x0 0xffe09000 0 0x1000>;
146dc37374bSHongtao Jia		pcie@0 {
147dc37374bSHongtao Jia			ranges = <0x2000000 0x0 0xe0000000
148dc37374bSHongtao Jia				  0x2000000 0x0 0xe0000000
149dc37374bSHongtao Jia				  0x0 0x20000000
150dc37374bSHongtao Jia
151dc37374bSHongtao Jia				  0x1000000 0x0 0x0
152dc37374bSHongtao Jia				  0x1000000 0x0 0x0
153dc37374bSHongtao Jia				  0x0 0x100000>;
154dc37374bSHongtao Jia		};
155dc37374bSHongtao Jia	};
156dc37374bSHongtao Jia
157dc37374bSHongtao Jia	pci1: pcie@ffe0a000 {
158dc37374bSHongtao Jia		ranges = <0x2000000 0x0 0xe0000000 0 0xc0000000 0x0 0x20000000
159dc37374bSHongtao Jia			  0x1000000 0x0 0x00000000 0 0xffc20000 0x0 0x10000>;
160dc37374bSHongtao Jia		reg = <0 0xffe0a000 0 0x1000>;
161dc37374bSHongtao Jia		pcie@0 {
162dc37374bSHongtao Jia			ranges = <0x2000000 0x0 0xe0000000
163dc37374bSHongtao Jia				  0x2000000 0x0 0xe0000000
164dc37374bSHongtao Jia				  0x0 0x20000000
165dc37374bSHongtao Jia
166dc37374bSHongtao Jia				  0x1000000 0x0 0x0
167dc37374bSHongtao Jia				  0x1000000 0x0 0x0
168dc37374bSHongtao Jia				  0x0 0x100000>;
169dc37374bSHongtao Jia		};
170dc37374bSHongtao Jia	};
171dc37374bSHongtao Jia
172dc37374bSHongtao Jia	pci2: pcie@ffe0b000 {
173dc37374bSHongtao Jia		ranges = <0x2000000 0x0 0xe0000000 0 0x80000000 0x0 0x20000000
174dc37374bSHongtao Jia			  0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>;
175dc37374bSHongtao Jia		reg = <0 0xffe0b000 0 0x1000>;
176dc37374bSHongtao Jia		pcie@0 {
177dc37374bSHongtao Jia			ranges = <0x2000000 0x0 0xe0000000
178dc37374bSHongtao Jia				  0x2000000 0x0 0xe0000000
179dc37374bSHongtao Jia				  0x0 0x20000000
180dc37374bSHongtao Jia
181dc37374bSHongtao Jia				  0x1000000 0x0 0x0
182dc37374bSHongtao Jia				  0x1000000 0x0 0x0
183dc37374bSHongtao Jia				  0x0 0x100000>;
184dc37374bSHongtao Jia		};
185dc37374bSHongtao Jia	};
186dc37374bSHongtao Jia};
187dc37374bSHongtao Jia
188dc37374bSHongtao Jia/include/ "p1022si-post.dtsi"
189