1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
|
/*
* Copyright (c) 2011 Jakub Klama <jceel@FreeBSD.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* Embedded Artists LPC3250-Kit Device Tree Source.
*
* $FreeBSD$
*/
/dts-v1/;
/ {
model = "ea,LPC3250-KIT";
compatible = "LPC3250-KIT";
#address-cells = <1>;
#size-cells = <1>;
aliases {
soc = &soc;
serial4 = &serial4;
};
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "ARM,926EJ-S";
reg = <0x0>;
d-cache-line-size = <32>; // 32 bytes
i-cache-line-size = <32>; // 32 bytes
d-cache-size = <0x4000>; // L1, 16K
i-cache-size = <0x4000>; // L1, 16K
timebase-frequency = <0>;
bus-frequency = <0>;
clock-frequency = <0>;
};
};
memory {
device_type = "memory";
reg = <0x80000000 0x4000000>; // 64M at 0x80000000
};
soc: ahb7@40000000 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "simple-bus";
ranges = <0x0 0x40000000 0x10000000>;
bus-frequency = <13000000>;
pwr@4000 {
compatible = "lpc,pwr";
reg = <0x4000 0x4000>;
};
PIC: pic@8000 {
interrupt-controller;
#address-cells = <0>;
#interrupt-cells = <1>;
reg = <0x8000 0xc000>;
compatible = "lpc,pic";
};
timer@44000 {
compatible = "lpc,timer";
reg = <0x44000 0x4000
0x4c000 0x4000>;
interrupts = <16 17>;
interrupt-parent = <&PIC>;
};
rtc@24000 {
compatible = "lpc,rtc";
reg = <0x24000 0x4000>;
interrupts = <52>;
interrupt-parent = <&PIC>;
};
serial0: serial@14000 {
compatible = "lpc,hsuart";
status = "disabled";
reg = <0x14000 0x20>;
reg-shift = <2>;
clock-frequency = <0>;
interrupts = <26>;
interrupt-parent = <&PIC>;
};
serial1: serial@18000 {
compatible = "lpc,hsuart";
status = "disabled";
reg = <0x18000 0x20>;
reg-shift = <2>;
clock-frequency = <0>;
interrupts = <25>;
interrupt-parent = <&PIC>;
};
serial2: serial@80000 {
compatible = "lpc,uart";
status = "disabled";
reg = <0x80000 0x20>;
reg-shift = <2>;
clock-frequency = <13000000>;
interrupts = <7>;
interrupt-parent = <&PIC>;
};
serial3: serial@88000 {
compatible = "lpc,uart";
status = "disabled";
reg = <0x88000 0x20>;
reg-shift = <2>;
clock-frequency = <13000000>;
interrupts = <8>;
interrupt-parent = <&PIC>;
};
serial4: serial@90000 {
compatible = "lpc,uart";
reg = <0x90000 0x20>;
reg-shift = <2>;
clock-frequency = <13000000>;
current-speed = <115200>;
interrupts = <9>;
interrupt-parent = <&PIC>;
};
serial5: serial@98000 {
compatible = "lpc,uart";
status = "disabled";
reg = <0x98000 0x20>;
reg-shift = <2>;
clock-frequency = <13000000>;
interrupts = <10>;
interrupt-parent = <&PIC>;
};
serial6: serial@1c000 {
compatible = "lpc,uart";
status = "disabled";
reg = <0x1c000 0x20>;
reg-shift = <2>;
clock-frequency = <0>;
interrupts = <24>;
interrupt-parent = <&PIC>;
};
gpio@28000 {
compatible = "lpc,gpio";
reg = <0x28000 0x4000>;
};
};
ahb6@30000000 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "simple-bus";
ranges = <0x0 0x30000000 0x10000000>;
dmac@1000000 {
compatible = "lpc,dmac";
reg = <0x1000000 0x20000>;
interrupts = <28>;
interrupt-parent = <&PIC>;
};
usb@1020000 {
compatible = "lpc,usb-ohci", "usb-ohci";
reg = <0x1020000 0x20000>;
interrupts = <59>;
interrupt-parent = <&PIC>;
};
lpcfb@1040000 {
compatible = "lpc,fb";
reg = <0x1040000 0x20000>;
interrupts = <14>;
interrupt-parent = <&PIC>;
/* Screen parameters: */
is-tft = <1>;
horizontal-resolution = <240>;
vertical-resolution = <320>;
bits-per-pixel = <16>;
pixel-clock = <121654>;
left-margin = <28>;
right-margin = <10>;
upper-margin = <2>;
lower-margin = <2>;
hsync-len = <3>;
vsync-len = <2>;
};
lpe@1060000 {
compatible = "lpc,ethernet";
reg = <0x1060000 0x20000>;
interrupts = <29>;
interrupt-parent = <&PIC>;
local-mac-address = [ 00 1a f1 01 1f 23 ];
mdio@0 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "lpc,mdio";
phy0: ethernet-phy@0 {
reg = <0x0>;
};
};
};
};
ahb5@20000000 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "simple-bus";
ranges = <0x0 0x20000000 0x10000000>;
spi0@84000 {
compatible = "lpc,spi";
reg = <0x84000 0x4000>;
interrupts = <20>;
interrupt-parent = <&PIC>;
};
spi1@8c000 {
compatible = "lpc,spi";
status = "disabled";
reg = <0x8c000 0x4000>;
interrupts = <21>;
interrupt-parent = <&PIC>;
};
lpcmmc@98000 {
compatible = "lpc,mmc";
reg = <0x98000 0x4000>;
interrupts = <15 13>;
interrupt-parent = <&PIC>;
};
};
chosen {
stdin = "serial4";
stdout = "serial4";
};
};
|