blob: 00a3838236d1901e9f420b72dc3d9081a2960a2e [file] [log] [blame]
Maxime Coquelinf563a572014-02-27 13:27:27 +01001/*
2 * Copyright (C) 2014 STMicroelectronics Limited.
3 * Author: Giuseppe Cavallaro <peppe.cavallaro@st.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * publishhed by the Free Software Foundation.
8 */
Maxime Coquelinf563a572014-02-27 13:27:27 +01009#include "stih407-pinctrl.dtsi"
Lee Jones358764f2015-04-09 16:47:00 +020010#include <dt-bindings/mfd/st-lpc.h>
Peter Griffinb3d37f92015-03-31 09:35:00 +020011#include <dt-bindings/phy/phy.h>
Philipp Zabelefdf5aa2015-02-13 12:20:49 +010012#include <dt-bindings/reset/stih407-resets.h>
Lee Jones107dea02015-05-12 14:51:00 +020013#include <dt-bindings/interrupt-controller/irq-st.h>
Maxime Coquelinf563a572014-02-27 13:27:27 +010014/ {
15 #address-cells = <1>;
16 #size-cells = <1>;
17
Lee Jonesfe135c62016-04-21 17:07:00 +020018 reserved-memory {
19 #address-cells = <1>;
20 #size-cells = <1>;
21 ranges;
22
Patrice Chotard04f0d552017-01-12 11:59:01 +010023 gp0_reserved: rproc@45000000 {
Lee Jonesfe135c62016-04-21 17:07:00 +020024 compatible = "shared-dma-pool";
Patrice Chotard04f0d552017-01-12 11:59:01 +010025 reg = <0x45000000 0x00400000>;
Lee Jonesfe135c62016-04-21 17:07:00 +020026 no-map;
27 };
28
Patrice Chotard2196cb82017-01-12 14:15:21 +010029 delta_reserved: rproc@44000000 {
Lee Jonesfe135c62016-04-21 17:07:00 +020030 compatible = "shared-dma-pool";
Patrice Chotard2196cb82017-01-12 14:15:21 +010031 reg = <0x44000000 0x01000000>;
Lee Jonesfe135c62016-04-21 17:07:00 +020032 no-map;
33 };
34 };
35
Maxime Coquelinf563a572014-02-27 13:27:27 +010036 cpus {
37 #address-cells = <1>;
38 #size-cells = <0>;
39 cpu@0 {
40 device_type = "cpu";
41 compatible = "arm,cortex-a9";
42 reg = <0>;
Lee Jones6fef7952016-04-21 17:07:00 +020043
Peter Griffinc1dc02d2015-06-09 15:33:00 +020044 /* u-boot puts hpen in SBC dmem at 0xa4 offset */
45 cpu-release-addr = <0x94100A4>;
Lee Jones6fef7952016-04-21 17:07:00 +020046
47 /* kHz uV */
48 operating-points = <1500000 0
49 1200000 0
50 800000 0
51 500000 0>;
Lee Jones4ad8f3a2016-04-21 17:07:00 +020052
53 clocks = <&clk_m_a9>;
54 clock-names = "cpu";
55 clock-latency = <100000>;
Lee Jonesfe7de3c2016-04-21 17:07:00 +020056 cpu0-supply = <&pwm_regulator>;
Lee Jones56092632016-04-21 17:07:00 +020057 st,syscfg = <&syscfg_core 0x8e0>;
Maxime Coquelinf563a572014-02-27 13:27:27 +010058 };
59 cpu@1 {
60 device_type = "cpu";
61 compatible = "arm,cortex-a9";
62 reg = <1>;
Lee Jones6fef7952016-04-21 17:07:00 +020063
Peter Griffinc1dc02d2015-06-09 15:33:00 +020064 /* u-boot puts hpen in SBC dmem at 0xa4 offset */
65 cpu-release-addr = <0x94100A4>;
Lee Jones6fef7952016-04-21 17:07:00 +020066
67 /* kHz uV */
68 operating-points = <1500000 0
69 1200000 0
70 800000 0
71 500000 0>;
Maxime Coquelinf563a572014-02-27 13:27:27 +010072 };
73 };
74
Rob Herring8dccafa2017-10-13 12:54:51 -050075 intc: interrupt-controller@8761000 {
Maxime Coquelinf563a572014-02-27 13:27:27 +010076 compatible = "arm,cortex-a9-gic";
77 #interrupt-cells = <3>;
78 interrupt-controller;
79 reg = <0x08761000 0x1000>, <0x08760100 0x100>;
80 };
81
Rob Herring8dccafa2017-10-13 12:54:51 -050082 scu@8760000 {
Maxime Coquelinf563a572014-02-27 13:27:27 +010083 compatible = "arm,cortex-a9-scu";
84 reg = <0x08760000 0x1000>;
85 };
86
Rob Herring8dccafa2017-10-13 12:54:51 -050087 timer@8760200 {
Maxime Coquelinf563a572014-02-27 13:27:27 +010088 interrupt-parent = <&intc>;
89 compatible = "arm,cortex-a9-global-timer";
90 reg = <0x08760200 0x100>;
91 interrupts = <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH>;
92 clocks = <&arm_periph_clk>;
93 };
94
Patrice Chotardd6d854c2018-01-08 11:20:42 +010095 l2: cache-controller@8762000 {
Maxime Coquelinf563a572014-02-27 13:27:27 +010096 compatible = "arm,pl310-cache";
97 reg = <0x08762000 0x1000>;
98 arm,data-latency = <3 3 3>;
99 arm,tag-latency = <2 2 2>;
100 cache-unified;
101 cache-level = <2>;
102 };
103
Lee Jones00133b92015-05-12 14:51:00 +0200104 arm-pmu {
105 interrupt-parent = <&intc>;
106 compatible = "arm,cortex-a9-pmu";
107 interrupts = <GIC_PPI 15 IRQ_TYPE_LEVEL_HIGH>;
108 };
109
Lee Jones23155ff2015-07-07 17:06:00 +0200110 pwm_regulator: pwm-regulator {
111 compatible = "pwm-regulator";
112 pwms = <&pwm1 3 8448>;
113 regulator-name = "CPU_1V0_AVS";
114 regulator-min-microvolt = <784000>;
115 regulator-max-microvolt = <1299000>;
116 regulator-always-on;
117 max-duty-cycle = <255>;
118 status = "okay";
119 };
120
Maxime Coquelinf563a572014-02-27 13:27:27 +0100121 soc {
122 #address-cells = <1>;
123 #size-cells = <1>;
124 interrupt-parent = <&intc>;
125 ranges;
126 compatible = "simple-bus";
127
Patrice Chotarda3888712018-01-19 09:57:39 +0100128 restart: restart-controller@0 {
Lee Jones48f3fe62015-05-12 14:51:00 +0200129 compatible = "st,stih407-restart";
Patrice Chotarda3888712018-01-19 09:57:39 +0100130 reg = <0 0>;
Lee Jones48f3fe62015-05-12 14:51:00 +0200131 st,syscfg = <&syscfg_sbc_reg>;
132 status = "okay";
133 };
134
Patrice Chotarda3888712018-01-19 09:57:39 +0100135 powerdown: powerdown-controller@0 {
Peter Griffinb864a0b2014-07-02 16:08:00 +0200136 compatible = "st,stih407-powerdown";
Patrice Chotarda3888712018-01-19 09:57:39 +0100137 reg = <0 0>;
Peter Griffinb864a0b2014-07-02 16:08:00 +0200138 #reset-cells = <1>;
139 };
140
Patrice Chotarda3888712018-01-19 09:57:39 +0100141 softreset: softreset-controller@0 {
Peter Griffinb864a0b2014-07-02 16:08:00 +0200142 compatible = "st,stih407-softreset";
Patrice Chotarda3888712018-01-19 09:57:39 +0100143 reg = <0 0>;
Peter Griffinb864a0b2014-07-02 16:08:00 +0200144 #reset-cells = <1>;
145 };
146
Patrice Chotarda3888712018-01-19 09:57:39 +0100147 picophyreset: picophyreset-controller@0 {
Peter Griffinb864a0b2014-07-02 16:08:00 +0200148 compatible = "st,stih407-picophyreset";
Patrice Chotarda3888712018-01-19 09:57:39 +0100149 reg = <0 0>;
Peter Griffinb864a0b2014-07-02 16:08:00 +0200150 #reset-cells = <1>;
151 };
152
Maxime Coquelinf563a572014-02-27 13:27:27 +0100153 syscfg_sbc: sbc-syscfg@9620000 {
154 compatible = "st,stih407-sbc-syscfg", "syscon";
155 reg = <0x9620000 0x1000>;
156 };
157
158 syscfg_front: front-syscfg@9280000 {
159 compatible = "st,stih407-front-syscfg", "syscon";
160 reg = <0x9280000 0x1000>;
161 };
162
163 syscfg_rear: rear-syscfg@9290000 {
164 compatible = "st,stih407-rear-syscfg", "syscon";
165 reg = <0x9290000 0x1000>;
166 };
167
168 syscfg_flash: flash-syscfg@92a0000 {
169 compatible = "st,stih407-flash-syscfg", "syscon";
170 reg = <0x92a0000 0x1000>;
171 };
172
173 syscfg_sbc_reg: fvdp-lite-syscfg@9600000 {
174 compatible = "st,stih407-sbc-reg-syscfg", "syscon";
175 reg = <0x9600000 0x1000>;
176 };
177
178 syscfg_core: core-syscfg@92b0000 {
179 compatible = "st,stih407-core-syscfg", "syscon";
180 reg = <0x92b0000 0x1000>;
181 };
182
183 syscfg_lpm: lpm-syscfg@94b5100 {
184 compatible = "st,stih407-lpm-syscfg", "syscon";
185 reg = <0x94b5100 0x1000>;
186 };
187
Patrice Chotard07c5e5c2018-01-18 17:48:01 +0100188 irq-syscfg@0 {
Lee Jones107dea02015-05-12 14:51:00 +0200189 compatible = "st,stih407-irq-syscfg";
Patrice Chotard07c5e5c2018-01-18 17:48:01 +0100190 reg = <0 0>;
Lee Jones107dea02015-05-12 14:51:00 +0200191 st,syscfg = <&syscfg_core>;
192 st,irq-device = <ST_IRQ_SYSCFG_PMU_0>,
193 <ST_IRQ_SYSCFG_PMU_1>;
194 st,fiq-device = <ST_IRQ_SYSCFG_DISABLED>,
195 <ST_IRQ_SYSCFG_DISABLED>;
196 };
197
Maxime Coquelin759742d2015-09-23 03:04:24 +0200198 /* Display */
199 vtg_main: sti-vtg-main@8d02800 {
200 compatible = "st,vtg";
201 reg = <0x8d02800 0x200>;
202 interrupts = <GIC_SPI 108 IRQ_TYPE_NONE>;
203 };
204
205 vtg_aux: sti-vtg-aux@8d00200 {
206 compatible = "st,vtg";
207 reg = <0x8d00200 0x100>;
208 interrupts = <GIC_SPI 109 IRQ_TYPE_NONE>;
209 };
210
Maxime Coquelinf563a572014-02-27 13:27:27 +0100211 serial@9830000 {
212 compatible = "st,asc";
213 reg = <0x9830000 0x2c>;
214 interrupts = <GIC_SPI 122 IRQ_TYPE_NONE>;
Gabriel FERNANDEZ1befe7e2014-08-25 16:44:00 +0200215 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
Lee Jonescf38e1a2017-02-03 10:23:18 +0000216 /* Pinctrl moved out to a per-board configuration */
Maxime Coquelinf563a572014-02-27 13:27:27 +0100217
218 status = "disabled";
219 };
220
221 serial@9831000 {
222 compatible = "st,asc";
223 reg = <0x9831000 0x2c>;
224 interrupts = <GIC_SPI 123 IRQ_TYPE_NONE>;
225 pinctrl-names = "default";
226 pinctrl-0 = <&pinctrl_serial1>;
Gabriel FERNANDEZ1befe7e2014-08-25 16:44:00 +0200227 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100228
229 status = "disabled";
230 };
231
232 serial@9832000 {
233 compatible = "st,asc";
234 reg = <0x9832000 0x2c>;
235 interrupts = <GIC_SPI 124 IRQ_TYPE_NONE>;
236 pinctrl-names = "default";
237 pinctrl-0 = <&pinctrl_serial2>;
Gabriel FERNANDEZ1befe7e2014-08-25 16:44:00 +0200238 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100239
240 status = "disabled";
241 };
242
243 /* SBC_ASC0 - UART10 */
244 sbc_serial0: serial@9530000 {
245 compatible = "st,asc";
246 reg = <0x9530000 0x2c>;
247 interrupts = <GIC_SPI 138 IRQ_TYPE_NONE>;
248 pinctrl-names = "default";
249 pinctrl-0 = <&pinctrl_sbc_serial0>;
250 clocks = <&clk_sysin>;
251
252 status = "disabled";
253 };
254
255 serial@9531000 {
256 compatible = "st,asc";
257 reg = <0x9531000 0x2c>;
258 interrupts = <GIC_SPI 139 IRQ_TYPE_NONE>;
259 pinctrl-names = "default";
260 pinctrl-0 = <&pinctrl_sbc_serial1>;
261 clocks = <&clk_sysin>;
262
263 status = "disabled";
264 };
265
266 i2c@9840000 {
267 compatible = "st,comms-ssc4-i2c";
268 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
269 reg = <0x9840000 0x110>;
Gabriel FERNANDEZ1befe7e2014-08-25 16:44:00 +0200270 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100271 clock-names = "ssc";
272 clock-frequency = <400000>;
273 pinctrl-names = "default";
274 pinctrl-0 = <&pinctrl_i2c0_default>;
Loic Pallardy86b45222016-11-16 13:57:00 +0100275 #address-cells = <1>;
276 #size-cells = <0>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100277
278 status = "disabled";
279 };
280
281 i2c@9841000 {
282 compatible = "st,comms-ssc4-i2c";
283 reg = <0x9841000 0x110>;
284 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
Gabriel FERNANDEZ1befe7e2014-08-25 16:44:00 +0200285 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100286 clock-names = "ssc";
287 clock-frequency = <400000>;
288 pinctrl-names = "default";
289 pinctrl-0 = <&pinctrl_i2c1_default>;
Loic Pallardy86b45222016-11-16 13:57:00 +0100290 #address-cells = <1>;
291 #size-cells = <0>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100292
293 status = "disabled";
294 };
295
296 i2c@9842000 {
297 compatible = "st,comms-ssc4-i2c";
298 reg = <0x9842000 0x110>;
299 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
Gabriel FERNANDEZ1befe7e2014-08-25 16:44:00 +0200300 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100301 clock-names = "ssc";
302 clock-frequency = <400000>;
303 pinctrl-names = "default";
304 pinctrl-0 = <&pinctrl_i2c2_default>;
Loic Pallardy86b45222016-11-16 13:57:00 +0100305 #address-cells = <1>;
306 #size-cells = <0>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100307
308 status = "disabled";
309 };
310
311 i2c@9843000 {
312 compatible = "st,comms-ssc4-i2c";
313 reg = <0x9843000 0x110>;
314 interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
Gabriel FERNANDEZ1befe7e2014-08-25 16:44:00 +0200315 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100316 clock-names = "ssc";
317 clock-frequency = <400000>;
318 pinctrl-names = "default";
319 pinctrl-0 = <&pinctrl_i2c3_default>;
Loic Pallardy86b45222016-11-16 13:57:00 +0100320 #address-cells = <1>;
321 #size-cells = <0>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100322
323 status = "disabled";
324 };
325
326 i2c@9844000 {
327 compatible = "st,comms-ssc4-i2c";
328 reg = <0x9844000 0x110>;
329 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
Gabriel FERNANDEZ1befe7e2014-08-25 16:44:00 +0200330 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100331 clock-names = "ssc";
332 clock-frequency = <400000>;
333 pinctrl-names = "default";
334 pinctrl-0 = <&pinctrl_i2c4_default>;
Loic Pallardy86b45222016-11-16 13:57:00 +0100335 #address-cells = <1>;
336 #size-cells = <0>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100337
338 status = "disabled";
339 };
340
341 i2c@9845000 {
342 compatible = "st,comms-ssc4-i2c";
343 reg = <0x9845000 0x110>;
344 interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
Gabriel FERNANDEZ1befe7e2014-08-25 16:44:00 +0200345 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100346 clock-names = "ssc";
347 clock-frequency = <400000>;
348 pinctrl-names = "default";
349 pinctrl-0 = <&pinctrl_i2c5_default>;
Loic Pallardy86b45222016-11-16 13:57:00 +0100350 #address-cells = <1>;
351 #size-cells = <0>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100352
353 status = "disabled";
354 };
355
356
357 /* SSCs on SBC */
358 i2c@9540000 {
359 compatible = "st,comms-ssc4-i2c";
360 reg = <0x9540000 0x110>;
361 interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
362 clocks = <&clk_sysin>;
363 clock-names = "ssc";
364 clock-frequency = <400000>;
365 pinctrl-names = "default";
366 pinctrl-0 = <&pinctrl_i2c10_default>;
Loic Pallardy86b45222016-11-16 13:57:00 +0100367 #address-cells = <1>;
368 #size-cells = <0>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100369
370 status = "disabled";
371 };
372
373 i2c@9541000 {
374 compatible = "st,comms-ssc4-i2c";
375 reg = <0x9541000 0x110>;
376 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
377 clocks = <&clk_sysin>;
378 clock-names = "ssc";
379 clock-frequency = <400000>;
380 pinctrl-names = "default";
381 pinctrl-0 = <&pinctrl_i2c11_default>;
Loic Pallardy86b45222016-11-16 13:57:00 +0100382 #address-cells = <1>;
383 #size-cells = <0>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100384
385 status = "disabled";
386 };
Peter Griffin8facce12015-01-07 16:04:00 +0100387
388 usb2_picophy0: phy1 {
389 compatible = "st,stih407-usb2-phy";
390 #phy-cells = <0>;
391 st,syscfg = <&syscfg_core 0x100 0xf4>;
392 resets = <&softreset STIH407_PICOPHY_SOFTRESET>,
Peter Griffin743ac9d2015-04-30 15:30:00 +0200393 <&picophyreset STIH407_PICOPHY2_RESET>;
Peter Griffin8facce12015-01-07 16:04:00 +0100394 reset-names = "global", "port";
395 };
Gabriel FERNANDEZb26373c2015-01-14 10:54:00 +0100396
Patrice Chotardb2d81762018-01-18 17:34:59 +0100397 miphy28lp_phy: miphy28lp@0 {
Gabriel FERNANDEZb26373c2015-01-14 10:54:00 +0100398 compatible = "st,miphy28lp-phy";
399 st,syscfg = <&syscfg_core>;
400 #address-cells = <1>;
401 #size-cells = <1>;
402 ranges;
Patrice Chotardb2d81762018-01-18 17:34:59 +0100403 reg = <0 0>;
Gabriel FERNANDEZb26373c2015-01-14 10:54:00 +0100404
405 phy_port0: port@9b22000 {
406 reg = <0x9b22000 0xff>,
407 <0x9b09000 0xff>,
408 <0x9b04000 0xff>;
409 reg-names = "sata-up",
410 "pcie-up",
411 "pipew";
412
413 st,syscfg = <0x114 0x818 0xe0 0xec>;
414 #phy-cells = <1>;
415
416 reset-names = "miphy-sw-rst";
417 resets = <&softreset STIH407_MIPHY0_SOFTRESET>;
418 };
419
420 phy_port1: port@9b2a000 {
421 reg = <0x9b2a000 0xff>,
422 <0x9b19000 0xff>,
423 <0x9b14000 0xff>;
424 reg-names = "sata-up",
425 "pcie-up",
426 "pipew";
427
428 st,syscfg = <0x118 0x81c 0xe4 0xf0>;
429
430 #phy-cells = <1>;
431
432 reset-names = "miphy-sw-rst";
433 resets = <&softreset STIH407_MIPHY1_SOFTRESET>;
434 };
435
436 phy_port2: port@8f95000 {
437 reg = <0x8f95000 0xff>,
438 <0x8f90000 0xff>;
439 reg-names = "pipew",
440 "usb3-up";
441
442 st,syscfg = <0x11c 0x820>;
443
444 #phy-cells = <1>;
445
446 reset-names = "miphy-sw-rst";
447 resets = <&softreset STIH407_MIPHY2_SOFTRESET>;
448 };
449 };
Lee Jones2c53c272015-01-22 11:07:00 +0100450
451 spi@9840000 {
452 compatible = "st,comms-ssc4-spi";
453 reg = <0x9840000 0x110>;
454 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
455 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
456 clock-names = "ssc";
457 pinctrl-0 = <&pinctrl_spi0_default>;
458 pinctrl-names = "default";
459 #address-cells = <1>;
460 #size-cells = <0>;
461
462 status = "disabled";
463 };
464
465 spi@9841000 {
466 compatible = "st,comms-ssc4-spi";
467 reg = <0x9841000 0x110>;
468 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
469 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
470 clock-names = "ssc";
Peter Griffin55fd9b12015-09-28 14:37:00 +0200471 pinctrl-names = "default";
472 pinctrl-0 = <&pinctrl_spi1_default>;
Patrice Chotardcba86382017-02-20 14:00:30 +0100473 #address-cells = <1>;
474 #size-cells = <0>;
Lee Jones2c53c272015-01-22 11:07:00 +0100475
476 status = "disabled";
477 };
478
479 spi@9842000 {
480 compatible = "st,comms-ssc4-spi";
481 reg = <0x9842000 0x110>;
482 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
483 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
484 clock-names = "ssc";
Peter Griffin55fd9b12015-09-28 14:37:00 +0200485 pinctrl-names = "default";
486 pinctrl-0 = <&pinctrl_spi2_default>;
Patrice Chotardcba86382017-02-20 14:00:30 +0100487 #address-cells = <1>;
488 #size-cells = <0>;
Lee Jones2c53c272015-01-22 11:07:00 +0100489
490 status = "disabled";
491 };
492
493 spi@9843000 {
494 compatible = "st,comms-ssc4-spi";
495 reg = <0x9843000 0x110>;
496 interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
497 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
498 clock-names = "ssc";
Peter Griffin55fd9b12015-09-28 14:37:00 +0200499 pinctrl-names = "default";
500 pinctrl-0 = <&pinctrl_spi3_default>;
Patrice Chotardcba86382017-02-20 14:00:30 +0100501 #address-cells = <1>;
502 #size-cells = <0>;
Lee Jones2c53c272015-01-22 11:07:00 +0100503
504 status = "disabled";
505 };
506
507 spi@9844000 {
508 compatible = "st,comms-ssc4-spi";
509 reg = <0x9844000 0x110>;
510 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
511 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
512 clock-names = "ssc";
Peter Griffin55fd9b12015-09-28 14:37:00 +0200513 pinctrl-names = "default";
514 pinctrl-0 = <&pinctrl_spi4_default>;
Patrice Chotardcba86382017-02-20 14:00:30 +0100515 #address-cells = <1>;
516 #size-cells = <0>;
Lee Jones2c53c272015-01-22 11:07:00 +0100517
518 status = "disabled";
519 };
Lee Jonesb0bb2ba2015-01-22 11:07:00 +0100520
521 /* SBC SSC */
522 spi@9540000 {
523 compatible = "st,comms-ssc4-spi";
524 reg = <0x9540000 0x110>;
525 interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
526 clocks = <&clk_sysin>;
527 clock-names = "ssc";
Peter Griffin55fd9b12015-09-28 14:37:00 +0200528 pinctrl-names = "default";
529 pinctrl-0 = <&pinctrl_spi10_default>;
Patrice Chotardcba86382017-02-20 14:00:30 +0100530 #address-cells = <1>;
531 #size-cells = <0>;
Lee Jonesb0bb2ba2015-01-22 11:07:00 +0100532
533 status = "disabled";
534 };
535
536 spi@9541000 {
537 compatible = "st,comms-ssc4-spi";
538 reg = <0x9541000 0x110>;
539 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
540 clocks = <&clk_sysin>;
541 clock-names = "ssc";
Peter Griffin55fd9b12015-09-28 14:37:00 +0200542 pinctrl-names = "default";
543 pinctrl-0 = <&pinctrl_spi11_default>;
Patrice Chotardcba86382017-02-20 14:00:30 +0100544 #address-cells = <1>;
545 #size-cells = <0>;
Lee Jonesb0bb2ba2015-01-22 11:07:00 +0100546
547 status = "disabled";
548 };
549
550 spi@9542000 {
551 compatible = "st,comms-ssc4-spi";
552 reg = <0x9542000 0x110>;
553 interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
554 clocks = <&clk_sysin>;
555 clock-names = "ssc";
Peter Griffin55fd9b12015-09-28 14:37:00 +0200556 pinctrl-names = "default";
557 pinctrl-0 = <&pinctrl_spi12_default>;
Patrice Chotardcba86382017-02-20 14:00:30 +0100558 #address-cells = <1>;
559 #size-cells = <0>;
Lee Jonesb0bb2ba2015-01-22 11:07:00 +0100560
561 status = "disabled";
562 };
Peter Griffin9286ac42015-04-10 11:40:00 +0200563
Rob Herring8dccafa2017-10-13 12:54:51 -0500564 mmc0: sdhci@9060000 {
Peter Griffin9286ac42015-04-10 11:40:00 +0200565 compatible = "st,sdhci-stih407", "st,sdhci";
566 status = "disabled";
567 reg = <0x09060000 0x7ff>, <0x9061008 0x20>;
568 reg-names = "mmc", "top-mmc-delay";
569 interrupts = <GIC_SPI 92 IRQ_TYPE_NONE>;
570 interrupt-names = "mmcirq";
571 pinctrl-names = "default";
572 pinctrl-0 = <&pinctrl_mmc0>;
Lee Jones78567f12016-09-08 11:11:00 +0200573 clock-names = "mmc", "icn";
574 clocks = <&clk_s_c0_flexgen CLK_MMC_0>,
575 <&clk_s_c0_flexgen CLK_RX_ICN_HVA>;
Peter Griffin9286ac42015-04-10 11:40:00 +0200576 bus-width = <8>;
Peter Griffin9286ac42015-04-10 11:40:00 +0200577 };
578
Rob Herring8dccafa2017-10-13 12:54:51 -0500579 mmc1: sdhci@9080000 {
Peter Griffin9286ac42015-04-10 11:40:00 +0200580 compatible = "st,sdhci-stih407", "st,sdhci";
581 status = "disabled";
582 reg = <0x09080000 0x7ff>;
583 reg-names = "mmc";
584 interrupts = <GIC_SPI 90 IRQ_TYPE_NONE>;
585 interrupt-names = "mmcirq";
586 pinctrl-names = "default";
587 pinctrl-0 = <&pinctrl_sd1>;
Lee Jones78567f12016-09-08 11:11:00 +0200588 clock-names = "mmc", "icn";
589 clocks = <&clk_s_c0_flexgen CLK_MMC_1>,
590 <&clk_s_c0_flexgen CLK_RX_ICN_HVA>;
Peter Griffin9286ac42015-04-10 11:40:00 +0200591 resets = <&softreset STIH407_MMC1_SOFTRESET>;
592 bus-width = <4>;
593 };
Lee Jones358764f2015-04-09 16:47:00 +0200594
595 /* Watchdog and Real-Time Clock */
596 lpc@8787000 {
597 compatible = "st,stih407-lpc";
598 reg = <0x8787000 0x1000>;
599 interrupts = <GIC_SPI 129 IRQ_TYPE_EDGE_RISING>;
600 clocks = <&clk_s_d3_flexgen CLK_LPC_0>;
601 timeout-sec = <120>;
602 st,syscfg = <&syscfg_core>;
603 st,lpc-mode = <ST_LPC_MODE_WDT>;
604 };
605
606 lpc@8788000 {
607 compatible = "st,stih407-lpc";
608 reg = <0x8788000 0x1000>;
609 interrupts = <GIC_SPI 130 IRQ_TYPE_EDGE_RISING>;
610 clocks = <&clk_s_d3_flexgen CLK_LPC_1>;
Lee Jones3d90bc02016-04-21 17:07:00 +0200611 st,lpc-mode = <ST_LPC_MODE_CLKSRC>;
Lee Jones358764f2015-04-09 16:47:00 +0200612 };
Peter Griffinb3d37f92015-03-31 09:35:00 +0200613
614 sata0: sata@9b20000 {
615 compatible = "st,ahci";
616 reg = <0x9b20000 0x1000>;
617
618 interrupts = <GIC_SPI 159 IRQ_TYPE_NONE>;
619 interrupt-names = "hostc";
620
621 phys = <&phy_port0 PHY_TYPE_SATA>;
622 phy-names = "ahci_phy";
623
624 resets = <&powerdown STIH407_SATA0_POWERDOWN>,
625 <&softreset STIH407_SATA0_SOFTRESET>,
626 <&softreset STIH407_SATA0_PWR_SOFTRESET>;
627 reset-names = "pwr-dwn", "sw-rst", "pwr-rst";
628
629 clock-names = "ahci_clk";
630 clocks = <&clk_s_c0_flexgen CLK_ICN_REG>;
631
Patrice Chotardecb8af42016-08-15 14:17:00 +0200632 ports-implemented = <0x1>;
633
Peter Griffinb3d37f92015-03-31 09:35:00 +0200634 status = "disabled";
635 };
636
637 sata1: sata@9b28000 {
638 compatible = "st,ahci";
639 reg = <0x9b28000 0x1000>;
640
641 interrupts = <GIC_SPI 170 IRQ_TYPE_NONE>;
642 interrupt-names = "hostc";
643
644 phys = <&phy_port1 PHY_TYPE_SATA>;
645 phy-names = "ahci_phy";
646
647 resets = <&powerdown STIH407_SATA1_POWERDOWN>,
648 <&softreset STIH407_SATA1_SOFTRESET>,
649 <&softreset STIH407_SATA1_PWR_SOFTRESET>;
650 reset-names = "pwr-dwn",
651 "sw-rst",
652 "pwr-rst";
653
654 clock-names = "ahci_clk";
655 clocks = <&clk_s_c0_flexgen CLK_ICN_REG>;
656
Patrice Chotardecb8af42016-08-15 14:17:00 +0200657 ports-implemented = <0x1>;
658
Peter Griffinb3d37f92015-03-31 09:35:00 +0200659 status = "disabled";
660 };
Peter Griffinfd555992015-04-30 15:30:00 +0200661
Lee Jonescd9f59c2015-07-07 17:06:00 +0200662
Peter Griffinfd555992015-04-30 15:30:00 +0200663 st_dwc3: dwc3@8f94000 {
664 compatible = "st,stih407-dwc3";
665 reg = <0x08f94000 0x1000>, <0x110 0x4>;
666 reg-names = "reg-glue", "syscfg-reg";
667 st,syscfg = <&syscfg_core>;
668 resets = <&powerdown STIH407_USB3_POWERDOWN>,
669 <&softreset STIH407_MIPHY2_SOFTRESET>;
670 reset-names = "powerdown", "softreset";
671 #address-cells = <1>;
672 #size-cells = <1>;
673 pinctrl-names = "default";
674 pinctrl-0 = <&pinctrl_usb3>;
675 ranges;
676
677 status = "disabled";
678
679 dwc3: dwc3@9900000 {
680 compatible = "snps,dwc3";
681 reg = <0x09900000 0x100000>;
682 interrupts = <GIC_SPI 155 IRQ_TYPE_NONE>;
683 dr_mode = "host";
684 phy-names = "usb2-phy", "usb3-phy";
685 phys = <&usb2_picophy0>,
686 <&phy_port2 PHY_TYPE_USB3>;
Patrice Chotard84132992017-01-27 15:45:11 +0100687 snps,dis_u3_susphy_quirk;
Peter Griffinfd555992015-04-30 15:30:00 +0200688 };
689 };
Lee Jonescd9f59c2015-07-07 17:06:00 +0200690
691 /* COMMS PWM Module */
692 pwm0: pwm@9810000 {
693 compatible = "st,sti-pwm";
Lee Jonescd9f59c2015-07-07 17:06:00 +0200694 #pwm-cells = <2>;
695 reg = <0x9810000 0x68>;
Lee Jones65086c22016-08-16 11:34:00 +0200696 interrupts = <GIC_SPI 128 IRQ_TYPE_NONE>;
Lee Jonescd9f59c2015-07-07 17:06:00 +0200697 pinctrl-names = "default";
698 pinctrl-0 = <&pinctrl_pwm0_chan0_default>;
699 clock-names = "pwm";
700 clocks = <&clk_sysin>;
701 st,pwm-num-chan = <1>;
Maxime Coquelin8aa5f092015-09-23 02:47:44 +0200702
703 status = "disabled";
Lee Jonescd9f59c2015-07-07 17:06:00 +0200704 };
705
706 /* SBC PWM Module */
707 pwm1: pwm@9510000 {
708 compatible = "st,sti-pwm";
Lee Jonescd9f59c2015-07-07 17:06:00 +0200709 #pwm-cells = <2>;
710 reg = <0x9510000 0x68>;
Patrice Chotardc58736c2017-01-27 17:34:03 +0100711 interrupts = <GIC_SPI 131 IRQ_TYPE_NONE>;
Lee Jonescd9f59c2015-07-07 17:06:00 +0200712 pinctrl-names = "default";
713 pinctrl-0 = <&pinctrl_pwm1_chan0_default
714 &pinctrl_pwm1_chan1_default
715 &pinctrl_pwm1_chan2_default
716 &pinctrl_pwm1_chan3_default>;
717 clock-names = "pwm";
718 clocks = <&clk_sysin>;
719 st,pwm-num-chan = <4>;
Maxime Coquelin8aa5f092015-09-23 02:47:44 +0200720
721 status = "disabled";
Lee Jonescd9f59c2015-07-07 17:06:00 +0200722 };
Lee Jonescae010a2015-09-17 15:45:00 +0200723
Rob Herring8dccafa2017-10-13 12:54:51 -0500724 rng10: rng@8a89000 {
Lee Jonescae010a2015-09-17 15:45:00 +0200725 compatible = "st,rng";
726 reg = <0x08a89000 0x1000>;
727 clocks = <&clk_sysin>;
728 status = "okay";
729 };
730
Rob Herring8dccafa2017-10-13 12:54:51 -0500731 rng11: rng@8a8a000 {
Lee Jonescae010a2015-09-17 15:45:00 +0200732 compatible = "st,rng";
733 reg = <0x08a8a000 0x1000>;
734 clocks = <&clk_sysin>;
735 status = "okay";
736 };
Maxime Coquelinab511d72015-10-01 17:44:41 +0200737
738 ethernet0: dwmac@9630000 {
739 device_type = "network";
740 status = "disabled";
741 compatible = "st,stih407-dwmac", "snps,dwmac", "snps,dwmac-3.710";
742 reg = <0x9630000 0x8000>, <0x80 0x4>;
743 reg-names = "stmmaceth", "sti-ethconf";
744
745 st,syscon = <&syscfg_sbc_reg 0x80>;
746 st,gmac_en;
747 resets = <&softreset STIH407_ETH1_SOFTRESET>;
748 reset-names = "stmmaceth";
749
750 interrupts = <GIC_SPI 98 IRQ_TYPE_NONE>,
751 <GIC_SPI 99 IRQ_TYPE_NONE>;
752 interrupt-names = "macirq", "eth_wake_irq";
753
754 /* DMA Bus Mode */
755 snps,pbl = <8>;
756
757 pinctrl-names = "default";
758 pinctrl-0 = <&pinctrl_rgmii1>;
759
760 clock-names = "stmmaceth", "sti-ethclk";
761 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>,
762 <&clk_s_c0_flexgen CLK_ETH_PHY>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100763 };
Lee Jonesba25d8b2015-09-17 14:45:56 +0100764
Rob Herring8dccafa2017-10-13 12:54:51 -0500765 rng10: rng@8a89000 {
Lee Jonesba25d8b2015-09-17 14:45:56 +0100766 compatible = "st,rng";
767 reg = <0x08a89000 0x1000>;
768 clocks = <&clk_sysin>;
769 status = "okay";
770 };
771
Rob Herring8dccafa2017-10-13 12:54:51 -0500772 rng11: rng@8a8a000 {
Lee Jonesba25d8b2015-09-17 14:45:56 +0100773 compatible = "st,rng";
774 reg = <0x08a8a000 0x1000>;
775 clocks = <&clk_sysin>;
776 status = "okay";
777 };
Lee Jones6e966f12016-04-21 17:07:00 +0200778
779 mailbox0: mailbox@8f00000 {
780 compatible = "st,stih407-mailbox";
781 reg = <0x8f00000 0x1000>;
782 interrupts = <GIC_SPI 1 IRQ_TYPE_NONE>;
783 #mbox-cells = <2>;
784 mbox-name = "a9";
785 status = "okay";
786 };
787
788 mailbox1: mailbox@8f01000 {
789 compatible = "st,stih407-mailbox";
790 reg = <0x8f01000 0x1000>;
791 #mbox-cells = <2>;
792 mbox-name = "st231_gp_1";
793 status = "okay";
794 };
795
796 mailbox2: mailbox@8f02000 {
797 compatible = "st,stih407-mailbox";
798 reg = <0x8f02000 0x1000>;
799 #mbox-cells = <2>;
800 mbox-name = "st231_gp_0";
801 status = "okay";
802 };
803
804 mailbox3: mailbox@8f03000 {
805 compatible = "st,stih407-mailbox";
806 reg = <0x8f03000 0x1000>;
807 #mbox-cells = <2>;
808 mbox-name = "st231_audio_video";
809 status = "okay";
810 };
Lee Jones3ff0a012016-04-21 17:07:00 +0200811
Patrice Chotard5eccdff2018-01-19 09:09:05 +0100812 st231_gp0: st231-gp0@0 {
Lee Jones3ff0a012016-04-21 17:07:00 +0200813 compatible = "st,st231-rproc";
Patrice Chotard5eccdff2018-01-19 09:09:05 +0100814 reg = <0 0>;
Lee Jonesfe135c62016-04-21 17:07:00 +0200815 memory-region = <&gp0_reserved>;
Lee Jones3ff0a012016-04-21 17:07:00 +0200816 resets = <&softreset STIH407_ST231_GP0_SOFTRESET>;
817 reset-names = "sw_reset";
818 clocks = <&clk_s_c0_flexgen CLK_ST231_GP_0>;
819 clock-frequency = <600000000>;
820 st,syscfg = <&syscfg_core 0x22c>;
Patrice Chotardeea6b612017-01-12 14:17:35 +0100821 #mbox-cells = <1>;
822 mbox-names = "vq0_rx", "vq0_tx", "vq1_rx", "vq1_tx";
823 mboxes = <&mailbox0 0 2>, <&mailbox2 0 1>, <&mailbox0 0 3>, <&mailbox2 0 0>;
Lee Jones3ff0a012016-04-21 17:07:00 +0200824 };
825
Patrice Chotard5eccdff2018-01-19 09:09:05 +0100826 st231_delta: st231-delta@0 {
Lee Jones3ff0a012016-04-21 17:07:00 +0200827 compatible = "st,st231-rproc";
Patrice Chotard5eccdff2018-01-19 09:09:05 +0100828 reg = <0 0>;
Patrice Chotard2196cb82017-01-12 14:15:21 +0100829 memory-region = <&delta_reserved>;
Lee Jones3ff0a012016-04-21 17:07:00 +0200830 resets = <&softreset STIH407_ST231_DMU_SOFTRESET>;
831 reset-names = "sw_reset";
832 clocks = <&clk_s_c0_flexgen CLK_ST231_DMU>;
833 clock-frequency = <600000000>;
834 st,syscfg = <&syscfg_core 0x224>;
Patrice Chotard2016ead2017-01-12 14:19:39 +0100835 #mbox-cells = <1>;
836 mbox-names = "vq0_rx", "vq0_tx", "vq1_rx", "vq1_tx";
837 mboxes = <&mailbox0 0 0>, <&mailbox3 0 1>, <&mailbox0 0 1>, <&mailbox3 0 0>;
Lee Jones3ff0a012016-04-21 17:07:00 +0200838 };
Peter Griffin399ce402016-09-05 15:16:00 +0200839
840 /* fdma audio */
841 fdma0: dma-controller@8e20000 {
842 compatible = "st,stih407-fdma-mpe31-11", "st,slim-rproc";
843 reg = <0x8e20000 0x8000>,
844 <0x8e30000 0x3000>,
845 <0x8e37000 0x1000>,
846 <0x8e38000 0x8000>;
847 reg-names = "slimcore", "dmem", "peripherals", "imem";
848 clocks = <&clk_s_c0_flexgen CLK_FDMA>,
849 <&clk_s_c0_flexgen CLK_EXT2F_A9>,
850 <&clk_s_c0_flexgen CLK_EXT2F_A9>,
851 <&clk_s_c0_flexgen CLK_EXT2F_A9>;
852 interrupts = <GIC_SPI 5 IRQ_TYPE_NONE>;
853 dma-channels = <16>;
854 #dma-cells = <3>;
855 };
856
857 /* fdma app */
858 fdma1: dma-controller@8e40000 {
859 compatible = "st,stih407-fdma-mpe31-12", "st,slim-rproc";
860 reg = <0x8e40000 0x8000>,
861 <0x8e50000 0x3000>,
862 <0x8e57000 0x1000>,
863 <0x8e58000 0x8000>;
864 reg-names = "slimcore", "dmem", "peripherals", "imem";
865 clocks = <&clk_s_c0_flexgen CLK_FDMA>,
866 <&clk_s_c0_flexgen CLK_TX_ICN_DMU>,
867 <&clk_s_c0_flexgen CLK_TX_ICN_DMU>,
868 <&clk_s_c0_flexgen CLK_EXT2F_A9>;
869
870 interrupts = <GIC_SPI 7 IRQ_TYPE_NONE>;
871 dma-channels = <16>;
872 #dma-cells = <3>;
Patrice Chotardb32a2292016-12-08 17:04:44 +0100873
874 status = "disabled";
Peter Griffin399ce402016-09-05 15:16:00 +0200875 };
876
877 /* fdma free running */
878 fdma2: dma-controller@8e60000 {
879 compatible = "st,stih407-fdma-mpe31-13", "st,slim-rproc";
880 reg = <0x8e60000 0x8000>,
881 <0x8e70000 0x3000>,
882 <0x8e77000 0x1000>,
883 <0x8e78000 0x8000>;
884 reg-names = "slimcore", "dmem", "peripherals", "imem";
885 interrupts = <GIC_SPI 9 IRQ_TYPE_NONE>;
886 dma-channels = <16>;
887 #dma-cells = <3>;
888 clocks = <&clk_s_c0_flexgen CLK_FDMA>,
889 <&clk_s_c0_flexgen CLK_EXT2F_A9>,
890 <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>,
891 <&clk_s_c0_flexgen CLK_EXT2F_A9>;
Patrice Chotardb32a2292016-12-08 17:04:44 +0100892
893 status = "disabled";
Peter Griffin399ce402016-09-05 15:16:00 +0200894 };
Peter Griffin9cf807f2016-09-05 15:16:00 +0200895
896 sti_sasg_codec: sti-sasg-codec {
897 compatible = "st,stih407-sas-codec";
898 #sound-dai-cells = <1>;
899 status = "disabled";
900 st,syscfg = <&syscfg_core>;
901 };
Peter Griffin271739b2016-09-05 15:16:00 +0200902
903 sti_uni_player0: sti-uni-player@8d80000 {
Arnaud Pouliquena6f1c532016-10-04 18:11:00 +0200904 compatible = "st,stih407-uni-player-hdmi";
Peter Griffin271739b2016-09-05 15:16:00 +0200905 #sound-dai-cells = <0>;
906 st,syscfg = <&syscfg_core>;
907 clocks = <&clk_s_d0_flexgen CLK_PCM_0>;
908 assigned-clocks = <&clk_s_d0_quadfs 0>, <&clk_s_d0_flexgen CLK_PCM_0>;
909 assigned-clock-parents = <0>, <&clk_s_d0_quadfs 0>;
910 assigned-clock-rates = <50000000>;
911 reg = <0x8d80000 0x158>;
912 interrupts = <GIC_SPI 84 IRQ_TYPE_NONE>;
913 dmas = <&fdma0 2 0 1>;
Peter Griffin271739b2016-09-05 15:16:00 +0200914 dma-names = "tx";
Peter Griffin271739b2016-09-05 15:16:00 +0200915
916 status = "disabled";
917 };
918
919 sti_uni_player1: sti-uni-player@8d81000 {
Arnaud Pouliquena6f1c532016-10-04 18:11:00 +0200920 compatible = "st,stih407-uni-player-pcm-out";
Peter Griffin271739b2016-09-05 15:16:00 +0200921 #sound-dai-cells = <0>;
922 st,syscfg = <&syscfg_core>;
923 clocks = <&clk_s_d0_flexgen CLK_PCM_1>;
924 assigned-clocks = <&clk_s_d0_quadfs 1>, <&clk_s_d0_flexgen CLK_PCM_1>;
925 assigned-clock-parents = <0>, <&clk_s_d0_quadfs 1>;
926 assigned-clock-rates = <50000000>;
927 reg = <0x8d81000 0x158>;
928 interrupts = <GIC_SPI 85 IRQ_TYPE_NONE>;
929 dmas = <&fdma0 3 0 1>;
Peter Griffin271739b2016-09-05 15:16:00 +0200930 dma-names = "tx";
Peter Griffin271739b2016-09-05 15:16:00 +0200931
932 status = "disabled";
933 };
934
935 sti_uni_player2: sti-uni-player@8d82000 {
Arnaud Pouliquena6f1c532016-10-04 18:11:00 +0200936 compatible = "st,stih407-uni-player-dac";
Peter Griffin271739b2016-09-05 15:16:00 +0200937 #sound-dai-cells = <0>;
938 st,syscfg = <&syscfg_core>;
939 clocks = <&clk_s_d0_flexgen CLK_PCM_2>;
940 assigned-clocks = <&clk_s_d0_quadfs 2>, <&clk_s_d0_flexgen CLK_PCM_2>;
941 assigned-clock-parents = <0>, <&clk_s_d0_quadfs 2>;
942 assigned-clock-rates = <50000000>;
943 reg = <0x8d82000 0x158>;
944 interrupts = <GIC_SPI 86 IRQ_TYPE_NONE>;
945 dmas = <&fdma0 4 0 1>;
Peter Griffin271739b2016-09-05 15:16:00 +0200946 dma-names = "tx";
Peter Griffin271739b2016-09-05 15:16:00 +0200947
948 status = "disabled";
949 };
950
951 sti_uni_player3: sti-uni-player@8d85000 {
Arnaud Pouliquena6f1c532016-10-04 18:11:00 +0200952 compatible = "st,stih407-uni-player-spdif";
Peter Griffin271739b2016-09-05 15:16:00 +0200953 #sound-dai-cells = <0>;
954 st,syscfg = <&syscfg_core>;
955 clocks = <&clk_s_d0_flexgen CLK_SPDIFF>;
956 assigned-clocks = <&clk_s_d0_quadfs 3>, <&clk_s_d0_flexgen CLK_SPDIFF>;
957 assigned-clock-parents = <0>, <&clk_s_d0_quadfs 3>;
958 assigned-clock-rates = <50000000>;
959 reg = <0x8d85000 0x158>;
960 interrupts = <GIC_SPI 89 IRQ_TYPE_NONE>;
961 dmas = <&fdma0 7 0 1>;
962 dma-names = "tx";
Peter Griffin271739b2016-09-05 15:16:00 +0200963
964 status = "disabled";
965 };
Peter Griffin67f1ff42016-09-05 15:16:00 +0200966
967 sti_uni_reader0: sti-uni-reader@8d83000 {
Arnaud Pouliquena6f1c532016-10-04 18:11:00 +0200968 compatible = "st,stih407-uni-reader-pcm_in";
Peter Griffin67f1ff42016-09-05 15:16:00 +0200969 #sound-dai-cells = <0>;
970 st,syscfg = <&syscfg_core>;
971 reg = <0x8d83000 0x158>;
972 interrupts = <GIC_SPI 87 IRQ_TYPE_NONE>;
973 dmas = <&fdma0 5 0 1>;
974 dma-names = "rx";
Peter Griffin67f1ff42016-09-05 15:16:00 +0200975
976 status = "disabled";
977 };
978
979 sti_uni_reader1: sti-uni-reader@8d84000 {
Arnaud Pouliquena6f1c532016-10-04 18:11:00 +0200980 compatible = "st,stih407-uni-reader-hdmi";
Peter Griffin67f1ff42016-09-05 15:16:00 +0200981 #sound-dai-cells = <0>;
982 st,syscfg = <&syscfg_core>;
983 reg = <0x8d84000 0x158>;
984 interrupts = <GIC_SPI 88 IRQ_TYPE_NONE>;
985 dmas = <&fdma0 6 0 1>;
986 dma-names = "rx";
Peter Griffin67f1ff42016-09-05 15:16:00 +0200987
988 status = "disabled";
989 };
Hugues Frucheta1f32ff2017-02-02 12:59:45 -0200990
Patrice Chotard5eccdff2018-01-19 09:09:05 +0100991 delta0@0 {
Hugues Frucheta1f32ff2017-02-02 12:59:45 -0200992 compatible = "st,st-delta";
Patrice Chotard5eccdff2018-01-19 09:09:05 +0100993 reg = <0 0>;
Hugues Frucheta1f32ff2017-02-02 12:59:45 -0200994 clock-names = "delta",
995 "delta-st231",
996 "delta-flash-promip";
997 clocks = <&clk_s_c0_flexgen CLK_VID_DMU>,
998 <&clk_s_c0_flexgen CLK_ST231_DMU>,
999 <&clk_s_c0_flexgen CLK_FLASH_PROMIP>;
1000 };
Maxime Coquelinf563a572014-02-27 13:27:27 +01001001 };
1002};