Commit | Line | Data |
---|---|---|
1355bbc4 KK |
1 | /* |
2 | * SAMSUNG EXYNOS5440 SoC device tree source | |
3 | * | |
4 | * Copyright (c) 2012 Samsung Electronics Co., Ltd. | |
5 | * http://www.samsung.com | |
6 | * | |
7 | * This program is free software; you can redistribute it and/or modify | |
8 | * it under the terms of the GNU General Public License version 2 as | |
9 | * published by the Free Software Foundation. | |
10 | */ | |
11 | ||
12 | /include/ "skeleton.dtsi" | |
13 | ||
14 | / { | |
15 | compatible = "samsung,exynos5440"; | |
16 | ||
17 | interrupt-parent = <&gic>; | |
18 | ||
dabd3f9d G |
19 | aliases { |
20 | spi0 = &spi_0; | |
21 | }; | |
22 | ||
d8bafc87 TA |
23 | clock: clock-controller@0x160000 { |
24 | compatible = "samsung,exynos5440-clock"; | |
25 | reg = <0x160000 0x1000>; | |
26 | #clock-cells = <1>; | |
27 | }; | |
28 | ||
1355bbc4 KK |
29 | gic:interrupt-controller@2E0000 { |
30 | compatible = "arm,cortex-a15-gic"; | |
31 | #interrupt-cells = <3>; | |
32 | interrupt-controller; | |
3279dd36 GM |
33 | reg = <0x2E1000 0x1000>, |
34 | <0x2E2000 0x1000>, | |
35 | <0x2E4000 0x2000>, | |
36 | <0x2E6000 0x2000>; | |
37 | interrupts = <1 9 0xf04>; | |
1355bbc4 KK |
38 | }; |
39 | ||
40 | cpus { | |
f5108e1c KK |
41 | #address-cells = <1>; |
42 | #size-cells = <0>; | |
43 | ||
1355bbc4 KK |
44 | cpu@0 { |
45 | compatible = "arm,cortex-a15"; | |
f5108e1c | 46 | reg = <0>; |
1355bbc4 KK |
47 | }; |
48 | cpu@1 { | |
49 | compatible = "arm,cortex-a15"; | |
f5108e1c | 50 | reg = <1>; |
1355bbc4 KK |
51 | }; |
52 | cpu@2 { | |
53 | compatible = "arm,cortex-a15"; | |
f5108e1c | 54 | reg = <2>; |
1355bbc4 KK |
55 | }; |
56 | cpu@3 { | |
57 | compatible = "arm,cortex-a15"; | |
f5108e1c | 58 | reg = <3>; |
1355bbc4 KK |
59 | }; |
60 | }; | |
61 | ||
4c46f51a SP |
62 | arm-pmu { |
63 | compatible = "arm,cortex-a15-pmu", "arm,cortex-a9-pmu"; | |
64 | interrupts = <0 52 4>, | |
65 | <0 53 4>, | |
66 | <0 54 4>, | |
67 | <0 55 4>; | |
68 | }; | |
69 | ||
f5108e1c KK |
70 | timer { |
71 | compatible = "arm,cortex-a15-timer", | |
72 | "arm,armv7-timer"; | |
73 | interrupts = <1 13 0xf08>, | |
74 | <1 14 0xf08>, | |
75 | <1 11 0xf08>, | |
76 | <1 10 0xf08>; | |
77 | clock-frequency = <50000000>; | |
78 | }; | |
79 | ||
7f7b8ed0 ADK |
80 | cpufreq@160000 { |
81 | compatible = "samsung,exynos5440-cpufreq"; | |
82 | reg = <0x160000 0x1000>; | |
83 | interrupts = <0 57 0>; | |
84 | operating-points = < | |
85 | /* KHz uV */ | |
86 | 1200000 1025000 | |
87 | 1000000 975000 | |
88 | 800000 925000 | |
89 | >; | |
90 | }; | |
91 | ||
1355bbc4 KK |
92 | serial@B0000 { |
93 | compatible = "samsung,exynos4210-uart"; | |
94 | reg = <0xB0000 0x1000>; | |
95 | interrupts = <0 2 0>; | |
6a0338c2 TA |
96 | clocks = <&clock 21>, <&clock 21>; |
97 | clock-names = "uart", "clk_uart_baud0"; | |
1355bbc4 KK |
98 | }; |
99 | ||
100 | serial@C0000 { | |
101 | compatible = "samsung,exynos4210-uart"; | |
102 | reg = <0xC0000 0x1000>; | |
103 | interrupts = <0 3 0>; | |
6a0338c2 TA |
104 | clocks = <&clock 21>, <&clock 21>; |
105 | clock-names = "uart", "clk_uart_baud0"; | |
1355bbc4 KK |
106 | }; |
107 | ||
dabd3f9d G |
108 | spi_0: spi@D0000 { |
109 | compatible = "samsung,exynos5440-spi"; | |
110 | reg = <0xD0000 0x100>; | |
1355bbc4 | 111 | interrupts = <0 4 0>; |
1355bbc4 KK |
112 | #address-cells = <1>; |
113 | #size-cells = <0>; | |
dabd3f9d G |
114 | samsung,spi-src-clk = <0>; |
115 | num-cs = <1>; | |
6a0338c2 TA |
116 | clocks = <&clock 21>, <&clock 16>; |
117 | clock-names = "spi", "spi_busclk0"; | |
1355bbc4 KK |
118 | }; |
119 | ||
120 | pinctrl { | |
f6925432 | 121 | compatible = "samsung,exynos5440-pinctrl"; |
1355bbc4 | 122 | reg = <0xE0000 0x1000>; |
71d87da3 TA |
123 | interrupts = <0 37 0>, <0 38 0>, <0 39 0>, <0 40 0>, |
124 | <0 41 0>, <0 42 0>, <0 43 0>, <0 44 0>; | |
1355bbc4 KK |
125 | interrupt-controller; |
126 | #interrupt-cells = <2>; | |
b1ce101b TA |
127 | #gpio-cells = <2>; |
128 | ||
129 | fan: fan { | |
130 | samsung,exynos5440-pin-function = <1>; | |
131 | }; | |
132 | ||
133 | hdd_led0: hdd_led0 { | |
134 | samsung,exynos5440-pin-function = <2>; | |
135 | }; | |
136 | ||
137 | hdd_led1: hdd_led1 { | |
138 | samsung,exynos5440-pin-function = <3>; | |
139 | }; | |
140 | ||
141 | uart1: uart1 { | |
142 | samsung,exynos5440-pin-function = <4>; | |
143 | }; | |
1355bbc4 KK |
144 | }; |
145 | ||
146 | i2c@F0000 { | |
49498c56 | 147 | compatible = "samsung,exynos5440-i2c"; |
1355bbc4 KK |
148 | reg = <0xF0000 0x1000>; |
149 | interrupts = <0 5 0>; | |
150 | #address-cells = <1>; | |
151 | #size-cells = <0>; | |
6a0338c2 TA |
152 | clocks = <&clock 21>; |
153 | clock-names = "i2c"; | |
1355bbc4 KK |
154 | }; |
155 | ||
156 | i2c@100000 { | |
49498c56 | 157 | compatible = "samsung,exynos5440-i2c"; |
1355bbc4 KK |
158 | reg = <0x100000 0x1000>; |
159 | interrupts = <0 6 0>; | |
160 | #address-cells = <1>; | |
161 | #size-cells = <0>; | |
6a0338c2 TA |
162 | clocks = <&clock 21>; |
163 | clock-names = "i2c"; | |
1355bbc4 KK |
164 | }; |
165 | ||
166 | watchdog { | |
167 | compatible = "samsung,s3c2410-wdt"; | |
168 | reg = <0x110000 0x1000>; | |
169 | interrupts = <0 1 0>; | |
6a0338c2 TA |
170 | clocks = <&clock 21>; |
171 | clock-names = "watchdog"; | |
1355bbc4 KK |
172 | }; |
173 | ||
c038c4d8 BA |
174 | gmac: ethernet@00230000 { |
175 | compatible = "snps,dwmac-3.70a"; | |
176 | reg = <0x00230000 0x8000>; | |
177 | interrupt-parent = <&gic>; | |
178 | interrupts = <0 31 4>; | |
179 | interrupt-names = "macirq"; | |
180 | phy-mode = "sgmii"; | |
dce3b8ee | 181 | clocks = <&clock 25>; |
c038c4d8 BA |
182 | clock-names = "stmmaceth"; |
183 | }; | |
184 | ||
1355bbc4 KK |
185 | amba { |
186 | #address-cells = <1>; | |
187 | #size-cells = <1>; | |
188 | compatible = "arm,amba-bus"; | |
189 | interrupt-parent = <&gic>; | |
190 | ranges; | |
191 | ||
58a7bbf7 | 192 | pdma0: pdma@00121000 { |
1355bbc4 | 193 | compatible = "arm,pl330", "arm,primecell"; |
58a7bbf7 SP |
194 | reg = <0x121000 0x1000>; |
195 | interrupts = <0 46 0>; | |
196 | clocks = <&clock 8>; | |
6a0338c2 | 197 | clock-names = "apb_pclk"; |
0a96d4d3 PV |
198 | #dma-cells = <1>; |
199 | #dma-channels = <8>; | |
200 | #dma-requests = <32>; | |
1355bbc4 KK |
201 | }; |
202 | ||
58a7bbf7 | 203 | pdma1: pdma@00120000 { |
1355bbc4 | 204 | compatible = "arm,pl330", "arm,primecell"; |
58a7bbf7 SP |
205 | reg = <0x120000 0x1000>; |
206 | interrupts = <0 47 0>; | |
207 | clocks = <&clock 8>; | |
6a0338c2 | 208 | clock-names = "apb_pclk"; |
0a96d4d3 PV |
209 | #dma-cells = <1>; |
210 | #dma-channels = <8>; | |
211 | #dma-requests = <32>; | |
1355bbc4 KK |
212 | }; |
213 | }; | |
214 | ||
215 | rtc { | |
216 | compatible = "samsung,s3c6410-rtc"; | |
217 | reg = <0x130000 0x1000>; | |
e877a5aa | 218 | interrupts = <0 17 0>, <0 16 0>; |
6a0338c2 TA |
219 | clocks = <&clock 21>; |
220 | clock-names = "rtc"; | |
1355bbc4 | 221 | }; |
1a12f52e G |
222 | |
223 | sata@210000 { | |
224 | compatible = "snps,exynos5440-ahci"; | |
225 | reg = <0x210000 0x10000>; | |
226 | interrupts = <0 30 0>; | |
227 | clocks = <&clock 23>; | |
228 | clock-names = "sata"; | |
229 | }; | |
230 | ||
a3808905 TA |
231 | ohci@220000 { |
232 | compatible = "samsung,exynos5440-ohci"; | |
233 | reg = <0x220000 0x1000>; | |
234 | interrupts = <0 29 0>; | |
235 | clocks = <&clock 24>; | |
236 | clock-names = "usbhost"; | |
237 | }; | |
238 | ||
239 | ehci@221000 { | |
240 | compatible = "samsung,exynos5440-ehci"; | |
241 | reg = <0x221000 0x1000>; | |
242 | interrupts = <0 29 0>; | |
243 | clocks = <&clock 24>; | |
244 | clock-names = "usbhost"; | |
245 | }; | |
1355bbc4 | 246 | }; |