summaryrefslogtreecommitdiffstats
path: root/sys/boot/fdt/dts/arm/exynos5250.dtsi
blob: 3d2e6bcd2e7c5f86794f4ec9dcb5d75abe85a235 (plain)
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
271
272
273
/*-
 * Copyright (c) 2013 Ruslan Bukin <br@bsdpad.com>
 * All rights reserved.
 *
 * 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.
 *
 * $FreeBSD$
 */

/ {
	compatible = "samsung,exynos5250";
	#address-cells = <1>;
	#size-cells = <1>;
	interrupt-parent = <&GIC>;

	aliases {
		soc = &SOC;
		serial0 = &serial0;
		serial1 = &serial1;
		clk0 = &clk0;
		dp0 = &dp0;
		fimd0 = &fimd0;
	};

	SOC: Exynos5@0 {
		#address-cells = <1>;
		#size-cells = <1>;
		compatible = "simple-bus";
		ranges;
		bus-frequency = <0>;

		GIC: interrupt-controller@10481000 {
			compatible = "arm,gic";
			reg =	< 0x10481000 0x1000 >,	/* Distributor Registers */
				< 0x10482000 0x2000 >;	/* CPU Interface Registers */
			interrupt-controller;
			#address-cells = <0>;
			#interrupt-cells = <1>;
		};

		combiner: interrupt-controller@10440000 {
			compatible = "exynos,combiner";
			reg = <0x10440000 0x1000>;
			interrupts = < 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 >;
			interrupt-parent = <&GIC>;
		};

		clk0: clk@10010000 {
			compatible = "exynos,clk";
			reg = < 0x10020000 0x20000 >;
		};

		mct {
			compatible = "exynos,mct";
			reg = < 0x101C0000 0x1000 >;
			clock-frequency = <24000000>;
		};

		generic_timer {
			compatible = "arm,armv7-timer";
			clock-frequency = <24000000>;
			interrupts = < 29 30 27 26 >;
			interrupt-parent = <&GIC>;
		};

		pwm {
			compatible = "samsung,s3c24x0-timer";
			reg = <0x12DD0000 0x1000>;
			interrupts = < 71 >;
			interrupt-parent = <&GIC>;
			clock-frequency = <24000000>;
		};

		pad0: pad@11400000 {
			compatible = "exynos,pad";
			status = "disabled";
			reg = <0x11400000 0x1000>, /* gpio left */
			      <0x13400000 0x1000>, /* gpio right */
			      <0x10D10000 0x1000>, /* gpio c2c */
			      <0x03860000 0x1000>;
			interrupts = < 78 77 82 79 >;
			interrupt-parent = <&GIC>;
		};

		usb@12110000 {
			compatible = "exynos,usb-ehci", "usb-ehci";
			reg = <0x12110000 0x1000>, /* EHCI */
			      <0x12130000 0x1000>, /* EHCI host ctrl */
			      <0x10040000 0x1000>, /* Power */
			      <0x10050230 0x10>; /* Sysreg */
			interrupts = < 103 >;
			interrupt-parent = <&GIC>;
		};

		usb@12120000 {
			compatible = "exynos,usb-ohci", "usb-ohci";
			reg = <0x12120000 0x10000>;
			interrupts = < 103 >;
			interrupt-parent = <&GIC>;
		};

		sdhci@12200000 {
			compatible = "sdhci_generic";
			reg = <0x12200000 0x1000>;
			interrupts = <107>;
			interrupt-parent = <&GIC>;
			max-frequency = <24000000>; /* TODO: verify freq */
		};

		sdhci@12210000 {
			compatible = "sdhci_generic";
			reg = <0x12210000 0x1000>;
			interrupts = <108>;
			interrupt-parent = <&GIC>;
			max-frequency = <24000000>;
		};

		sdhci@12220000 {
			compatible = "sdhci_generic";
			reg = <0x12220000 0x1000>;
			interrupts = <109>;
			interrupt-parent = <&GIC>;
			max-frequency = <24000000>;
		};

		sdhci@12230000 {
			compatible = "sdhci_generic";
			reg = <0x12230000 0x1000>;
			interrupts = <110>;
			interrupt-parent = <&GIC>;
			max-frequency = <24000000>;
		};

		serial0: serial@12C00000 {
			compatible = "exynos";
			reg = <0x12C00000 0x100>;
			interrupts = < 83 >;
			interrupt-parent = <&GIC>;
			clock-frequency = < 100000000 >;
			current-speed = <115200>;
		};

		serial1: serial@12C10000 {
			compatible = "exynos";
			reg = <0x12C10000 0x100>;
			interrupts = < 84 >;
			interrupt-parent = <&GIC>;
			clock-frequency = < 100000000 >;
			current-speed = <115200>;
		};

		serial2: serial@12C20000 {
			compatible = "exynos";
			reg = <0x12C20000 0x100>;
			interrupts = < 85 >;
			interrupt-parent = <&GIC>;
			clock-frequency = < 100000000 >;
			current-speed = <115200>;
		};

		serial3: serial@12C30000 {
			compatible = "exynos";
			reg = <0x12C30000 0x100>;
			interrupts = < 86 >;
			interrupt-parent = <&GIC>;
			clock-frequency = < 100000000 >;
			current-speed = <115200>;
		};

		i2c0: i2c@12C60000 {
			compatible = "exynos,i2c";
			status = "disabled";
			reg = <0x12C60000 0x10000>;
			interrupts = < 88 >;
			interrupt-parent = <&GIC>;
		};

		i2c1: i2c@12C70000 {
			compatible = "exynos,i2c";
			status = "disabled";
			reg = <0x12C70000 0x10000>;
			interrupts = < 89 >;
			interrupt-parent = <&GIC>;
		};

		i2c2: i2c@12C80000 {
			compatible = "exynos,i2c";
			status = "disabled";
			reg = <0x12C80000 0x10000>;
			interrupts = < 90 >;
			interrupt-parent = <&GIC>;
		};

		i2c3: i2c@12C90000 {
			compatible = "exynos,i2c";
			status = "disabled";
			reg = <0x12C90000 0x10000>;
			interrupts = < 91 >;
			interrupt-parent = <&GIC>;
		};

		i2c4: i2c@12CA0000 {
			compatible = "exynos,i2c";
			status = "disabled";
			reg = <0x12CA0000 0x10000>;
			interrupts = < 92 >;
			interrupt-parent = <&GIC>;
		};

		i2c5: i2c@12CB0000 {
			compatible = "exynos,i2c";
			status = "disabled";
			reg = <0x12CB0000 0x10000>;
			interrupts = < 93 >;
			interrupt-parent = <&GIC>;
		};

		i2c6: i2c@12CC0000 {
			compatible = "exynos,i2c";
			status = "disabled";
			reg = <0x12CC0000 0x10000>;
			interrupts = < 94 >;
			interrupt-parent = <&GIC>;
		};

		i2c7: i2c@12CD0000 {
			compatible = "exynos,i2c";
			status = "disabled";
			reg = <0x12CD0000 0x10000>;
			interrupts = < 95 >;
			interrupt-parent = <&GIC>;
		};

		fimd0: fimd@14400000 {
			compatible = "exynos,fimd";
			status = "disabled";
			reg = < 0x14400000 0x10000 >, /* fimd */
			      < 0x14420000 0x10000 >, /* disp */
			      < 0x10050000 0x220 >; /* sysreg */
			interrupt-parent = <&GIC>;
		};

		dp0: dp@145B0000 {
			compatible = "exynos,dp";
			status = "disabled";
			reg = < 0x145B0000 0x10000 >,
			      < 0x10040720 0x10 >; /* PHY */
			interrupt-parent = <&GIC>;
		};
	};
};
OpenPOWER on IntegriCloud