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 | ||
d8bafc87 TA |
19 | clock: clock-controller@0x160000 { |
20 | compatible = "samsung,exynos5440-clock"; | |
21 | reg = <0x160000 0x1000>; | |
22 | #clock-cells = <1>; | |
23 | }; | |
24 | ||
1355bbc4 KK |
25 | gic:interrupt-controller@2E0000 { |
26 | compatible = "arm,cortex-a15-gic"; | |
27 | #interrupt-cells = <3>; | |
28 | interrupt-controller; | |
3279dd36 GM |
29 | reg = <0x2E1000 0x1000>, |
30 | <0x2E2000 0x1000>, | |
31 | <0x2E4000 0x2000>, | |
32 | <0x2E6000 0x2000>; | |
33 | interrupts = <1 9 0xf04>; | |
1355bbc4 KK |
34 | }; |
35 | ||
36 | cpus { | |
f5108e1c KK |
37 | #address-cells = <1>; |
38 | #size-cells = <0>; | |
39 | ||
1355bbc4 KK |
40 | cpu@0 { |
41 | compatible = "arm,cortex-a15"; | |
f5108e1c | 42 | reg = <0>; |
1355bbc4 KK |
43 | }; |
44 | cpu@1 { | |
45 | compatible = "arm,cortex-a15"; | |
f5108e1c | 46 | reg = <1>; |
1355bbc4 KK |
47 | }; |
48 | cpu@2 { | |
49 | compatible = "arm,cortex-a15"; | |
f5108e1c | 50 | reg = <2>; |
1355bbc4 KK |
51 | }; |
52 | cpu@3 { | |
53 | compatible = "arm,cortex-a15"; | |
f5108e1c | 54 | reg = <3>; |
1355bbc4 KK |
55 | }; |
56 | }; | |
57 | ||
4c46f51a SP |
58 | arm-pmu { |
59 | compatible = "arm,cortex-a15-pmu", "arm,cortex-a9-pmu"; | |
60 | interrupts = <0 52 4>, | |
61 | <0 53 4>, | |
62 | <0 54 4>, | |
63 | <0 55 4>; | |
64 | }; | |
65 | ||
f5108e1c KK |
66 | timer { |
67 | compatible = "arm,cortex-a15-timer", | |
68 | "arm,armv7-timer"; | |
69 | interrupts = <1 13 0xf08>, | |
70 | <1 14 0xf08>, | |
71 | <1 11 0xf08>, | |
72 | <1 10 0xf08>; | |
73 | clock-frequency = <50000000>; | |
74 | }; | |
75 | ||
7f7b8ed0 ADK |
76 | cpufreq@160000 { |
77 | compatible = "samsung,exynos5440-cpufreq"; | |
78 | reg = <0x160000 0x1000>; | |
79 | interrupts = <0 57 0>; | |
80 | operating-points = < | |
81 | /* KHz uV */ | |
82 | 1200000 1025000 | |
83 | 1000000 975000 | |
84 | 800000 925000 | |
85 | >; | |
86 | }; | |
87 | ||
1355bbc4 KK |
88 | serial@B0000 { |
89 | compatible = "samsung,exynos4210-uart"; | |
90 | reg = <0xB0000 0x1000>; | |
91 | interrupts = <0 2 0>; | |
6a0338c2 TA |
92 | clocks = <&clock 21>, <&clock 21>; |
93 | clock-names = "uart", "clk_uart_baud0"; | |
1355bbc4 KK |
94 | }; |
95 | ||
96 | serial@C0000 { | |
97 | compatible = "samsung,exynos4210-uart"; | |
98 | reg = <0xC0000 0x1000>; | |
99 | interrupts = <0 3 0>; | |
6a0338c2 TA |
100 | clocks = <&clock 21>, <&clock 21>; |
101 | clock-names = "uart", "clk_uart_baud0"; | |
1355bbc4 KK |
102 | }; |
103 | ||
104 | spi { | |
105 | compatible = "samsung,exynos4210-spi"; | |
106 | reg = <0xD0000 0x1000>; | |
107 | interrupts = <0 4 0>; | |
108 | tx-dma-channel = <&pdma0 5>; /* preliminary */ | |
109 | rx-dma-channel = <&pdma0 4>; /* preliminary */ | |
110 | #address-cells = <1>; | |
111 | #size-cells = <0>; | |
6a0338c2 TA |
112 | clocks = <&clock 21>, <&clock 16>; |
113 | clock-names = "spi", "spi_busclk0"; | |
1355bbc4 KK |
114 | }; |
115 | ||
116 | pinctrl { | |
f6925432 | 117 | compatible = "samsung,exynos5440-pinctrl"; |
1355bbc4 | 118 | reg = <0xE0000 0x1000>; |
71d87da3 TA |
119 | interrupts = <0 37 0>, <0 38 0>, <0 39 0>, <0 40 0>, |
120 | <0 41 0>, <0 42 0>, <0 43 0>, <0 44 0>; | |
1355bbc4 KK |
121 | interrupt-controller; |
122 | #interrupt-cells = <2>; | |
b1ce101b TA |
123 | #gpio-cells = <2>; |
124 | ||
125 | fan: fan { | |
126 | samsung,exynos5440-pin-function = <1>; | |
127 | }; | |
128 | ||
129 | hdd_led0: hdd_led0 { | |
130 | samsung,exynos5440-pin-function = <2>; | |
131 | }; | |
132 | ||
133 | hdd_led1: hdd_led1 { | |
134 | samsung,exynos5440-pin-function = <3>; | |
135 | }; | |
136 | ||
137 | uart1: uart1 { | |
138 | samsung,exynos5440-pin-function = <4>; | |
139 | }; | |
1355bbc4 KK |
140 | }; |
141 | ||
142 | i2c@F0000 { | |
49498c56 | 143 | compatible = "samsung,exynos5440-i2c"; |
1355bbc4 KK |
144 | reg = <0xF0000 0x1000>; |
145 | interrupts = <0 5 0>; | |
146 | #address-cells = <1>; | |
147 | #size-cells = <0>; | |
6a0338c2 TA |
148 | clocks = <&clock 21>; |
149 | clock-names = "i2c"; | |
1355bbc4 KK |
150 | }; |
151 | ||
152 | i2c@100000 { | |
49498c56 | 153 | compatible = "samsung,exynos5440-i2c"; |
1355bbc4 KK |
154 | reg = <0x100000 0x1000>; |
155 | interrupts = <0 6 0>; | |
156 | #address-cells = <1>; | |
157 | #size-cells = <0>; | |
6a0338c2 TA |
158 | clocks = <&clock 21>; |
159 | clock-names = "i2c"; | |
1355bbc4 KK |
160 | }; |
161 | ||
162 | watchdog { | |
163 | compatible = "samsung,s3c2410-wdt"; | |
164 | reg = <0x110000 0x1000>; | |
165 | interrupts = <0 1 0>; | |
6a0338c2 TA |
166 | clocks = <&clock 21>; |
167 | clock-names = "watchdog"; | |
1355bbc4 KK |
168 | }; |
169 | ||
c038c4d8 BA |
170 | gmac: ethernet@00230000 { |
171 | compatible = "snps,dwmac-3.70a"; | |
172 | reg = <0x00230000 0x8000>; | |
173 | interrupt-parent = <&gic>; | |
174 | interrupts = <0 31 4>; | |
175 | interrupt-names = "macirq"; | |
176 | phy-mode = "sgmii"; | |
dce3b8ee | 177 | clocks = <&clock 25>; |
c038c4d8 BA |
178 | clock-names = "stmmaceth"; |
179 | }; | |
180 | ||
1355bbc4 KK |
181 | amba { |
182 | #address-cells = <1>; | |
183 | #size-cells = <1>; | |
184 | compatible = "arm,amba-bus"; | |
185 | interrupt-parent = <&gic>; | |
186 | ranges; | |
187 | ||
58a7bbf7 | 188 | pdma0: pdma@00121000 { |
1355bbc4 | 189 | compatible = "arm,pl330", "arm,primecell"; |
58a7bbf7 SP |
190 | reg = <0x121000 0x1000>; |
191 | interrupts = <0 46 0>; | |
192 | clocks = <&clock 8>; | |
6a0338c2 | 193 | clock-names = "apb_pclk"; |
0a96d4d3 PV |
194 | #dma-cells = <1>; |
195 | #dma-channels = <8>; | |
196 | #dma-requests = <32>; | |
1355bbc4 KK |
197 | }; |
198 | ||
58a7bbf7 | 199 | pdma1: pdma@00120000 { |
1355bbc4 | 200 | compatible = "arm,pl330", "arm,primecell"; |
58a7bbf7 SP |
201 | reg = <0x120000 0x1000>; |
202 | interrupts = <0 47 0>; | |
203 | clocks = <&clock 8>; | |
6a0338c2 | 204 | clock-names = "apb_pclk"; |
0a96d4d3 PV |
205 | #dma-cells = <1>; |
206 | #dma-channels = <8>; | |
207 | #dma-requests = <32>; | |
1355bbc4 KK |
208 | }; |
209 | }; | |
210 | ||
211 | rtc { | |
212 | compatible = "samsung,s3c6410-rtc"; | |
213 | reg = <0x130000 0x1000>; | |
e877a5aa | 214 | interrupts = <0 17 0>, <0 16 0>; |
6a0338c2 TA |
215 | clocks = <&clock 21>; |
216 | clock-names = "rtc"; | |
522ccdb6 | 217 | status = "disabled"; |
1355bbc4 KK |
218 | }; |
219 | }; |