blob: 81fabf031effdca9424239be77bcea575854d25c [file] [log] [blame]
Arnd Bergmann5d0769f2012-03-02 23:07:21 +00001/*
2 * Copyright 2012 Linaro Ltd
3 *
4 * The code contained herein is licensed under the GNU General Public
5 * License. You may obtain a copy of the GNU General Public License
6 * Version 2 or later at the following locations:
7 *
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
10 */
11
Linus Walleij90c40252013-05-29 19:15:39 +020012#include <dt-bindings/interrupt-controller/irq.h>
Linus Walleij0bfe5162016-03-24 15:48:47 +010013#include <dt-bindings/interrupt-controller/arm-gic.h>
Lee Jones841cd0c2013-09-18 09:53:10 +010014#include <dt-bindings/mfd/dbx500-prcmu.h>
Ulf Hansson067adde2014-10-14 11:12:59 +020015#include <dt-bindings/arm/ux500_pm_domains.h>
Linus Walleij1b1e8e02016-03-24 15:29:30 +010016#include <dt-bindings/gpio/gpio.h>
Linus Walleij9aea1512017-02-26 01:02:09 +010017#include <dt-bindings/clock/ste-ab8500.h>
Arnd Bergmann5d0769f2012-03-02 23:07:21 +000018
19/ {
Linus Walleijee8119a2018-07-03 10:03:47 +020020 #address-cells = <1>;
21 #size-cells = <1>;
22
23 chosen {
24 };
25
Linus Walleijbf64dd22015-08-03 09:26:41 +020026 cpus {
27 #address-cells = <1>;
28 #size-cells = <0>;
29 enable-method = "ste,dbx500-smp";
30
31 cpu-map {
32 cluster0 {
33 core0 {
34 cpu = <&CPU0>;
35 };
36 core1 {
37 cpu = <&CPU1>;
38 };
39 };
40 };
41 CPU0: cpu@300 {
42 device_type = "cpu";
43 compatible = "arm,cortex-a9";
44 reg = <0x300>;
Linus Walleija435adb2017-08-22 09:28:20 +020045 /* cpufreq controls */
46 operating-points = <998400 0
47 800000 0
48 400000 0
49 200000 0>;
50 clocks = <&prcmu_clk PRCMU_ARMSS>;
51 clock-names = "cpu";
52 clock-latency = <20000>;
Linus Walleijbf64dd22015-08-03 09:26:41 +020053 };
54 CPU1: cpu@301 {
55 device_type = "cpu";
56 compatible = "arm,cortex-a9";
57 reg = <0x301>;
58 };
59 };
60
Gabriel Fernandezb1ba1432013-03-01 14:38:07 +010061 soc {
Arnd Bergmann5d0769f2012-03-02 23:07:21 +000062 #address-cells = <1>;
63 #size-cells = <1>;
Lee Jones7e0ce272012-03-15 16:46:17 +000064 compatible = "stericsson,db8500";
Lee Jonesdab64872012-03-07 17:22:30 +000065 interrupt-parent = <&intc>;
Arnd Bergmann5d0769f2012-03-02 23:07:21 +000066 ranges;
Lee Jones7e0ce272012-03-15 16:46:17 +000067
Linus Walleijb5574572015-04-16 09:08:15 +020068 ptm@801ae000 {
69 compatible = "arm,coresight-etm3x", "arm,primecell";
70 reg = <0x801ae000 0x1000>;
71
72 clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>;
73 clock-names = "apb_pclk", "atclk";
74 cpu = <&CPU0>;
Suzuki K Poulose5b799842018-09-12 14:53:52 +010075 out-ports {
76 port {
77 ptm0_out_port: endpoint {
78 remote-endpoint = <&funnel_in_port0>;
79 };
Linus Walleijb5574572015-04-16 09:08:15 +020080 };
81 };
82 };
83
84 ptm@801af000 {
85 compatible = "arm,coresight-etm3x", "arm,primecell";
86 reg = <0x801af000 0x1000>;
87
88 clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>;
89 clock-names = "apb_pclk", "atclk";
90 cpu = <&CPU1>;
Suzuki K Poulose5b799842018-09-12 14:53:52 +010091 out-ports {
92 port {
93 ptm1_out_port: endpoint {
94 remote-endpoint = <&funnel_in_port1>;
95 };
Linus Walleijb5574572015-04-16 09:08:15 +020096 };
97 };
98 };
99
100 funnel@801a6000 {
101 compatible = "arm,coresight-funnel", "arm,primecell";
102 reg = <0x801a6000 0x1000>;
103
104 clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>;
105 clock-names = "apb_pclk", "atclk";
Suzuki K Poulose5b799842018-09-12 14:53:52 +0100106 out-ports {
107 port {
Linus Walleijb5574572015-04-16 09:08:15 +0200108 funnel_out_port: endpoint {
109 remote-endpoint =
110 <&replicator_in_port0>;
111 };
112 };
Suzuki K Poulose5b799842018-09-12 14:53:52 +0100113 };
Linus Walleijb5574572015-04-16 09:08:15 +0200114
Suzuki K Poulose5b799842018-09-12 14:53:52 +0100115 in-ports {
116 #address-cells = <1>;
117 #size-cells = <0>;
118
119 port@0 {
Linus Walleijb5574572015-04-16 09:08:15 +0200120 reg = <0>;
121 funnel_in_port0: endpoint {
Linus Walleijb5574572015-04-16 09:08:15 +0200122 remote-endpoint = <&ptm0_out_port>;
123 };
124 };
125
Suzuki K Poulose5b799842018-09-12 14:53:52 +0100126 port@1 {
Linus Walleijb5574572015-04-16 09:08:15 +0200127 reg = <1>;
128 funnel_in_port1: endpoint {
Linus Walleijb5574572015-04-16 09:08:15 +0200129 remote-endpoint = <&ptm1_out_port>;
130 };
131 };
132 };
133 };
134
135 replicator {
136 compatible = "arm,coresight-replicator";
137 clocks = <&prcmu_clk PRCMU_APEATCLK>;
138 clock-names = "atclk";
139
Suzuki K Poulose5b799842018-09-12 14:53:52 +0100140 out-ports {
Linus Walleijb5574572015-04-16 09:08:15 +0200141 #address-cells = <1>;
142 #size-cells = <0>;
143
Linus Walleijb5574572015-04-16 09:08:15 +0200144 port@0 {
145 reg = <0>;
146 replicator_out_port0: endpoint {
147 remote-endpoint = <&tpiu_in_port>;
148 };
149 };
150 port@1 {
151 reg = <1>;
152 replicator_out_port1: endpoint {
153 remote-endpoint = <&etb_in_port>;
154 };
155 };
Suzuki K Poulose5b799842018-09-12 14:53:52 +0100156 };
Linus Walleijb5574572015-04-16 09:08:15 +0200157
Suzuki K Poulose5b799842018-09-12 14:53:52 +0100158 in-ports {
159 port {
Linus Walleijb5574572015-04-16 09:08:15 +0200160 replicator_in_port0: endpoint {
Linus Walleijb5574572015-04-16 09:08:15 +0200161 remote-endpoint = <&funnel_out_port>;
162 };
163 };
164 };
165 };
166
167 tpiu@80190000 {
168 compatible = "arm,coresight-tpiu", "arm,primecell";
169 reg = <0x80190000 0x1000>;
170
171 clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>;
172 clock-names = "apb_pclk", "atclk";
Suzuki K Poulose5b799842018-09-12 14:53:52 +0100173 in-ports {
174 port {
175 tpiu_in_port: endpoint {
176 remote-endpoint = <&replicator_out_port0>;
177 };
Linus Walleijb5574572015-04-16 09:08:15 +0200178 };
179 };
180 };
181
182 etb@801a4000 {
183 compatible = "arm,coresight-etb10", "arm,primecell";
184 reg = <0x801a4000 0x1000>;
185
186 clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>;
187 clock-names = "apb_pclk", "atclk";
Suzuki K Poulose5b799842018-09-12 14:53:52 +0100188 in-ports {
189 port {
190 etb_in_port: endpoint {
191 remote-endpoint = <&replicator_out_port1>;
192 };
Linus Walleijb5574572015-04-16 09:08:15 +0200193 };
194 };
195 };
196
Lee Jonesdab64872012-03-07 17:22:30 +0000197 intc: interrupt-controller@a0411000 {
198 compatible = "arm,cortex-a9-gic";
199 #interrupt-cells = <3>;
200 #address-cells = <1>;
201 interrupt-controller;
Lee Jonesdab64872012-03-07 17:22:30 +0000202 reg = <0xa0411000 0x1000>,
203 <0xa0410100 0x100>;
204 };
205
Geert Uytterhoeven2f217d22018-06-26 09:50:09 +0200206 scu@a0410000 {
Linus Walleij48793412015-05-14 11:22:34 +0200207 compatible = "arm,cortex-a9-scu";
208 reg = <0xa0410000 0x100>;
209 };
210
Linus Walleij724814b2015-05-14 18:02:05 +0200211 /*
212 * The backup RAM is used for retention during sleep
213 * and various things like spin tables
214 */
215 backupram@80150000 {
216 compatible = "ste,dbx500-backupram";
217 reg = <0x80150000 0x2000>;
218 };
219
Lee Jonesf1949ea2012-03-08 09:02:02 +0000220 L2: l2-cache {
221 compatible = "arm,pl310-cache";
222 reg = <0xa0412000 0x1000>;
Linus Walleij0bfe5162016-03-24 15:48:47 +0100223 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
Lee Jonesf1949ea2012-03-08 09:02:02 +0000224 cache-unified;
225 cache-level = <2>;
226 };
227
Lee Jones7e0ce272012-03-15 16:46:17 +0000228 pmu {
229 compatible = "arm,cortex-a9-pmu";
Linus Walleij0bfe5162016-03-24 15:48:47 +0100230 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000231 };
232
Ulf Hansson6c669352014-10-14 11:12:58 +0200233 pm_domains: pm_domains0 {
234 compatible = "stericsson,ux500-pm-domains";
235 #power-domain-cells = <1>;
236 };
Lee Jones8132ed12013-09-18 09:54:07 +0100237
Lee Jones841cd0c2013-09-18 09:53:10 +0100238 clocks {
239 compatible = "stericsson,u8500-clks";
Linus Walleij5dc0fe192015-07-30 15:19:25 +0200240 /*
241 * Registers for the CLKRST block on peripheral
242 * groups 1, 2, 3, 5, 6,
243 */
244 reg = <0x8012f000 0x1000>, <0x8011f000 0x1000>,
245 <0x8000f000 0x1000>, <0xa03ff000 0x1000>,
246 <0xa03cf000 0x1000>;
Lee Jones841cd0c2013-09-18 09:53:10 +0100247
248 prcmu_clk: prcmu-clock {
249 #clock-cells = <1>;
250 };
Lee Jonesfcbe5e92013-06-06 10:51:04 +0100251
252 prcc_pclk: prcc-periph-clock {
253 #clock-cells = <2>;
254 };
Lee Jones2588fea2013-06-06 10:52:50 +0100255
256 prcc_kclk: prcc-kernel-clock {
257 #clock-cells = <2>;
258 };
Lee Jones589d9832013-06-06 10:54:27 +0100259
260 rtc_clk: rtc32k-clock {
261 #clock-cells = <0>;
262 };
Lee Jones309012d2013-06-06 10:54:48 +0100263
264 smp_twd_clk: smp-twd-clock {
265 #clock-cells = <0>;
266 };
Lee Jones841cd0c2013-09-18 09:53:10 +0100267 };
268
Lee Jones8132ed12013-09-18 09:54:07 +0100269 mtu@a03c6000 {
270 /* Nomadik System Timer */
271 compatible = "st,nomadik-mtu";
272 reg = <0xa03c6000 0x1000>;
Linus Walleij0bfe5162016-03-24 15:48:47 +0100273 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
Lee Jones8132ed12013-09-18 09:54:07 +0100274
275 clocks = <&prcmu_clk PRCMU_TIMCLK>, <&prcc_pclk 6 6>;
276 clock-names = "timclk", "apb_pclk";
277 };
278
Lee Jones71de5c42012-03-16 09:53:24 +0000279 timer@a0410600 {
280 compatible = "arm,cortex-a9-twd-timer";
281 reg = <0xa0410600 0x20>;
Linus Walleij0bfe5162016-03-24 15:48:47 +0100282 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_RAW(3) | IRQ_TYPE_LEVEL_HIGH)>;
Lee Jonesa8acb1e2013-06-05 12:26:52 +0100283
284 clocks = <&smp_twd_clk>;
Lee Jones71de5c42012-03-16 09:53:24 +0000285 };
286
Linus Walleij48793412015-05-14 11:22:34 +0200287 watchdog@a0410620 {
288 compatible = "arm,cortex-a9-twd-wdt";
289 reg = <0xa0410620 0x20>;
Linus Walleij0bfe5162016-03-24 15:48:47 +0100290 interrupts = <GIC_PPI 14 (GIC_CPU_MASK_RAW(3) | IRQ_TYPE_LEVEL_HIGH)>;
Linus Walleij48793412015-05-14 11:22:34 +0200291 clocks = <&smp_twd_clk>;
292 };
293
Lee Jones7e0ce272012-03-15 16:46:17 +0000294 rtc@80154000 {
Lee Jonesddb3b992012-05-26 07:01:31 +0100295 compatible = "arm,rtc-pl031", "arm,primecell";
Lee Jones7e0ce272012-03-15 16:46:17 +0000296 reg = <0x80154000 0x1000>;
Linus Walleij0bfe5162016-03-24 15:48:47 +0100297 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
Lee Jonesd299b5a2013-06-05 12:27:24 +0100298
299 clocks = <&rtc_clk>;
300 clock-names = "apb_pclk";
Lee Jones7e0ce272012-03-15 16:46:17 +0000301 };
302
303 gpio0: gpio@8012e000 {
304 compatible = "stericsson,db8500-gpio",
Lee Jonesfd9a80b2012-04-13 15:05:03 +0100305 "st,nomadik-gpio";
Lee Jones7e0ce272012-03-15 16:46:17 +0000306 reg = <0x8012e000 0x80>;
Linus Walleij0bfe5162016-03-24 15:48:47 +0100307 interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
Lee Jones93b56982012-05-29 14:17:36 +0800308 interrupt-controller;
309 #interrupt-cells = <2>;
Lee Jones61be4982012-06-14 11:16:03 +0100310 st,supports-sleepmode;
Lee Jones7e0ce272012-03-15 16:46:17 +0000311 gpio-controller;
Lee Jonesc0b133b2012-04-13 15:05:05 +0100312 #gpio-cells = <2>;
313 gpio-bank = <0>;
Linus Walleijee041392015-07-23 09:09:49 +0200314 gpio-ranges = <&pinctrl 0 0 32>;
Lee Jones9d891072013-06-03 13:07:51 +0100315 clocks = <&prcc_pclk 1 9>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000316 };
317
318 gpio1: gpio@8012e080 {
319 compatible = "stericsson,db8500-gpio",
Lee Jonesfd9a80b2012-04-13 15:05:03 +0100320 "st,nomadik-gpio";
Lee Jones7e0ce272012-03-15 16:46:17 +0000321 reg = <0x8012e080 0x80>;
Linus Walleij0bfe5162016-03-24 15:48:47 +0100322 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
Lee Jones93b56982012-05-29 14:17:36 +0800323 interrupt-controller;
324 #interrupt-cells = <2>;
Lee Jones61be4982012-06-14 11:16:03 +0100325 st,supports-sleepmode;
Lee Jones7e0ce272012-03-15 16:46:17 +0000326 gpio-controller;
Lee Jonesc0b133b2012-04-13 15:05:05 +0100327 #gpio-cells = <2>;
328 gpio-bank = <1>;
Linus Walleijee041392015-07-23 09:09:49 +0200329 gpio-ranges = <&pinctrl 0 32 5>;
Lee Jones9d891072013-06-03 13:07:51 +0100330 clocks = <&prcc_pclk 1 9>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000331 };
332
333 gpio2: gpio@8000e000 {
334 compatible = "stericsson,db8500-gpio",
Lee Jonesfd9a80b2012-04-13 15:05:03 +0100335 "st,nomadik-gpio";
Lee Jones7e0ce272012-03-15 16:46:17 +0000336 reg = <0x8000e000 0x80>;
Linus Walleij0bfe5162016-03-24 15:48:47 +0100337 interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
Lee Jones93b56982012-05-29 14:17:36 +0800338 interrupt-controller;
339 #interrupt-cells = <2>;
Lee Jones61be4982012-06-14 11:16:03 +0100340 st,supports-sleepmode;
Lee Jones7e0ce272012-03-15 16:46:17 +0000341 gpio-controller;
Lee Jonesc0b133b2012-04-13 15:05:05 +0100342 #gpio-cells = <2>;
343 gpio-bank = <2>;
Linus Walleijee041392015-07-23 09:09:49 +0200344 gpio-ranges = <&pinctrl 0 64 32>;
Lee Jones9d891072013-06-03 13:07:51 +0100345 clocks = <&prcc_pclk 3 8>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000346 };
347
348 gpio3: gpio@8000e080 {
349 compatible = "stericsson,db8500-gpio",
Lee Jonesfd9a80b2012-04-13 15:05:03 +0100350 "st,nomadik-gpio";
Lee Jones7e0ce272012-03-15 16:46:17 +0000351 reg = <0x8000e080 0x80>;
Linus Walleij0bfe5162016-03-24 15:48:47 +0100352 interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
Lee Jones93b56982012-05-29 14:17:36 +0800353 interrupt-controller;
354 #interrupt-cells = <2>;
Lee Jones61be4982012-06-14 11:16:03 +0100355 st,supports-sleepmode;
Lee Jones7e0ce272012-03-15 16:46:17 +0000356 gpio-controller;
Lee Jonesc0b133b2012-04-13 15:05:05 +0100357 #gpio-cells = <2>;
358 gpio-bank = <3>;
Linus Walleijee041392015-07-23 09:09:49 +0200359 gpio-ranges = <&pinctrl 0 96 2>;
Lee Jones9d891072013-06-03 13:07:51 +0100360 clocks = <&prcc_pclk 3 8>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000361 };
362
363 gpio4: gpio@8000e100 {
364 compatible = "stericsson,db8500-gpio",
Lee Jonesfd9a80b2012-04-13 15:05:03 +0100365 "st,nomadik-gpio";
Lee Jones7e0ce272012-03-15 16:46:17 +0000366 reg = <0x8000e100 0x80>;
Linus Walleij0bfe5162016-03-24 15:48:47 +0100367 interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
Lee Jones93b56982012-05-29 14:17:36 +0800368 interrupt-controller;
369 #interrupt-cells = <2>;
Lee Jones61be4982012-06-14 11:16:03 +0100370 st,supports-sleepmode;
Lee Jones7e0ce272012-03-15 16:46:17 +0000371 gpio-controller;
Lee Jonesc0b133b2012-04-13 15:05:05 +0100372 #gpio-cells = <2>;
373 gpio-bank = <4>;
Linus Walleijee041392015-07-23 09:09:49 +0200374 gpio-ranges = <&pinctrl 0 128 32>;
Lee Jones9d891072013-06-03 13:07:51 +0100375 clocks = <&prcc_pclk 3 8>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000376 };
377
378 gpio5: gpio@8000e180 {
379 compatible = "stericsson,db8500-gpio",
Lee Jonesfd9a80b2012-04-13 15:05:03 +0100380 "st,nomadik-gpio";
Lee Jones7e0ce272012-03-15 16:46:17 +0000381 reg = <0x8000e180 0x80>;
Linus Walleij0bfe5162016-03-24 15:48:47 +0100382 interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>;
Lee Jones93b56982012-05-29 14:17:36 +0800383 interrupt-controller;
384 #interrupt-cells = <2>;
Lee Jones61be4982012-06-14 11:16:03 +0100385 st,supports-sleepmode;
Lee Jones7e0ce272012-03-15 16:46:17 +0000386 gpio-controller;
Lee Jonesc0b133b2012-04-13 15:05:05 +0100387 #gpio-cells = <2>;
388 gpio-bank = <5>;
Linus Walleijee041392015-07-23 09:09:49 +0200389 gpio-ranges = <&pinctrl 0 160 12>;
Lee Jones9d891072013-06-03 13:07:51 +0100390 clocks = <&prcc_pclk 3 8>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000391 };
392
393 gpio6: gpio@8011e000 {
394 compatible = "stericsson,db8500-gpio",
Lee Jonesfd9a80b2012-04-13 15:05:03 +0100395 "st,nomadik-gpio";
Lee Jones7e0ce272012-03-15 16:46:17 +0000396 reg = <0x8011e000 0x80>;
Linus Walleij0bfe5162016-03-24 15:48:47 +0100397 interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
Lee Jones93b56982012-05-29 14:17:36 +0800398 interrupt-controller;
399 #interrupt-cells = <2>;
Lee Jones61be4982012-06-14 11:16:03 +0100400 st,supports-sleepmode;
Lee Jones7e0ce272012-03-15 16:46:17 +0000401 gpio-controller;
Lee Jonesc0b133b2012-04-13 15:05:05 +0100402 #gpio-cells = <2>;
403 gpio-bank = <6>;
Linus Walleijee041392015-07-23 09:09:49 +0200404 gpio-ranges = <&pinctrl 0 192 32>;
Linus Walleijd5916402013-10-18 09:49:21 +0200405 clocks = <&prcc_pclk 2 11>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000406 };
407
408 gpio7: gpio@8011e080 {
409 compatible = "stericsson,db8500-gpio",
Lee Jonesfd9a80b2012-04-13 15:05:03 +0100410 "st,nomadik-gpio";
Lee Jones7e0ce272012-03-15 16:46:17 +0000411 reg = <0x8011e080 0x80>;
Linus Walleij0bfe5162016-03-24 15:48:47 +0100412 interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
Lee Jones93b56982012-05-29 14:17:36 +0800413 interrupt-controller;
414 #interrupt-cells = <2>;
Lee Jones61be4982012-06-14 11:16:03 +0100415 st,supports-sleepmode;
Lee Jones7e0ce272012-03-15 16:46:17 +0000416 gpio-controller;
Lee Jonesc0b133b2012-04-13 15:05:05 +0100417 #gpio-cells = <2>;
418 gpio-bank = <7>;
Linus Walleijee041392015-07-23 09:09:49 +0200419 gpio-ranges = <&pinctrl 0 224 7>;
Linus Walleijd5916402013-10-18 09:49:21 +0200420 clocks = <&prcc_pclk 2 11>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000421 };
422
423 gpio8: gpio@a03fe000 {
424 compatible = "stericsson,db8500-gpio",
Lee Jonesfd9a80b2012-04-13 15:05:03 +0100425 "st,nomadik-gpio";
Lee Jones7e0ce272012-03-15 16:46:17 +0000426 reg = <0xa03fe000 0x80>;
Linus Walleij0bfe5162016-03-24 15:48:47 +0100427 interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
Lee Jones93b56982012-05-29 14:17:36 +0800428 interrupt-controller;
429 #interrupt-cells = <2>;
Lee Jones61be4982012-06-14 11:16:03 +0100430 st,supports-sleepmode;
Lee Jones7e0ce272012-03-15 16:46:17 +0000431 gpio-controller;
Lee Jonesc0b133b2012-04-13 15:05:05 +0100432 #gpio-cells = <2>;
433 gpio-bank = <8>;
Linus Walleijee041392015-07-23 09:09:49 +0200434 gpio-ranges = <&pinctrl 0 256 12>;
Linus Walleij84873cb2013-10-18 09:45:07 +0200435 clocks = <&prcc_pclk 5 1>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000436 };
437
Linus Walleijee041392015-07-23 09:09:49 +0200438 pinctrl: pinctrl {
Lee Jones818d99a2013-05-22 15:22:55 +0100439 compatible = "stericsson,db8500-pinctrl";
Linus Walleijee041392015-07-23 09:09:49 +0200440 nomadik-gpio-chips = <&gpio0>, <&gpio1>, <&gpio2>, <&gpio3>,
441 <&gpio4>, <&gpio5>, <&gpio6>, <&gpio7>,
442 <&gpio8>;
Lee Jones8979cfe2013-01-11 15:45:28 +0000443 prcm = <&prcmu>;
Lee Jones5910de92012-05-26 06:25:36 +0100444 };
445
Lee Jonesb32dc862013-05-03 15:31:51 +0100446 usb_per5@a03e0000 {
Sebastian Andrzej Siewior4a6cd432013-08-20 18:40:27 +0200447 compatible = "stericsson,db8500-musb";
Lee Jones7e0ce272012-03-15 16:46:17 +0000448 reg = <0xa03e0000 0x10000>;
Linus Walleij0bfe5162016-03-24 15:48:47 +0100449 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
Lee Jonesb32dc862013-05-03 15:31:51 +0100450 interrupt-names = "mc";
451
452 dr_mode = "otg";
453
454 dmas = <&dma 38 0 0x2>, /* Logical - DevToMem */
455 <&dma 38 0 0x0>, /* Logical - MemToDev */
456 <&dma 37 0 0x2>, /* Logical - DevToMem */
457 <&dma 37 0 0x0>, /* Logical - MemToDev */
458 <&dma 36 0 0x2>, /* Logical - DevToMem */
459 <&dma 36 0 0x0>, /* Logical - MemToDev */
460 <&dma 19 0 0x2>, /* Logical - DevToMem */
461 <&dma 19 0 0x0>, /* Logical - MemToDev */
462 <&dma 18 0 0x2>, /* Logical - DevToMem */
463 <&dma 18 0 0x0>, /* Logical - MemToDev */
464 <&dma 17 0 0x2>, /* Logical - DevToMem */
465 <&dma 17 0 0x0>, /* Logical - MemToDev */
466 <&dma 16 0 0x2>, /* Logical - DevToMem */
467 <&dma 16 0 0x0>, /* Logical - MemToDev */
468 <&dma 39 0 0x2>, /* Logical - DevToMem */
469 <&dma 39 0 0x0>; /* Logical - MemToDev */
470
471 dma-names = "iep_1_9", "oep_1_9",
472 "iep_2_10", "oep_2_10",
473 "iep_3_11", "oep_3_11",
474 "iep_4_12", "oep_4_12",
475 "iep_5_13", "oep_5_13",
476 "iep_6_14", "oep_6_14",
477 "iep_7_15", "oep_7_15",
478 "iep_8", "oep_8";
Lee Jonese47339f2013-06-03 13:08:26 +0100479
480 clocks = <&prcc_pclk 5 0>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000481 };
482
Lee Jonesba074ae2013-05-03 15:31:48 +0100483 dma: dma-controller@801C0000 {
484 compatible = "stericsson,db8500-dma40", "stericsson,dma40";
Lee Jones7e0ce272012-03-15 16:46:17 +0000485 reg = <0x801C0000 0x1000 0x40010000 0x800>;
Lee Jones70d39a82013-05-03 15:31:47 +0100486 reg-names = "base", "lcpa";
Linus Walleij0bfe5162016-03-24 15:48:47 +0100487 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
Lee Jonesba074ae2013-05-03 15:31:48 +0100488
489 #dma-cells = <3>;
Lee Jonesd37fcdb2013-05-03 15:31:52 +0100490 memcpy-channels = <56 57 58 59 60>;
Lee Jonese064cb22013-06-03 13:13:54 +0100491
492 clocks = <&prcmu_clk PRCMU_DMACLK>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000493 };
494
Lee Jones8979cfe2013-01-11 15:45:28 +0000495 prcmu: prcmu@80157000 {
Linus Walleij3be93492018-07-12 14:52:00 +0200496 compatible = "stericsson,db8500-prcmu", "syscon";
Linus Torvalds4d26aa32013-05-02 08:56:55 -0700497 reg = <0x80157000 0x2000>, <0x801b0000 0x8000>, <0x801b8000 0x1000>;
Lee Jonese73081d2013-03-26 10:26:15 +0000498 reg-names = "prcmu", "prcmu-tcpm", "prcmu-tcdm";
Linus Walleij0bfe5162016-03-24 15:48:47 +0100499 interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000500 #address-cells = <1>;
Lee Jones3de3d742012-04-24 10:00:15 +0100501 #size-cells = <1>;
Lee Jonesc09090b2012-08-03 15:42:25 +0100502 interrupt-controller;
503 #interrupt-cells = <2>;
Lee Jones3de3d742012-04-24 10:00:15 +0100504 ranges;
505
Lee Jonesccf74f72012-05-28 16:50:49 +0800506 prcmu-timer-4@80157450 {
Lee Jones3de3d742012-04-24 10:00:15 +0100507 compatible = "stericsson,db8500-prcmu-timer-4";
508 reg = <0x80157450 0xC>;
509 };
Lee Jones7e0ce272012-03-15 16:46:17 +0000510
hongbo.zhangdc1956b2012-11-15 18:56:43 +0800511 thermal@801573c0 {
512 compatible = "stericsson,db8500-thermal";
513 reg = <0x801573c0 0x40>;
Linus Walleij90c40252013-05-29 19:15:39 +0200514 interrupts = <21 IRQ_TYPE_LEVEL_HIGH>,
515 <22 IRQ_TYPE_LEVEL_HIGH>;
hongbo.zhangdc1956b2012-11-15 18:56:43 +0800516 interrupt-names = "IRQ_HOTMON_LOW", "IRQ_HOTMON_HIGH";
517 status = "disabled";
Lee Jones1d3f99f2013-06-06 12:21:15 +0100518 };
hongbo.zhangdc1956b2012-11-15 18:56:43 +0800519
Lee Jonese5999f22012-05-04 13:32:34 +0100520 db8500-prcmu-regulators {
521 compatible = "stericsson,db8500-prcmu-regulator";
522
523 // DB8500_REGULATOR_VAPE
524 db8500_vape_reg: db8500_vape {
Lee Jonese5999f22012-05-04 13:32:34 +0100525 regulator-always-on;
526 };
527
528 // DB8500_REGULATOR_VARM
529 db8500_varm_reg: db8500_varm {
Lee Jonese5999f22012-05-04 13:32:34 +0100530 };
531
532 // DB8500_REGULATOR_VMODEM
533 db8500_vmodem_reg: db8500_vmodem {
Lee Jonese5999f22012-05-04 13:32:34 +0100534 };
535
536 // DB8500_REGULATOR_VPLL
537 db8500_vpll_reg: db8500_vpll {
Lee Jonese5999f22012-05-04 13:32:34 +0100538 };
539
540 // DB8500_REGULATOR_VSMPS1
541 db8500_vsmps1_reg: db8500_vsmps1 {
Lee Jonese5999f22012-05-04 13:32:34 +0100542 };
543
544 // DB8500_REGULATOR_VSMPS2
545 db8500_vsmps2_reg: db8500_vsmps2 {
Lee Jonese5999f22012-05-04 13:32:34 +0100546 };
547
548 // DB8500_REGULATOR_VSMPS3
549 db8500_vsmps3_reg: db8500_vsmps3 {
Lee Jonese5999f22012-05-04 13:32:34 +0100550 };
551
552 // DB8500_REGULATOR_VRF1
553 db8500_vrf1_reg: db8500_vrf1 {
Lee Jonese5999f22012-05-04 13:32:34 +0100554 };
555
556 // DB8500_REGULATOR_SWITCH_SVAMMDSP
557 db8500_sva_mmdsp_reg: db8500_sva_mmdsp {
Lee Jonese5999f22012-05-04 13:32:34 +0100558 };
559
560 // DB8500_REGULATOR_SWITCH_SVAMMDSPRET
561 db8500_sva_mmdsp_ret_reg: db8500_sva_mmdsp_ret {
Lee Jonese5999f22012-05-04 13:32:34 +0100562 };
563
564 // DB8500_REGULATOR_SWITCH_SVAPIPE
565 db8500_sva_pipe_reg: db8500_sva_pipe {
Lee Jonese5999f22012-05-04 13:32:34 +0100566 };
567
568 // DB8500_REGULATOR_SWITCH_SIAMMDSP
569 db8500_sia_mmdsp_reg: db8500_sia_mmdsp {
Lee Jonese5999f22012-05-04 13:32:34 +0100570 };
571
572 // DB8500_REGULATOR_SWITCH_SIAMMDSPRET
573 db8500_sia_mmdsp_ret_reg: db8500_sia_mmdsp_ret {
Lee Jonese5999f22012-05-04 13:32:34 +0100574 };
575
576 // DB8500_REGULATOR_SWITCH_SIAPIPE
577 db8500_sia_pipe_reg: db8500_sia_pipe {
Lee Jonese5999f22012-05-04 13:32:34 +0100578 };
579
580 // DB8500_REGULATOR_SWITCH_SGA
581 db8500_sga_reg: db8500_sga {
Lee Jonese5999f22012-05-04 13:32:34 +0100582 vin-supply = <&db8500_vape_reg>;
583 };
584
585 // DB8500_REGULATOR_SWITCH_B2R2_MCDE
586 db8500_b2r2_mcde_reg: db8500_b2r2_mcde {
Lee Jonese5999f22012-05-04 13:32:34 +0100587 vin-supply = <&db8500_vape_reg>;
588 };
589
590 // DB8500_REGULATOR_SWITCH_ESRAM12
591 db8500_esram12_reg: db8500_esram12 {
Lee Jonese5999f22012-05-04 13:32:34 +0100592 };
593
594 // DB8500_REGULATOR_SWITCH_ESRAM12RET
595 db8500_esram12_ret_reg: db8500_esram12_ret {
Lee Jonese5999f22012-05-04 13:32:34 +0100596 };
597
598 // DB8500_REGULATOR_SWITCH_ESRAM34
599 db8500_esram34_reg: db8500_esram34 {
Lee Jonese5999f22012-05-04 13:32:34 +0100600 };
601
602 // DB8500_REGULATOR_SWITCH_ESRAM34RET
603 db8500_esram34_ret_reg: db8500_esram34_ret {
Lee Jonese5999f22012-05-04 13:32:34 +0100604 };
605 };
606
Arnd Bergmannd52701d32013-03-12 09:39:01 +0100607 ab8500 {
Lee Jones7e0ce272012-03-15 16:46:17 +0000608 compatible = "stericsson,ab8500";
Lee Jones8d4c6d42012-08-03 20:37:35 +0100609 interrupt-parent = <&intc>;
Linus Walleij0bfe5162016-03-24 15:48:47 +0100610 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
Lee Jones732973c2012-05-29 10:49:33 +0800611 interrupt-controller;
612 #interrupt-cells = <2>;
Lee Jones4a85c7f2012-05-29 14:29:53 +0800613
Linus Walleij9aea1512017-02-26 01:02:09 +0100614 ab8500_clock: clock-controller {
615 compatible = "stericsson,ab8500-clk";
616 #clock-cells = <1>;
617 };
618
Lee Jones348f3bc2013-06-18 09:51:57 +0100619 ab8500_gpio: ab8500-gpio {
Linus Walleijba3fb042016-04-21 09:59:05 +0200620 compatible = "stericsson,ab8500-gpio";
Lee Jones348f3bc2013-06-18 09:51:57 +0100621 gpio-controller;
622 #gpio-cells = <2>;
623 };
624
Lee Jonesd4b29ac2012-05-26 07:03:48 +0100625 ab8500-rtc {
626 compatible = "stericsson,ab8500-rtc";
Linus Walleij90c40252013-05-29 19:15:39 +0200627 interrupts = <17 IRQ_TYPE_LEVEL_HIGH
628 18 IRQ_TYPE_LEVEL_HIGH>;
Lee Jonesd4b29ac2012-05-26 07:03:48 +0100629 interrupt-names = "60S", "ALARM";
630 };
631
Lee Jones4eda9122012-05-28 16:59:26 +0800632 ab8500-gpadc {
633 compatible = "stericsson,ab8500-gpadc";
Linus Walleij90c40252013-05-29 19:15:39 +0200634 interrupts = <32 IRQ_TYPE_LEVEL_HIGH
635 39 IRQ_TYPE_LEVEL_HIGH>;
Lee Jones4eda9122012-05-28 16:59:26 +0800636 interrupt-names = "HW_CONV_END", "SW_CONV_END";
637 vddadc-supply = <&ab8500_ldo_tvout_reg>;
638 };
639
Rajanikanth H.Ve0f1abe2012-11-18 18:45:41 -0800640 ab8500_battery: ab8500_battery {
641 stericsson,battery-type = "LIPO";
642 thermistor-on-batctrl;
643 };
644
645 ab8500_fg {
646 compatible = "stericsson,ab8500-fg";
647 battery = <&ab8500_battery>;
648 };
649
Rajanikanth H.Vbd9e8ab2012-11-18 19:16:58 -0800650 ab8500_btemp {
651 compatible = "stericsson,ab8500-btemp";
652 battery = <&ab8500_battery>;
653 };
654
Rajanikanth H.V4aef72d2012-11-18 19:17:47 -0800655 ab8500_charger {
656 compatible = "stericsson,ab8500-charger";
657 battery = <&ab8500_battery>;
658 vddadc-supply = <&ab8500_ldo_tvout_reg>;
659 };
660
Rajanikanth H.Va12810a2012-10-31 15:40:33 +0000661 ab8500_chargalg {
662 compatible = "stericsson,ab8500-chargalg";
663 battery = <&ab8500_battery>;
664 };
665
Rajanikanth H.Ve0f1abe2012-11-18 18:45:41 -0800666 ab8500_usb {
Lee Jonesee189ce2012-05-03 14:40:24 +0100667 compatible = "stericsson,ab8500-usb";
Linus Walleij90c40252013-05-29 19:15:39 +0200668 interrupts = < 90 IRQ_TYPE_LEVEL_HIGH
669 96 IRQ_TYPE_LEVEL_HIGH
670 14 IRQ_TYPE_LEVEL_HIGH
671 15 IRQ_TYPE_LEVEL_HIGH
672 79 IRQ_TYPE_LEVEL_HIGH
673 74 IRQ_TYPE_LEVEL_HIGH
674 75 IRQ_TYPE_LEVEL_HIGH>;
Lee Jonesee189ce2012-05-03 14:40:24 +0100675 interrupt-names = "ID_WAKEUP_R",
676 "ID_WAKEUP_F",
677 "VBUS_DET_F",
678 "VBUS_DET_R",
679 "USB_LINK_STATUS",
680 "USB_ADP_PROBE_PLUG",
681 "USB_ADP_PROBE_UNPLUG";
Fabio Baltieri99b38ee2013-04-09 11:16:56 +0200682 vddulpivio18-supply = <&ab8500_ldo_intcore_reg>;
Lee Jonesee189ce2012-05-03 14:40:24 +0100683 v-ape-supply = <&db8500_vape_reg>;
684 musb_1v8-supply = <&db8500_vsmps2_reg>;
Linus Walleij3015d3b2017-01-12 15:07:35 +0100685 clocks = <&prcmu_clk PRCMU_SYSCLK>;
686 clock-names = "sysclk";
Lee Jonesee189ce2012-05-03 14:40:24 +0100687 };
688
Lee Jones12cb7bd2012-05-02 08:45:40 +0100689 ab8500-ponkey {
Lee Jones74630702012-08-09 13:00:12 +0100690 compatible = "stericsson,ab8500-poweron-key";
Linus Walleij90c40252013-05-29 19:15:39 +0200691 interrupts = <6 IRQ_TYPE_LEVEL_HIGH
692 7 IRQ_TYPE_LEVEL_HIGH>;
Lee Jones12cb7bd2012-05-02 08:45:40 +0100693 interrupt-names = "ONKEY_DBF", "ONKEY_DBR";
694 };
695
Lee Jones401cd1b2012-05-03 12:53:55 +0100696 ab8500-sysctrl {
697 compatible = "stericsson,ab8500-sysctrl";
698 };
699
Lee Jones78451de2012-05-03 13:03:59 +0100700 ab8500-pwm {
701 compatible = "stericsson,ab8500-pwm";
Linus Walleij9aea1512017-02-26 01:02:09 +0100702 clocks = <&ab8500_clock AB8500_SYSCLK_INT>;
703 clock-names = "intclk";
Lee Jones78451de2012-05-03 13:03:59 +0100704 };
705
Lee Jones215891e2012-05-01 16:11:19 +0100706 ab8500-debugfs {
707 compatible = "stericsson,ab8500-debug";
708 };
Lee Jones4a85c7f2012-05-29 14:29:53 +0800709
Lee Jones9c06af32012-07-25 12:50:13 +0100710 codec: ab8500-codec {
711 compatible = "stericsson,ab8500-codec";
712
Fabio Baltierif99808a2013-05-30 15:27:43 +0200713 V-AUD-supply = <&ab8500_ldo_audio_reg>;
714 V-AMIC1-supply = <&ab8500_ldo_anamic1_reg>;
715 V-AMIC2-supply = <&ab8500_ldo_anamic2_reg>;
716 V-DMIC-supply = <&ab8500_ldo_dmic_reg>;
717
Linus Walleij9aea1512017-02-26 01:02:09 +0100718 clocks = <&ab8500_clock AB8500_SYSCLK_AUDIO>;
719 clock-names = "audioclk";
720
Lee Jones9c06af32012-07-25 12:50:13 +0100721 stericsson,earpeice-cmv = <950>; /* Units in mV. */
722 };
723
Lee Jones62ebfe62013-06-07 17:11:19 +0100724 ext_regulators: ab8500-ext-regulators {
725 compatible = "stericsson,ab8500-ext-regulator";
726
727 ab8500_ext1_reg: ab8500_ext1 {
Lee Jones62ebfe62013-06-07 17:11:19 +0100728 regulator-min-microvolt = <1800000>;
729 regulator-max-microvolt = <1800000>;
730 regulator-boot-on;
731 regulator-always-on;
732 };
733
734 ab8500_ext2_reg: ab8500_ext2 {
Lee Jones62ebfe62013-06-07 17:11:19 +0100735 regulator-min-microvolt = <1360000>;
736 regulator-max-microvolt = <1360000>;
737 regulator-boot-on;
738 regulator-always-on;
739 };
740
741 ab8500_ext3_reg: ab8500_ext3 {
Lee Jones62ebfe62013-06-07 17:11:19 +0100742 regulator-min-microvolt = <3400000>;
743 regulator-max-microvolt = <3400000>;
744 regulator-boot-on;
745 };
746 };
747
Lee Jones4a85c7f2012-05-29 14:29:53 +0800748 ab8500-regulators {
749 compatible = "stericsson,ab8500-regulator";
Lee Jones75f09992013-06-07 17:11:20 +0100750 vin-supply = <&ab8500_ext3_reg>;
Lee Jones4a85c7f2012-05-29 14:29:53 +0800751
752 // supplies to the display/camera
753 ab8500_ldo_aux1_reg: ab8500_ldo_aux1 {
Lee Jones4a85c7f2012-05-29 14:29:53 +0800754 regulator-min-microvolt = <2500000>;
755 regulator-max-microvolt = <2900000>;
756 regulator-boot-on;
757 /* BUG: If turned off MMC will be affected. */
758 regulator-always-on;
759 };
760
761 // supplies to the on-board eMMC
762 ab8500_ldo_aux2_reg: ab8500_ldo_aux2 {
Lee Jones4a85c7f2012-05-29 14:29:53 +0800763 regulator-min-microvolt = <1100000>;
764 regulator-max-microvolt = <3300000>;
765 };
766
767 // supply for VAUX3; SDcard slots
768 ab8500_ldo_aux3_reg: ab8500_ldo_aux3 {
Lee Jones4a85c7f2012-05-29 14:29:53 +0800769 regulator-min-microvolt = <1100000>;
770 regulator-max-microvolt = <3300000>;
771 };
772
773 // supply for v-intcore12; VINTCORE12 LDO
Fabio Baltieri99b38ee2013-04-09 11:16:56 +0200774 ab8500_ldo_intcore_reg: ab8500_ldo_intcore {
Lee Jones4a85c7f2012-05-29 14:29:53 +0800775 };
776
777 // supply for tvout; gpadc; TVOUT LDO
778 ab8500_ldo_tvout_reg: ab8500_ldo_tvout {
Lee Jones4a85c7f2012-05-29 14:29:53 +0800779 };
780
781 // supply for ab8500-usb; USB LDO
782 ab8500_ldo_usb_reg: ab8500_ldo_usb {
Lee Jones4a85c7f2012-05-29 14:29:53 +0800783 };
784
785 // supply for ab8500-vaudio; VAUDIO LDO
786 ab8500_ldo_audio_reg: ab8500_ldo_audio {
Lee Jones4a85c7f2012-05-29 14:29:53 +0800787 };
788
Fabio Baltieri4aa44872013-05-30 15:27:41 +0200789 // supply for v-anamic1 VAMIC1 LDO
Lee Jones4a85c7f2012-05-29 14:29:53 +0800790 ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 {
Lee Jones4a85c7f2012-05-29 14:29:53 +0800791 };
792
793 // supply for v-amic2; VAMIC2 LDO; reuse constants for AMIC1
Fabio Baltieri5510ed92013-05-30 15:27:42 +0200794 ab8500_ldo_anamic2_reg: ab8500_ldo_anamic2 {
Lee Jones4a85c7f2012-05-29 14:29:53 +0800795 };
796
797 // supply for v-dmic; VDMIC LDO
798 ab8500_ldo_dmic_reg: ab8500_ldo_dmic {
Lee Jones4a85c7f2012-05-29 14:29:53 +0800799 };
800
801 // supply for U8500 CSI/DSI; VANA LDO
802 ab8500_ldo_ana_reg: ab8500_ldo_ana {
Lee Jones4a85c7f2012-05-29 14:29:53 +0800803 };
804 };
Lee Jones7e0ce272012-03-15 16:46:17 +0000805 };
806 };
807
808 i2c@80004000 {
Lee Jonesd524fa72012-06-18 09:55:44 +0100809 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell";
Lee Jones7e0ce272012-03-15 16:46:17 +0000810 reg = <0x80004000 0x1000>;
Linus Walleij0bfe5162016-03-24 15:48:47 +0100811 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
Lee Jones35b33d22012-10-24 11:07:02 +0100812
Lee Jones7e0ce272012-03-15 16:46:17 +0000813 #address-cells = <1>;
814 #size-cells = <0>;
Lee Jonesd524fa72012-06-18 09:55:44 +0100815 v-i2c-supply = <&db8500_vape_reg>;
816
817 clock-frequency = <400000>;
Lee Jonesafd653e2013-06-03 13:15:22 +0100818 clocks = <&prcc_kclk 3 3>, <&prcc_pclk 3 3>;
819 clock-names = "i2cclk", "apb_pclk";
Ulf Hansson29417fe2014-10-14 11:13:01 +0200820 power-domains = <&pm_domains DOMAIN_VAPE>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000821 };
822
823 i2c@80122000 {
Lee Jonesd524fa72012-06-18 09:55:44 +0100824 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell";
Lee Jones7e0ce272012-03-15 16:46:17 +0000825 reg = <0x80122000 0x1000>;
Linus Walleij0bfe5162016-03-24 15:48:47 +0100826 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
Lee Jones35b33d22012-10-24 11:07:02 +0100827
Lee Jones7e0ce272012-03-15 16:46:17 +0000828 #address-cells = <1>;
829 #size-cells = <0>;
Lee Jonesd524fa72012-06-18 09:55:44 +0100830 v-i2c-supply = <&db8500_vape_reg>;
831
832 clock-frequency = <400000>;
Lee Jonesafd653e2013-06-03 13:15:22 +0100833
834 clocks = <&prcc_kclk 1 2>, <&prcc_pclk 1 2>;
835 clock-names = "i2cclk", "apb_pclk";
Ulf Hansson29417fe2014-10-14 11:13:01 +0200836 power-domains = <&pm_domains DOMAIN_VAPE>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000837 };
838
839 i2c@80128000 {
Lee Jonesd524fa72012-06-18 09:55:44 +0100840 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell";
Lee Jones7e0ce272012-03-15 16:46:17 +0000841 reg = <0x80128000 0x1000>;
Linus Walleij0bfe5162016-03-24 15:48:47 +0100842 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
Lee Jones35b33d22012-10-24 11:07:02 +0100843
Lee Jones7e0ce272012-03-15 16:46:17 +0000844 #address-cells = <1>;
845 #size-cells = <0>;
Lee Jonesd524fa72012-06-18 09:55:44 +0100846 v-i2c-supply = <&db8500_vape_reg>;
847
848 clock-frequency = <400000>;
Lee Jonesafd653e2013-06-03 13:15:22 +0100849
850 clocks = <&prcc_kclk 1 6>, <&prcc_pclk 1 6>;
851 clock-names = "i2cclk", "apb_pclk";
Ulf Hansson29417fe2014-10-14 11:13:01 +0200852 power-domains = <&pm_domains DOMAIN_VAPE>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000853 };
854
855 i2c@80110000 {
Lee Jonesd524fa72012-06-18 09:55:44 +0100856 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell";
Lee Jones7e0ce272012-03-15 16:46:17 +0000857 reg = <0x80110000 0x1000>;
Linus Walleij0bfe5162016-03-24 15:48:47 +0100858 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
Lee Jones35b33d22012-10-24 11:07:02 +0100859
Lee Jones7e0ce272012-03-15 16:46:17 +0000860 #address-cells = <1>;
861 #size-cells = <0>;
Lee Jonesd524fa72012-06-18 09:55:44 +0100862 v-i2c-supply = <&db8500_vape_reg>;
863
864 clock-frequency = <400000>;
Lee Jonesafd653e2013-06-03 13:15:22 +0100865
866 clocks = <&prcc_kclk 2 0>, <&prcc_pclk 2 0>;
867 clock-names = "i2cclk", "apb_pclk";
Ulf Hansson29417fe2014-10-14 11:13:01 +0200868 power-domains = <&pm_domains DOMAIN_VAPE>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000869 };
870
871 i2c@8012a000 {
Lee Jonesd524fa72012-06-18 09:55:44 +0100872 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell";
Lee Jones7e0ce272012-03-15 16:46:17 +0000873 reg = <0x8012a000 0x1000>;
Linus Walleij0bfe5162016-03-24 15:48:47 +0100874 interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
Lee Jones35b33d22012-10-24 11:07:02 +0100875
Lee Jones7e0ce272012-03-15 16:46:17 +0000876 #address-cells = <1>;
877 #size-cells = <0>;
Lee Jonesd524fa72012-06-18 09:55:44 +0100878 v-i2c-supply = <&db8500_vape_reg>;
879
880 clock-frequency = <400000>;
Lee Jonesafd653e2013-06-03 13:15:22 +0100881
Linus Walleij72b3e242013-10-18 10:39:58 +0200882 clocks = <&prcc_kclk 1 9>, <&prcc_pclk 1 10>;
Lee Jonesafd653e2013-06-03 13:15:22 +0100883 clock-names = "i2cclk", "apb_pclk";
Ulf Hansson29417fe2014-10-14 11:13:01 +0200884 power-domains = <&pm_domains DOMAIN_VAPE>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000885 };
886
Rob Herring2f967f92018-09-13 13:12:34 -0500887 spi@80002000 {
Lee Jones7e0ce272012-03-15 16:46:17 +0000888 compatible = "arm,pl022", "arm,primecell";
Lee Jonesc164fa62012-09-07 12:09:34 +0100889 reg = <0x80002000 0x1000>;
Linus Walleij0bfe5162016-03-24 15:48:47 +0100890 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000891 #address-cells = <1>;
892 #size-cells = <0>;
Linus Walleij6e1484c2013-10-18 10:25:52 +0200893 clocks = <&prcc_kclk 3 1>, <&prcc_pclk 3 1>;
Linus Walleij80fbe302014-02-24 13:30:15 +0100894 clock-names = "SSPCLK", "apb_pclk";
Linus Walleij6e1484c2013-10-18 10:25:52 +0200895 dmas = <&dma 8 0 0x2>, /* Logical - DevToMem */
896 <&dma 8 0 0x0>; /* Logical - MemToDev */
897 dma-names = "rx", "tx";
Ulf Hansson770e2f62014-10-14 11:13:00 +0200898 power-domains = <&pm_domains DOMAIN_VAPE>;
Linus Walleij6e1484c2013-10-18 10:25:52 +0200899 };
900
Rob Herring2f967f92018-09-13 13:12:34 -0500901 spi@80003000 {
Linus Walleij6e1484c2013-10-18 10:25:52 +0200902 compatible = "arm,pl022", "arm,primecell";
903 reg = <0x80003000 0x1000>;
Linus Walleij0bfe5162016-03-24 15:48:47 +0100904 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
Linus Walleij6e1484c2013-10-18 10:25:52 +0200905 #address-cells = <1>;
906 #size-cells = <0>;
907 clocks = <&prcc_kclk 3 2>, <&prcc_pclk 3 2>;
Linus Walleij80fbe302014-02-24 13:30:15 +0100908 clock-names = "SSPCLK", "apb_pclk";
Linus Walleij6e1484c2013-10-18 10:25:52 +0200909 dmas = <&dma 9 0 0x2>, /* Logical - DevToMem */
910 <&dma 9 0 0x0>; /* Logical - MemToDev */
911 dma-names = "rx", "tx";
Ulf Hansson770e2f62014-10-14 11:13:00 +0200912 power-domains = <&pm_domains DOMAIN_VAPE>;
Linus Walleij6e1484c2013-10-18 10:25:52 +0200913 };
914
915 spi@8011a000 {
916 compatible = "arm,pl022", "arm,primecell";
917 reg = <0x8011a000 0x1000>;
Linus Walleij0bfe5162016-03-24 15:48:47 +0100918 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
Linus Walleij6e1484c2013-10-18 10:25:52 +0200919 #address-cells = <1>;
920 #size-cells = <0>;
921 /* Same clock wired to kernel and pclk */
922 clocks = <&prcc_pclk 2 8>, <&prcc_pclk 2 8>;
Linus Walleij80fbe302014-02-24 13:30:15 +0100923 clock-names = "SSPCLK", "apb_pclk";
Linus Walleij6e1484c2013-10-18 10:25:52 +0200924 dmas = <&dma 0 0 0x2>, /* Logical - DevToMem */
925 <&dma 0 0 0x0>; /* Logical - MemToDev */
926 dma-names = "rx", "tx";
Ulf Hansson770e2f62014-10-14 11:13:00 +0200927 power-domains = <&pm_domains DOMAIN_VAPE>;
Linus Walleij6e1484c2013-10-18 10:25:52 +0200928 };
929
930 spi@80112000 {
931 compatible = "arm,pl022", "arm,primecell";
932 reg = <0x80112000 0x1000>;
Linus Walleij0bfe5162016-03-24 15:48:47 +0100933 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
Linus Walleij6e1484c2013-10-18 10:25:52 +0200934 #address-cells = <1>;
935 #size-cells = <0>;
936 /* Same clock wired to kernel and pclk */
937 clocks = <&prcc_pclk 2 2>, <&prcc_pclk 2 2>;
Linus Walleij80fbe302014-02-24 13:30:15 +0100938 clock-names = "SSPCLK", "apb_pclk";
Linus Walleij6e1484c2013-10-18 10:25:52 +0200939 dmas = <&dma 35 0 0x2>, /* Logical - DevToMem */
940 <&dma 35 0 0x0>; /* Logical - MemToDev */
941 dma-names = "rx", "tx";
Ulf Hansson770e2f62014-10-14 11:13:00 +0200942 power-domains = <&pm_domains DOMAIN_VAPE>;
Linus Walleij6e1484c2013-10-18 10:25:52 +0200943 };
944
945 spi@80111000 {
946 compatible = "arm,pl022", "arm,primecell";
947 reg = <0x80111000 0x1000>;
Linus Walleij0bfe5162016-03-24 15:48:47 +0100948 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
Linus Walleij6e1484c2013-10-18 10:25:52 +0200949 #address-cells = <1>;
950 #size-cells = <0>;
951 /* Same clock wired to kernel and pclk */
952 clocks = <&prcc_pclk 2 1>, <&prcc_pclk 2 1>;
Linus Walleij80fbe302014-02-24 13:30:15 +0100953 clock-names = "SSPCLK", "apb_pclk";
Linus Walleij6e1484c2013-10-18 10:25:52 +0200954 dmas = <&dma 33 0 0x2>, /* Logical - DevToMem */
955 <&dma 33 0 0x0>; /* Logical - MemToDev */
956 dma-names = "rx", "tx";
Ulf Hansson770e2f62014-10-14 11:13:00 +0200957 power-domains = <&pm_domains DOMAIN_VAPE>;
Linus Walleij6e1484c2013-10-18 10:25:52 +0200958 };
959
960 spi@80129000 {
961 compatible = "arm,pl022", "arm,primecell";
962 reg = <0x80129000 0x1000>;
Linus Walleij0bfe5162016-03-24 15:48:47 +0100963 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
Linus Walleij6e1484c2013-10-18 10:25:52 +0200964 #address-cells = <1>;
965 #size-cells = <0>;
966 /* Same clock wired to kernel and pclk */
967 clocks = <&prcc_pclk 1 7>, <&prcc_pclk 1 7>;
Linus Walleij80fbe302014-02-24 13:30:15 +0100968 clock-names = "SSPCLK", "apb_pclk";
Linus Walleij6e1484c2013-10-18 10:25:52 +0200969 dmas = <&dma 40 0 0x2>, /* Logical - DevToMem */
970 <&dma 40 0 0x0>; /* Logical - MemToDev */
971 dma-names = "rx", "tx";
Ulf Hansson770e2f62014-10-14 11:13:00 +0200972 power-domains = <&pm_domains DOMAIN_VAPE>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000973 };
974
Linus Walleij109978d2015-07-10 11:32:15 +0200975 ux500_serial0: uart@80120000 {
Lee Jones7e0ce272012-03-15 16:46:17 +0000976 compatible = "arm,pl011", "arm,primecell";
977 reg = <0x80120000 0x1000>;
Linus Walleij0bfe5162016-03-24 15:48:47 +0100978 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
Lee Jonesfbff01c2013-05-03 15:31:49 +0100979
980 dmas = <&dma 13 0 0x2>, /* Logical - DevToMem */
981 <&dma 13 0 0x0>; /* Logical - MemToDev */
982 dma-names = "rx", "tx";
983
Lee Jones5a323fb2013-06-03 13:17:17 +0100984 clocks = <&prcc_kclk 1 0>, <&prcc_pclk 1 0>;
985 clock-names = "uart", "apb_pclk";
986
Lee Jones7e0ce272012-03-15 16:46:17 +0000987 status = "disabled";
988 };
Lee Jonesfbff01c2013-05-03 15:31:49 +0100989
Linus Walleij109978d2015-07-10 11:32:15 +0200990 ux500_serial1: uart@80121000 {
Lee Jones7e0ce272012-03-15 16:46:17 +0000991 compatible = "arm,pl011", "arm,primecell";
992 reg = <0x80121000 0x1000>;
Linus Walleij0bfe5162016-03-24 15:48:47 +0100993 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
Lee Jonesfbff01c2013-05-03 15:31:49 +0100994
995 dmas = <&dma 12 0 0x2>, /* Logical - DevToMem */
996 <&dma 12 0 0x0>; /* Logical - MemToDev */
997 dma-names = "rx", "tx";
998
Lee Jones5a323fb2013-06-03 13:17:17 +0100999 clocks = <&prcc_kclk 1 1>, <&prcc_pclk 1 1>;
1000 clock-names = "uart", "apb_pclk";
1001
Lee Jones7e0ce272012-03-15 16:46:17 +00001002 status = "disabled";
1003 };
Lee Jonesfbff01c2013-05-03 15:31:49 +01001004
Linus Walleij109978d2015-07-10 11:32:15 +02001005 ux500_serial2: uart@80007000 {
Lee Jones7e0ce272012-03-15 16:46:17 +00001006 compatible = "arm,pl011", "arm,primecell";
1007 reg = <0x80007000 0x1000>;
Linus Walleij0bfe5162016-03-24 15:48:47 +01001008 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
Lee Jonesfbff01c2013-05-03 15:31:49 +01001009
1010 dmas = <&dma 11 0 0x2>, /* Logical - DevToMem */
1011 <&dma 11 0 0x0>; /* Logical - MemToDev */
1012 dma-names = "rx", "tx";
1013
Lee Jones5a323fb2013-06-03 13:17:17 +01001014 clocks = <&prcc_kclk 3 6>, <&prcc_pclk 3 6>;
1015 clock-names = "uart", "apb_pclk";
1016
Lee Jones7e0ce272012-03-15 16:46:17 +00001017 status = "disabled";
1018 };
1019
Lee Jones81bf8c22012-09-26 12:55:56 +01001020 sdi0_per1@80126000 {
Lee Jones7e0ce272012-03-15 16:46:17 +00001021 compatible = "arm,pl18x", "arm,primecell";
1022 reg = <0x80126000 0x1000>;
Linus Walleij0bfe5162016-03-24 15:48:47 +01001023 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
Lee Jones498315b92013-05-03 15:31:50 +01001024
1025 dmas = <&dma 29 0 0x2>, /* Logical - DevToMem */
1026 <&dma 29 0 0x0>; /* Logical - MemToDev */
1027 dma-names = "rx", "tx";
1028
Lee Jones604be892013-06-06 12:28:50 +01001029 clocks = <&prcc_kclk 1 5>, <&prcc_pclk 1 5>;
1030 clock-names = "sdi", "apb_pclk";
Ulf Hansson067adde2014-10-14 11:12:59 +02001031 power-domains = <&pm_domains DOMAIN_VAPE>;
Lee Jones604be892013-06-06 12:28:50 +01001032
Lee Jones7e0ce272012-03-15 16:46:17 +00001033 status = "disabled";
1034 };
Lee Jones76ff4e42012-10-24 11:10:05 +01001035
Lee Jones81bf8c22012-09-26 12:55:56 +01001036 sdi1_per2@80118000 {
Lee Jones7e0ce272012-03-15 16:46:17 +00001037 compatible = "arm,pl18x", "arm,primecell";
1038 reg = <0x80118000 0x1000>;
Linus Walleij0bfe5162016-03-24 15:48:47 +01001039 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
Lee Jones498315b92013-05-03 15:31:50 +01001040
1041 dmas = <&dma 32 0 0x2>, /* Logical - DevToMem */
1042 <&dma 32 0 0x0>; /* Logical - MemToDev */
1043 dma-names = "rx", "tx";
1044
Lee Jones604be892013-06-06 12:28:50 +01001045 clocks = <&prcc_kclk 2 4>, <&prcc_pclk 2 6>;
1046 clock-names = "sdi", "apb_pclk";
Ulf Hansson067adde2014-10-14 11:12:59 +02001047 power-domains = <&pm_domains DOMAIN_VAPE>;
Lee Jones604be892013-06-06 12:28:50 +01001048
Lee Jones7e0ce272012-03-15 16:46:17 +00001049 status = "disabled";
1050 };
Lee Jones76ff4e42012-10-24 11:10:05 +01001051
Lee Jones81bf8c22012-09-26 12:55:56 +01001052 sdi2_per3@80005000 {
Lee Jones7e0ce272012-03-15 16:46:17 +00001053 compatible = "arm,pl18x", "arm,primecell";
1054 reg = <0x80005000 0x1000>;
Linus Walleij0bfe5162016-03-24 15:48:47 +01001055 interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
Lee Jones498315b92013-05-03 15:31:50 +01001056
1057 dmas = <&dma 28 0 0x2>, /* Logical - DevToMem */
1058 <&dma 28 0 0x0>; /* Logical - MemToDev */
1059 dma-names = "rx", "tx";
1060
Lee Jones604be892013-06-06 12:28:50 +01001061 clocks = <&prcc_kclk 3 4>, <&prcc_pclk 3 4>;
1062 clock-names = "sdi", "apb_pclk";
Ulf Hansson067adde2014-10-14 11:12:59 +02001063 power-domains = <&pm_domains DOMAIN_VAPE>;
Lee Jones604be892013-06-06 12:28:50 +01001064
Lee Jones7e0ce272012-03-15 16:46:17 +00001065 status = "disabled";
1066 };
Lee Jones76ff4e42012-10-24 11:10:05 +01001067
Lee Jones81bf8c22012-09-26 12:55:56 +01001068 sdi3_per2@80119000 {
Lee Jones7e0ce272012-03-15 16:46:17 +00001069 compatible = "arm,pl18x", "arm,primecell";
1070 reg = <0x80119000 0x1000>;
Linus Walleij0bfe5162016-03-24 15:48:47 +01001071 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
Lee Jones604be892013-06-06 12:28:50 +01001072
Linus Walleij14cdf8c2014-06-11 10:45:50 +02001073 dmas = <&dma 41 0 0x2>, /* Logical - DevToMem */
1074 <&dma 41 0 0x0>; /* Logical - MemToDev */
1075 dma-names = "rx", "tx";
1076
Lee Jones604be892013-06-06 12:28:50 +01001077 clocks = <&prcc_kclk 2 5>, <&prcc_pclk 2 7>;
1078 clock-names = "sdi", "apb_pclk";
Ulf Hansson067adde2014-10-14 11:12:59 +02001079 power-domains = <&pm_domains DOMAIN_VAPE>;
Lee Jones604be892013-06-06 12:28:50 +01001080
Lee Jones7e0ce272012-03-15 16:46:17 +00001081 status = "disabled";
1082 };
Lee Jones76ff4e42012-10-24 11:10:05 +01001083
Lee Jones81bf8c22012-09-26 12:55:56 +01001084 sdi4_per2@80114000 {
Lee Jones7e0ce272012-03-15 16:46:17 +00001085 compatible = "arm,pl18x", "arm,primecell";
1086 reg = <0x80114000 0x1000>;
Linus Walleij0bfe5162016-03-24 15:48:47 +01001087 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
Lee Jones498315b92013-05-03 15:31:50 +01001088
1089 dmas = <&dma 42 0 0x2>, /* Logical - DevToMem */
1090 <&dma 42 0 0x0>; /* Logical - MemToDev */
1091 dma-names = "rx", "tx";
1092
Lee Jones604be892013-06-06 12:28:50 +01001093 clocks = <&prcc_kclk 2 2>, <&prcc_pclk 2 4>;
1094 clock-names = "sdi", "apb_pclk";
Ulf Hansson067adde2014-10-14 11:12:59 +02001095 power-domains = <&pm_domains DOMAIN_VAPE>;
Lee Jones604be892013-06-06 12:28:50 +01001096
Lee Jones7e0ce272012-03-15 16:46:17 +00001097 status = "disabled";
1098 };
Lee Jones76ff4e42012-10-24 11:10:05 +01001099
Lee Jones81bf8c22012-09-26 12:55:56 +01001100 sdi5_per3@80008000 {
Lee Jones7e0ce272012-03-15 16:46:17 +00001101 compatible = "arm,pl18x", "arm,primecell";
Lee Jones76ff4e42012-10-24 11:10:05 +01001102 reg = <0x80008000 0x1000>;
Linus Walleij0bfe5162016-03-24 15:48:47 +01001103 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
Lee Jones604be892013-06-06 12:28:50 +01001104
Linus Walleij14cdf8c2014-06-11 10:45:50 +02001105 dmas = <&dma 43 0 0x2>, /* Logical - DevToMem */
1106 <&dma 43 0 0x0>; /* Logical - MemToDev */
1107 dma-names = "rx", "tx";
1108
Lee Jones604be892013-06-06 12:28:50 +01001109 clocks = <&prcc_kclk 3 7>, <&prcc_pclk 3 7>;
1110 clock-names = "sdi", "apb_pclk";
Ulf Hansson067adde2014-10-14 11:12:59 +02001111 power-domains = <&pm_domains DOMAIN_VAPE>;
Lee Jones604be892013-06-06 12:28:50 +01001112
Lee Jones7e0ce272012-03-15 16:46:17 +00001113 status = "disabled";
1114 };
Lee Jonesbf76e062012-04-24 10:53:18 +01001115
Linus Walleij9aea1512017-02-26 01:02:09 +01001116 sound {
1117 compatible = "stericsson,snd-soc-mop500";
1118 stericsson,cpu-dai = <&msp1 &msp3>;
1119 stericsson,audio-codec = <&codec>;
1120 clocks = <&prcmu_clk PRCMU_SYSCLK>, <&ab8500_clock AB8500_SYSCLK_ULP>, <&ab8500_clock AB8500_SYSCLK_INT>;
1121 clock-names = "sysclk", "ulpclk", "intclk";
1122 };
1123
Lee Jonesfe164522012-07-31 12:37:16 +01001124 msp0: msp@80123000 {
1125 compatible = "stericsson,ux500-msp-i2s";
1126 reg = <0x80123000 0x1000>;
Linus Walleij0bfe5162016-03-24 15:48:47 +01001127 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
Lee Jonesfe164522012-07-31 12:37:16 +01001128 v-ape-supply = <&db8500_vape_reg>;
Lee Jones133e6022013-06-03 13:18:00 +01001129
Lee Jones618111c2013-11-06 10:16:16 +00001130 dmas = <&dma 31 0 0x12>, /* Logical - DevToMem - HighPrio */
1131 <&dma 31 0 0x10>; /* Logical - MemToDev - HighPrio */
1132 dma-names = "rx", "tx";
1133
Lee Jones133e6022013-06-03 13:18:00 +01001134 clocks = <&prcc_kclk 1 3>, <&prcc_pclk 1 3>;
1135 clock-names = "msp", "apb_pclk";
1136
Lee Jonesfe164522012-07-31 12:37:16 +01001137 status = "disabled";
1138 };
1139
1140 msp1: msp@80124000 {
1141 compatible = "stericsson,ux500-msp-i2s";
1142 reg = <0x80124000 0x1000>;
Linus Walleij0bfe5162016-03-24 15:48:47 +01001143 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
Lee Jonesfe164522012-07-31 12:37:16 +01001144 v-ape-supply = <&db8500_vape_reg>;
Lee Jones133e6022013-06-03 13:18:00 +01001145
Linus Walleij14cdf8c2014-06-11 10:45:50 +02001146 /* This DMA channel only exist on DB8500 v1 */
Lee Jones618111c2013-11-06 10:16:16 +00001147 dmas = <&dma 30 0 0x10>; /* Logical - MemToDev - HighPrio */
1148 dma-names = "tx";
1149
Lee Jones133e6022013-06-03 13:18:00 +01001150 clocks = <&prcc_kclk 1 4>, <&prcc_pclk 1 4>;
1151 clock-names = "msp", "apb_pclk";
1152
Lee Jonesfe164522012-07-31 12:37:16 +01001153 status = "disabled";
1154 };
1155
1156 // HDMI sound
1157 msp2: msp@80117000 {
1158 compatible = "stericsson,ux500-msp-i2s";
1159 reg = <0x80117000 0x1000>;
Linus Walleij0bfe5162016-03-24 15:48:47 +01001160 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
Lee Jonesfe164522012-07-31 12:37:16 +01001161 v-ape-supply = <&db8500_vape_reg>;
Lee Jones133e6022013-06-03 13:18:00 +01001162
Lee Jones618111c2013-11-06 10:16:16 +00001163 dmas = <&dma 14 0 0x12>, /* Logical - DevToMem - HighPrio */
1164 <&dma 14 1 0x19>; /* Physical Chan 1 - MemToDev
1165 HighPrio - Fixed */
1166 dma-names = "rx", "tx";
1167
Lee Jones133e6022013-06-03 13:18:00 +01001168 clocks = <&prcc_kclk 2 3>, <&prcc_pclk 2 5>;
1169 clock-names = "msp", "apb_pclk";
1170
Lee Jonesfe164522012-07-31 12:37:16 +01001171 status = "disabled";
1172 };
1173
1174 msp3: msp@80125000 {
1175 compatible = "stericsson,ux500-msp-i2s";
1176 reg = <0x80125000 0x1000>;
Linus Walleij0bfe5162016-03-24 15:48:47 +01001177 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
Lee Jonesfe164522012-07-31 12:37:16 +01001178 v-ape-supply = <&db8500_vape_reg>;
Lee Jones133e6022013-06-03 13:18:00 +01001179
Linus Walleij14cdf8c2014-06-11 10:45:50 +02001180 /* This DMA channel only exist on DB8500 v2 */
Lee Jones618111c2013-11-06 10:16:16 +00001181 dmas = <&dma 30 0 0x12>; /* Logical - DevToMem - HighPrio */
1182 dma-names = "rx";
1183
Lee Jones133e6022013-06-03 13:18:00 +01001184 clocks = <&prcc_kclk 1 10>, <&prcc_pclk 1 11>;
1185 clock-names = "msp", "apb_pclk";
1186
Lee Jonesfe164522012-07-31 12:37:16 +01001187 status = "disabled";
1188 };
1189
Lee Jonesbf76e062012-04-24 10:53:18 +01001190 external-bus@50000000 {
1191 compatible = "simple-bus";
1192 reg = <0x50000000 0x4000000>;
1193 #address-cells = <1>;
1194 #size-cells = <1>;
1195 ranges = <0 0x50000000 0x4000000>;
1196 status = "disabled";
1197 };
hongbo.zhangdc1956b2012-11-15 18:56:43 +08001198
Linus Walleij61313fb2019-04-12 15:02:20 +02001199 gpu@a0300000 {
1200 /*
1201 * This block is referred to as "Smart Graphics Adapter SGA500"
1202 * in documentation but is in practice a pretty straight-forward
1203 * MALI-400 GPU block.
1204 */
1205 compatible = "stericsson,db8500-mali", "arm,mali-400";
1206 reg = <0xa0300000 0x10000>;
1207 interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
1208 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
1209 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
1210 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
1211 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
1212 interrupt-names = "gp",
1213 "gpmmu",
1214 "pp0",
1215 "ppmmu0",
1216 "combined";
1217 clocks = <&prcmu_clk PRCMU_ACLK>, <&prcmu_clk PRCMU_SGACLK>;
1218 clock-names = "bus", "core";
1219 mali-supply = <&db8500_sga_reg>;
1220 power-domains = <&pm_domains DOMAIN_VAPE>;
1221 };
1222
Linus Walleij6e9a88a2013-11-14 15:21:00 +01001223 mcde@a0350000 {
Linus Walleijf4bdfcc2018-10-08 13:27:55 +02001224 compatible = "ste,mcde";
1225 reg = <0xa0350000 0x1000>;
Linus Walleij0bfe5162016-03-24 15:48:47 +01001226 interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
Linus Walleijf4bdfcc2018-10-08 13:27:55 +02001227 epod-supply = <&db8500_b2r2_mcde_reg>;
1228 vana-supply = <&ab8500_ldo_ana_reg>;
Linus Walleij6e9a88a2013-11-14 15:21:00 +01001229 clocks = <&prcmu_clk PRCMU_MCDECLK>, /* Main MCDE clock */
1230 <&prcmu_clk PRCMU_LCDCLK>, /* LCD clock */
Linus Walleijf4bdfcc2018-10-08 13:27:55 +02001231 <&prcmu_clk PRCMU_PLLDSI>; /* HDMI clock */
1232 clock-names = "mcde", "lcd", "hdmi";
1233 #address-cells = <1>;
1234 #size-cells = <1>;
1235 ranges;
1236 status = "disabled";
1237
1238 dsi0: dsi@a0351000 {
1239 compatible = "ste,mcde-dsi";
1240 reg = <0xa0351000 0x1000>;
1241 vana-supply = <&ab8500_ldo_ana_reg>;
1242 clocks = <&prcmu_clk PRCMU_DSI0CLK>, <&prcmu_clk PRCMU_DSI0ESCCLK>;
1243 clock-names = "hs", "lp";
1244 #address-cells = <1>;
1245 #size-cells = <0>;
1246 };
1247 dsi1: dsi@a0352000 {
1248 compatible = "ste,mcde-dsi";
1249 reg = <0xa0352000 0x1000>;
1250 vana-supply = <&ab8500_ldo_ana_reg>;
1251 clocks = <&prcmu_clk PRCMU_DSI1CLK>, <&prcmu_clk PRCMU_DSI1ESCCLK>;
1252 clock-names = "hs", "lp";
1253 #address-cells = <1>;
1254 #size-cells = <0>;
1255 };
1256 dsi2: dsi@a0353000 {
1257 compatible = "ste,mcde-dsi";
1258 reg = <0xa0353000 0x1000>;
1259 vana-supply = <&ab8500_ldo_ana_reg>;
1260 /* This DSI port only has the Low Power / Energy Save clock */
1261 clocks = <&prcmu_clk PRCMU_DSI2ESCCLK>;
1262 clock-names = "lp";
1263 #address-cells = <1>;
1264 #size-cells = <0>;
1265 };
Linus Walleij6e9a88a2013-11-14 15:21:00 +01001266 };
1267
Lee Jonesfe2e9f92013-05-16 12:27:21 +01001268 cryp@a03cb000 {
1269 compatible = "stericsson,ux500-cryp";
1270 reg = <0xa03cb000 0x1000>;
Linus Walleij0bfe5162016-03-24 15:48:47 +01001271 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
Lee Jonesfe2e9f92013-05-16 12:27:21 +01001272
1273 v-ape-supply = <&db8500_vape_reg>;
Lee Jonesd2f898c2013-09-18 16:05:52 +01001274 clocks = <&prcc_pclk 6 1>;
Lee Jonesfe2e9f92013-05-16 12:27:21 +01001275 };
Lee Jones61122cf2013-05-16 12:27:22 +01001276
1277 hash@a03c2000 {
1278 compatible = "stericsson,ux500-hash";
1279 reg = <0xa03c2000 0x1000>;
1280
1281 v-ape-supply = <&db8500_vape_reg>;
Lee Jones024cfe82013-09-18 16:07:27 +01001282 clocks = <&prcc_pclk 6 2>;
Lee Jones61122cf2013-05-16 12:27:22 +01001283 };
Arnd Bergmann5d0769f2012-03-02 23:07:21 +00001284 };
1285};