blob: 9e29a4499938519f8ea89f77f50ecbdc972d5e45 [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>;
Patrice Chotard5d16b9e2018-02-13 12:53:43 +0100181
182 sti_sasg_codec: sti-sasg-codec {
183 compatible = "st,stih407-sas-codec";
184 #sound-dai-cells = <1>;
185 status = "disabled";
186 st,syscfg = <&syscfg_core>;
187 };
Maxime Coquelinf563a572014-02-27 13:27:27 +0100188 };
189
190 syscfg_lpm: lpm-syscfg@94b5100 {
191 compatible = "st,stih407-lpm-syscfg", "syscon";
192 reg = <0x94b5100 0x1000>;
193 };
194
Patrice Chotard07c5e5c2018-01-18 17:48:01 +0100195 irq-syscfg@0 {
Lee Jones107dea02015-05-12 14:51:00 +0200196 compatible = "st,stih407-irq-syscfg";
Patrice Chotard07c5e5c2018-01-18 17:48:01 +0100197 reg = <0 0>;
Lee Jones107dea02015-05-12 14:51:00 +0200198 st,syscfg = <&syscfg_core>;
199 st,irq-device = <ST_IRQ_SYSCFG_PMU_0>,
200 <ST_IRQ_SYSCFG_PMU_1>;
201 st,fiq-device = <ST_IRQ_SYSCFG_DISABLED>,
202 <ST_IRQ_SYSCFG_DISABLED>;
203 };
204
Maxime Coquelin759742d2015-09-23 03:04:24 +0200205 /* Display */
206 vtg_main: sti-vtg-main@8d02800 {
207 compatible = "st,vtg";
208 reg = <0x8d02800 0x200>;
Patrice Chotardd96940d2018-04-20 17:41:19 +0200209 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
Maxime Coquelin759742d2015-09-23 03:04:24 +0200210 };
211
212 vtg_aux: sti-vtg-aux@8d00200 {
213 compatible = "st,vtg";
214 reg = <0x8d00200 0x100>;
Patrice Chotardd96940d2018-04-20 17:41:19 +0200215 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
Maxime Coquelin759742d2015-09-23 03:04:24 +0200216 };
217
Maxime Coquelinf563a572014-02-27 13:27:27 +0100218 serial@9830000 {
219 compatible = "st,asc";
220 reg = <0x9830000 0x2c>;
Patrice Chotardd96940d2018-04-20 17:41:19 +0200221 interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
Gabriel FERNANDEZ1befe7e2014-08-25 16:44:00 +0200222 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
Lee Jonescf38e1a2017-02-03 10:23:18 +0000223 /* Pinctrl moved out to a per-board configuration */
Maxime Coquelinf563a572014-02-27 13:27:27 +0100224
225 status = "disabled";
226 };
227
228 serial@9831000 {
229 compatible = "st,asc";
230 reg = <0x9831000 0x2c>;
Patrice Chotardd96940d2018-04-20 17:41:19 +0200231 interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100232 pinctrl-names = "default";
233 pinctrl-0 = <&pinctrl_serial1>;
Gabriel FERNANDEZ1befe7e2014-08-25 16:44:00 +0200234 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100235
236 status = "disabled";
237 };
238
239 serial@9832000 {
240 compatible = "st,asc";
241 reg = <0x9832000 0x2c>;
Patrice Chotardd96940d2018-04-20 17:41:19 +0200242 interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100243 pinctrl-names = "default";
244 pinctrl-0 = <&pinctrl_serial2>;
Gabriel FERNANDEZ1befe7e2014-08-25 16:44:00 +0200245 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100246
247 status = "disabled";
248 };
249
250 /* SBC_ASC0 - UART10 */
251 sbc_serial0: serial@9530000 {
252 compatible = "st,asc";
253 reg = <0x9530000 0x2c>;
Patrice Chotardd96940d2018-04-20 17:41:19 +0200254 interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100255 pinctrl-names = "default";
256 pinctrl-0 = <&pinctrl_sbc_serial0>;
257 clocks = <&clk_sysin>;
258
259 status = "disabled";
260 };
261
262 serial@9531000 {
263 compatible = "st,asc";
264 reg = <0x9531000 0x2c>;
Patrice Chotardd96940d2018-04-20 17:41:19 +0200265 interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100266 pinctrl-names = "default";
267 pinctrl-0 = <&pinctrl_sbc_serial1>;
268 clocks = <&clk_sysin>;
269
270 status = "disabled";
271 };
272
273 i2c@9840000 {
274 compatible = "st,comms-ssc4-i2c";
275 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
276 reg = <0x9840000 0x110>;
Gabriel FERNANDEZ1befe7e2014-08-25 16:44:00 +0200277 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100278 clock-names = "ssc";
279 clock-frequency = <400000>;
280 pinctrl-names = "default";
281 pinctrl-0 = <&pinctrl_i2c0_default>;
Loic Pallardy86b45222016-11-16 13:57:00 +0100282 #address-cells = <1>;
283 #size-cells = <0>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100284
285 status = "disabled";
286 };
287
288 i2c@9841000 {
289 compatible = "st,comms-ssc4-i2c";
290 reg = <0x9841000 0x110>;
291 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
Gabriel FERNANDEZ1befe7e2014-08-25 16:44:00 +0200292 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100293 clock-names = "ssc";
294 clock-frequency = <400000>;
295 pinctrl-names = "default";
296 pinctrl-0 = <&pinctrl_i2c1_default>;
Loic Pallardy86b45222016-11-16 13:57:00 +0100297 #address-cells = <1>;
298 #size-cells = <0>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100299
300 status = "disabled";
301 };
302
303 i2c@9842000 {
304 compatible = "st,comms-ssc4-i2c";
305 reg = <0x9842000 0x110>;
306 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
Gabriel FERNANDEZ1befe7e2014-08-25 16:44:00 +0200307 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100308 clock-names = "ssc";
309 clock-frequency = <400000>;
310 pinctrl-names = "default";
311 pinctrl-0 = <&pinctrl_i2c2_default>;
Loic Pallardy86b45222016-11-16 13:57:00 +0100312 #address-cells = <1>;
313 #size-cells = <0>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100314
315 status = "disabled";
316 };
317
318 i2c@9843000 {
319 compatible = "st,comms-ssc4-i2c";
320 reg = <0x9843000 0x110>;
321 interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
Gabriel FERNANDEZ1befe7e2014-08-25 16:44:00 +0200322 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100323 clock-names = "ssc";
324 clock-frequency = <400000>;
325 pinctrl-names = "default";
326 pinctrl-0 = <&pinctrl_i2c3_default>;
Loic Pallardy86b45222016-11-16 13:57:00 +0100327 #address-cells = <1>;
328 #size-cells = <0>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100329
330 status = "disabled";
331 };
332
333 i2c@9844000 {
334 compatible = "st,comms-ssc4-i2c";
335 reg = <0x9844000 0x110>;
336 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
Gabriel FERNANDEZ1befe7e2014-08-25 16:44:00 +0200337 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100338 clock-names = "ssc";
339 clock-frequency = <400000>;
340 pinctrl-names = "default";
341 pinctrl-0 = <&pinctrl_i2c4_default>;
Loic Pallardy86b45222016-11-16 13:57:00 +0100342 #address-cells = <1>;
343 #size-cells = <0>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100344
345 status = "disabled";
346 };
347
348 i2c@9845000 {
349 compatible = "st,comms-ssc4-i2c";
350 reg = <0x9845000 0x110>;
351 interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
Gabriel FERNANDEZ1befe7e2014-08-25 16:44:00 +0200352 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100353 clock-names = "ssc";
354 clock-frequency = <400000>;
355 pinctrl-names = "default";
356 pinctrl-0 = <&pinctrl_i2c5_default>;
Loic Pallardy86b45222016-11-16 13:57:00 +0100357 #address-cells = <1>;
358 #size-cells = <0>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100359
360 status = "disabled";
361 };
362
363
364 /* SSCs on SBC */
365 i2c@9540000 {
366 compatible = "st,comms-ssc4-i2c";
367 reg = <0x9540000 0x110>;
368 interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
369 clocks = <&clk_sysin>;
370 clock-names = "ssc";
371 clock-frequency = <400000>;
372 pinctrl-names = "default";
373 pinctrl-0 = <&pinctrl_i2c10_default>;
Loic Pallardy86b45222016-11-16 13:57:00 +0100374 #address-cells = <1>;
375 #size-cells = <0>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100376
377 status = "disabled";
378 };
379
380 i2c@9541000 {
381 compatible = "st,comms-ssc4-i2c";
382 reg = <0x9541000 0x110>;
383 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
384 clocks = <&clk_sysin>;
385 clock-names = "ssc";
386 clock-frequency = <400000>;
387 pinctrl-names = "default";
388 pinctrl-0 = <&pinctrl_i2c11_default>;
Loic Pallardy86b45222016-11-16 13:57:00 +0100389 #address-cells = <1>;
390 #size-cells = <0>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100391
392 status = "disabled";
393 };
Peter Griffin8facce12015-01-07 16:04:00 +0100394
Patrice Chotard1d919582018-01-19 11:18:19 +0100395 usb2_picophy0: phy1@0 {
Peter Griffin8facce12015-01-07 16:04:00 +0100396 compatible = "st,stih407-usb2-phy";
Patrice Chotard1d919582018-01-19 11:18:19 +0100397 reg = <0 0>;
Peter Griffin8facce12015-01-07 16:04:00 +0100398 #phy-cells = <0>;
399 st,syscfg = <&syscfg_core 0x100 0xf4>;
400 resets = <&softreset STIH407_PICOPHY_SOFTRESET>,
Peter Griffin743ac9d2015-04-30 15:30:00 +0200401 <&picophyreset STIH407_PICOPHY2_RESET>;
Peter Griffin8facce12015-01-07 16:04:00 +0100402 reset-names = "global", "port";
403 };
Gabriel FERNANDEZb26373c2015-01-14 10:54:00 +0100404
Patrice Chotardb2d81762018-01-18 17:34:59 +0100405 miphy28lp_phy: miphy28lp@0 {
Gabriel FERNANDEZb26373c2015-01-14 10:54:00 +0100406 compatible = "st,miphy28lp-phy";
407 st,syscfg = <&syscfg_core>;
408 #address-cells = <1>;
409 #size-cells = <1>;
410 ranges;
Patrice Chotardb2d81762018-01-18 17:34:59 +0100411 reg = <0 0>;
Gabriel FERNANDEZb26373c2015-01-14 10:54:00 +0100412
413 phy_port0: port@9b22000 {
414 reg = <0x9b22000 0xff>,
415 <0x9b09000 0xff>,
416 <0x9b04000 0xff>;
417 reg-names = "sata-up",
418 "pcie-up",
419 "pipew";
420
421 st,syscfg = <0x114 0x818 0xe0 0xec>;
422 #phy-cells = <1>;
423
424 reset-names = "miphy-sw-rst";
425 resets = <&softreset STIH407_MIPHY0_SOFTRESET>;
426 };
427
428 phy_port1: port@9b2a000 {
429 reg = <0x9b2a000 0xff>,
430 <0x9b19000 0xff>,
431 <0x9b14000 0xff>;
432 reg-names = "sata-up",
433 "pcie-up",
434 "pipew";
435
436 st,syscfg = <0x118 0x81c 0xe4 0xf0>;
437
438 #phy-cells = <1>;
439
440 reset-names = "miphy-sw-rst";
441 resets = <&softreset STIH407_MIPHY1_SOFTRESET>;
442 };
443
444 phy_port2: port@8f95000 {
445 reg = <0x8f95000 0xff>,
446 <0x8f90000 0xff>;
447 reg-names = "pipew",
448 "usb3-up";
449
450 st,syscfg = <0x11c 0x820>;
451
452 #phy-cells = <1>;
453
454 reset-names = "miphy-sw-rst";
455 resets = <&softreset STIH407_MIPHY2_SOFTRESET>;
456 };
457 };
Lee Jones2c53c272015-01-22 11:07:00 +0100458
459 spi@9840000 {
460 compatible = "st,comms-ssc4-spi";
461 reg = <0x9840000 0x110>;
462 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
463 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
464 clock-names = "ssc";
465 pinctrl-0 = <&pinctrl_spi0_default>;
466 pinctrl-names = "default";
467 #address-cells = <1>;
468 #size-cells = <0>;
469
470 status = "disabled";
471 };
472
473 spi@9841000 {
474 compatible = "st,comms-ssc4-spi";
475 reg = <0x9841000 0x110>;
476 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
477 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
478 clock-names = "ssc";
Peter Griffin55fd9b12015-09-28 14:37:00 +0200479 pinctrl-names = "default";
480 pinctrl-0 = <&pinctrl_spi1_default>;
Patrice Chotardcba86382017-02-20 14:00:30 +0100481 #address-cells = <1>;
482 #size-cells = <0>;
Lee Jones2c53c272015-01-22 11:07:00 +0100483
484 status = "disabled";
485 };
486
487 spi@9842000 {
488 compatible = "st,comms-ssc4-spi";
489 reg = <0x9842000 0x110>;
490 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
491 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
492 clock-names = "ssc";
Peter Griffin55fd9b12015-09-28 14:37:00 +0200493 pinctrl-names = "default";
494 pinctrl-0 = <&pinctrl_spi2_default>;
Patrice Chotardcba86382017-02-20 14:00:30 +0100495 #address-cells = <1>;
496 #size-cells = <0>;
Lee Jones2c53c272015-01-22 11:07:00 +0100497
498 status = "disabled";
499 };
500
501 spi@9843000 {
502 compatible = "st,comms-ssc4-spi";
503 reg = <0x9843000 0x110>;
504 interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
505 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
506 clock-names = "ssc";
Peter Griffin55fd9b12015-09-28 14:37:00 +0200507 pinctrl-names = "default";
508 pinctrl-0 = <&pinctrl_spi3_default>;
Patrice Chotardcba86382017-02-20 14:00:30 +0100509 #address-cells = <1>;
510 #size-cells = <0>;
Lee Jones2c53c272015-01-22 11:07:00 +0100511
512 status = "disabled";
513 };
514
515 spi@9844000 {
516 compatible = "st,comms-ssc4-spi";
517 reg = <0x9844000 0x110>;
518 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
519 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
520 clock-names = "ssc";
Peter Griffin55fd9b12015-09-28 14:37:00 +0200521 pinctrl-names = "default";
522 pinctrl-0 = <&pinctrl_spi4_default>;
Patrice Chotardcba86382017-02-20 14:00:30 +0100523 #address-cells = <1>;
524 #size-cells = <0>;
Lee Jones2c53c272015-01-22 11:07:00 +0100525
526 status = "disabled";
527 };
Lee Jonesb0bb2ba2015-01-22 11:07:00 +0100528
529 /* SBC SSC */
530 spi@9540000 {
531 compatible = "st,comms-ssc4-spi";
532 reg = <0x9540000 0x110>;
533 interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
534 clocks = <&clk_sysin>;
535 clock-names = "ssc";
Peter Griffin55fd9b12015-09-28 14:37:00 +0200536 pinctrl-names = "default";
537 pinctrl-0 = <&pinctrl_spi10_default>;
Patrice Chotardcba86382017-02-20 14:00:30 +0100538 #address-cells = <1>;
539 #size-cells = <0>;
Lee Jonesb0bb2ba2015-01-22 11:07:00 +0100540
541 status = "disabled";
542 };
543
544 spi@9541000 {
545 compatible = "st,comms-ssc4-spi";
546 reg = <0x9541000 0x110>;
547 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
548 clocks = <&clk_sysin>;
549 clock-names = "ssc";
Peter Griffin55fd9b12015-09-28 14:37:00 +0200550 pinctrl-names = "default";
551 pinctrl-0 = <&pinctrl_spi11_default>;
Patrice Chotardcba86382017-02-20 14:00:30 +0100552 #address-cells = <1>;
553 #size-cells = <0>;
Lee Jonesb0bb2ba2015-01-22 11:07:00 +0100554
555 status = "disabled";
556 };
557
558 spi@9542000 {
559 compatible = "st,comms-ssc4-spi";
560 reg = <0x9542000 0x110>;
561 interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
562 clocks = <&clk_sysin>;
563 clock-names = "ssc";
Peter Griffin55fd9b12015-09-28 14:37:00 +0200564 pinctrl-names = "default";
565 pinctrl-0 = <&pinctrl_spi12_default>;
Patrice Chotardcba86382017-02-20 14:00:30 +0100566 #address-cells = <1>;
567 #size-cells = <0>;
Lee Jonesb0bb2ba2015-01-22 11:07:00 +0100568
569 status = "disabled";
570 };
Peter Griffin9286ac42015-04-10 11:40:00 +0200571
Rob Herring8dccafa2017-10-13 12:54:51 -0500572 mmc0: sdhci@9060000 {
Peter Griffin9286ac42015-04-10 11:40:00 +0200573 compatible = "st,sdhci-stih407", "st,sdhci";
574 status = "disabled";
575 reg = <0x09060000 0x7ff>, <0x9061008 0x20>;
576 reg-names = "mmc", "top-mmc-delay";
Patrice Chotardd96940d2018-04-20 17:41:19 +0200577 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
Peter Griffin9286ac42015-04-10 11:40:00 +0200578 interrupt-names = "mmcirq";
579 pinctrl-names = "default";
580 pinctrl-0 = <&pinctrl_mmc0>;
Lee Jones78567f12016-09-08 11:11:00 +0200581 clock-names = "mmc", "icn";
582 clocks = <&clk_s_c0_flexgen CLK_MMC_0>,
583 <&clk_s_c0_flexgen CLK_RX_ICN_HVA>;
Peter Griffin9286ac42015-04-10 11:40:00 +0200584 bus-width = <8>;
Peter Griffin9286ac42015-04-10 11:40:00 +0200585 };
586
Rob Herring8dccafa2017-10-13 12:54:51 -0500587 mmc1: sdhci@9080000 {
Peter Griffin9286ac42015-04-10 11:40:00 +0200588 compatible = "st,sdhci-stih407", "st,sdhci";
589 status = "disabled";
590 reg = <0x09080000 0x7ff>;
591 reg-names = "mmc";
Patrice Chotardd96940d2018-04-20 17:41:19 +0200592 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
Peter Griffin9286ac42015-04-10 11:40:00 +0200593 interrupt-names = "mmcirq";
594 pinctrl-names = "default";
595 pinctrl-0 = <&pinctrl_sd1>;
Lee Jones78567f12016-09-08 11:11:00 +0200596 clock-names = "mmc", "icn";
597 clocks = <&clk_s_c0_flexgen CLK_MMC_1>,
598 <&clk_s_c0_flexgen CLK_RX_ICN_HVA>;
Peter Griffin9286ac42015-04-10 11:40:00 +0200599 resets = <&softreset STIH407_MMC1_SOFTRESET>;
600 bus-width = <4>;
601 };
Lee Jones358764f2015-04-09 16:47:00 +0200602
603 /* Watchdog and Real-Time Clock */
604 lpc@8787000 {
605 compatible = "st,stih407-lpc";
606 reg = <0x8787000 0x1000>;
607 interrupts = <GIC_SPI 129 IRQ_TYPE_EDGE_RISING>;
608 clocks = <&clk_s_d3_flexgen CLK_LPC_0>;
609 timeout-sec = <120>;
610 st,syscfg = <&syscfg_core>;
611 st,lpc-mode = <ST_LPC_MODE_WDT>;
612 };
613
614 lpc@8788000 {
615 compatible = "st,stih407-lpc";
616 reg = <0x8788000 0x1000>;
617 interrupts = <GIC_SPI 130 IRQ_TYPE_EDGE_RISING>;
618 clocks = <&clk_s_d3_flexgen CLK_LPC_1>;
Lee Jones3d90bc02016-04-21 17:07:00 +0200619 st,lpc-mode = <ST_LPC_MODE_CLKSRC>;
Lee Jones358764f2015-04-09 16:47:00 +0200620 };
Peter Griffinb3d37f92015-03-31 09:35:00 +0200621
622 sata0: sata@9b20000 {
623 compatible = "st,ahci";
624 reg = <0x9b20000 0x1000>;
625
Patrice Chotardd96940d2018-04-20 17:41:19 +0200626 interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
Peter Griffinb3d37f92015-03-31 09:35:00 +0200627 interrupt-names = "hostc";
628
629 phys = <&phy_port0 PHY_TYPE_SATA>;
630 phy-names = "ahci_phy";
631
632 resets = <&powerdown STIH407_SATA0_POWERDOWN>,
633 <&softreset STIH407_SATA0_SOFTRESET>,
634 <&softreset STIH407_SATA0_PWR_SOFTRESET>;
635 reset-names = "pwr-dwn", "sw-rst", "pwr-rst";
636
637 clock-names = "ahci_clk";
638 clocks = <&clk_s_c0_flexgen CLK_ICN_REG>;
639
Patrice Chotardecb8af42016-08-15 14:17:00 +0200640 ports-implemented = <0x1>;
641
Peter Griffinb3d37f92015-03-31 09:35:00 +0200642 status = "disabled";
643 };
644
645 sata1: sata@9b28000 {
646 compatible = "st,ahci";
647 reg = <0x9b28000 0x1000>;
648
Patrice Chotardd96940d2018-04-20 17:41:19 +0200649 interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>;
Peter Griffinb3d37f92015-03-31 09:35:00 +0200650 interrupt-names = "hostc";
651
652 phys = <&phy_port1 PHY_TYPE_SATA>;
653 phy-names = "ahci_phy";
654
655 resets = <&powerdown STIH407_SATA1_POWERDOWN>,
656 <&softreset STIH407_SATA1_SOFTRESET>,
657 <&softreset STIH407_SATA1_PWR_SOFTRESET>;
658 reset-names = "pwr-dwn",
659 "sw-rst",
660 "pwr-rst";
661
662 clock-names = "ahci_clk";
663 clocks = <&clk_s_c0_flexgen CLK_ICN_REG>;
664
Patrice Chotardecb8af42016-08-15 14:17:00 +0200665 ports-implemented = <0x1>;
666
Peter Griffinb3d37f92015-03-31 09:35:00 +0200667 status = "disabled";
668 };
Peter Griffinfd555992015-04-30 15:30:00 +0200669
Lee Jonescd9f59c2015-07-07 17:06:00 +0200670
Peter Griffinfd555992015-04-30 15:30:00 +0200671 st_dwc3: dwc3@8f94000 {
672 compatible = "st,stih407-dwc3";
673 reg = <0x08f94000 0x1000>, <0x110 0x4>;
674 reg-names = "reg-glue", "syscfg-reg";
675 st,syscfg = <&syscfg_core>;
676 resets = <&powerdown STIH407_USB3_POWERDOWN>,
677 <&softreset STIH407_MIPHY2_SOFTRESET>;
678 reset-names = "powerdown", "softreset";
679 #address-cells = <1>;
680 #size-cells = <1>;
681 pinctrl-names = "default";
682 pinctrl-0 = <&pinctrl_usb3>;
683 ranges;
684
685 status = "disabled";
686
687 dwc3: dwc3@9900000 {
688 compatible = "snps,dwc3";
689 reg = <0x09900000 0x100000>;
Patrice Chotardd96940d2018-04-20 17:41:19 +0200690 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
Peter Griffinfd555992015-04-30 15:30:00 +0200691 dr_mode = "host";
692 phy-names = "usb2-phy", "usb3-phy";
693 phys = <&usb2_picophy0>,
694 <&phy_port2 PHY_TYPE_USB3>;
Patrice Chotard84132992017-01-27 15:45:11 +0100695 snps,dis_u3_susphy_quirk;
Peter Griffinfd555992015-04-30 15:30:00 +0200696 };
697 };
Lee Jonescd9f59c2015-07-07 17:06:00 +0200698
699 /* COMMS PWM Module */
700 pwm0: pwm@9810000 {
701 compatible = "st,sti-pwm";
Lee Jonescd9f59c2015-07-07 17:06:00 +0200702 #pwm-cells = <2>;
703 reg = <0x9810000 0x68>;
Patrice Chotardd96940d2018-04-20 17:41:19 +0200704 interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>;
Lee Jonescd9f59c2015-07-07 17:06:00 +0200705 pinctrl-names = "default";
706 pinctrl-0 = <&pinctrl_pwm0_chan0_default>;
707 clock-names = "pwm";
708 clocks = <&clk_sysin>;
709 st,pwm-num-chan = <1>;
Maxime Coquelin8aa5f092015-09-23 02:47:44 +0200710
711 status = "disabled";
Lee Jonescd9f59c2015-07-07 17:06:00 +0200712 };
713
714 /* SBC PWM Module */
715 pwm1: pwm@9510000 {
716 compatible = "st,sti-pwm";
Lee Jonescd9f59c2015-07-07 17:06:00 +0200717 #pwm-cells = <2>;
718 reg = <0x9510000 0x68>;
Patrice Chotardd96940d2018-04-20 17:41:19 +0200719 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
Lee Jonescd9f59c2015-07-07 17:06:00 +0200720 pinctrl-names = "default";
721 pinctrl-0 = <&pinctrl_pwm1_chan0_default
722 &pinctrl_pwm1_chan1_default
723 &pinctrl_pwm1_chan2_default
724 &pinctrl_pwm1_chan3_default>;
725 clock-names = "pwm";
726 clocks = <&clk_sysin>;
727 st,pwm-num-chan = <4>;
Maxime Coquelin8aa5f092015-09-23 02:47:44 +0200728
729 status = "disabled";
Lee Jonescd9f59c2015-07-07 17:06:00 +0200730 };
Lee Jonescae010a2015-09-17 15:45:00 +0200731
Rob Herring8dccafa2017-10-13 12:54:51 -0500732 rng10: rng@8a89000 {
Lee Jonescae010a2015-09-17 15:45:00 +0200733 compatible = "st,rng";
734 reg = <0x08a89000 0x1000>;
735 clocks = <&clk_sysin>;
736 status = "okay";
737 };
738
Rob Herring8dccafa2017-10-13 12:54:51 -0500739 rng11: rng@8a8a000 {
Lee Jonescae010a2015-09-17 15:45:00 +0200740 compatible = "st,rng";
741 reg = <0x08a8a000 0x1000>;
742 clocks = <&clk_sysin>;
743 status = "okay";
744 };
Maxime Coquelinab511d72015-10-01 17:44:41 +0200745
746 ethernet0: dwmac@9630000 {
747 device_type = "network";
748 status = "disabled";
749 compatible = "st,stih407-dwmac", "snps,dwmac", "snps,dwmac-3.710";
750 reg = <0x9630000 0x8000>, <0x80 0x4>;
751 reg-names = "stmmaceth", "sti-ethconf";
752
753 st,syscon = <&syscfg_sbc_reg 0x80>;
754 st,gmac_en;
755 resets = <&softreset STIH407_ETH1_SOFTRESET>;
756 reset-names = "stmmaceth";
757
Patrice Chotardd96940d2018-04-20 17:41:19 +0200758 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
759 <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
Maxime Coquelinab511d72015-10-01 17:44:41 +0200760 interrupt-names = "macirq", "eth_wake_irq";
761
762 /* DMA Bus Mode */
763 snps,pbl = <8>;
764
765 pinctrl-names = "default";
766 pinctrl-0 = <&pinctrl_rgmii1>;
767
768 clock-names = "stmmaceth", "sti-ethclk";
769 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>,
770 <&clk_s_c0_flexgen CLK_ETH_PHY>;
Maxime Coquelinf563a572014-02-27 13:27:27 +0100771 };
Lee Jonesba25d8b2015-09-17 14:45:56 +0100772
Rob Herring8dccafa2017-10-13 12:54:51 -0500773 rng10: rng@8a89000 {
Lee Jonesba25d8b2015-09-17 14:45:56 +0100774 compatible = "st,rng";
775 reg = <0x08a89000 0x1000>;
776 clocks = <&clk_sysin>;
777 status = "okay";
778 };
779
Rob Herring8dccafa2017-10-13 12:54:51 -0500780 rng11: rng@8a8a000 {
Lee Jonesba25d8b2015-09-17 14:45:56 +0100781 compatible = "st,rng";
782 reg = <0x08a8a000 0x1000>;
783 clocks = <&clk_sysin>;
784 status = "okay";
785 };
Lee Jones6e966f12016-04-21 17:07:00 +0200786
787 mailbox0: mailbox@8f00000 {
788 compatible = "st,stih407-mailbox";
789 reg = <0x8f00000 0x1000>;
Patrice Chotardd96940d2018-04-20 17:41:19 +0200790 interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
Lee Jones6e966f12016-04-21 17:07:00 +0200791 #mbox-cells = <2>;
792 mbox-name = "a9";
793 status = "okay";
794 };
795
796 mailbox1: mailbox@8f01000 {
797 compatible = "st,stih407-mailbox";
798 reg = <0x8f01000 0x1000>;
799 #mbox-cells = <2>;
800 mbox-name = "st231_gp_1";
801 status = "okay";
802 };
803
804 mailbox2: mailbox@8f02000 {
805 compatible = "st,stih407-mailbox";
806 reg = <0x8f02000 0x1000>;
807 #mbox-cells = <2>;
808 mbox-name = "st231_gp_0";
809 status = "okay";
810 };
811
812 mailbox3: mailbox@8f03000 {
813 compatible = "st,stih407-mailbox";
814 reg = <0x8f03000 0x1000>;
815 #mbox-cells = <2>;
816 mbox-name = "st231_audio_video";
817 status = "okay";
818 };
Lee Jones3ff0a012016-04-21 17:07:00 +0200819
Patrice Chotard5eccdff2018-01-19 09:09:05 +0100820 st231_gp0: st231-gp0@0 {
Lee Jones3ff0a012016-04-21 17:07:00 +0200821 compatible = "st,st231-rproc";
Patrice Chotard5eccdff2018-01-19 09:09:05 +0100822 reg = <0 0>;
Lee Jonesfe135c62016-04-21 17:07:00 +0200823 memory-region = <&gp0_reserved>;
Lee Jones3ff0a012016-04-21 17:07:00 +0200824 resets = <&softreset STIH407_ST231_GP0_SOFTRESET>;
825 reset-names = "sw_reset";
826 clocks = <&clk_s_c0_flexgen CLK_ST231_GP_0>;
827 clock-frequency = <600000000>;
828 st,syscfg = <&syscfg_core 0x22c>;
Patrice Chotardeea6b612017-01-12 14:17:35 +0100829 #mbox-cells = <1>;
830 mbox-names = "vq0_rx", "vq0_tx", "vq1_rx", "vq1_tx";
831 mboxes = <&mailbox0 0 2>, <&mailbox2 0 1>, <&mailbox0 0 3>, <&mailbox2 0 0>;
Lee Jones3ff0a012016-04-21 17:07:00 +0200832 };
833
Patrice Chotard5eccdff2018-01-19 09:09:05 +0100834 st231_delta: st231-delta@0 {
Lee Jones3ff0a012016-04-21 17:07:00 +0200835 compatible = "st,st231-rproc";
Patrice Chotard5eccdff2018-01-19 09:09:05 +0100836 reg = <0 0>;
Patrice Chotard2196cb82017-01-12 14:15:21 +0100837 memory-region = <&delta_reserved>;
Lee Jones3ff0a012016-04-21 17:07:00 +0200838 resets = <&softreset STIH407_ST231_DMU_SOFTRESET>;
839 reset-names = "sw_reset";
840 clocks = <&clk_s_c0_flexgen CLK_ST231_DMU>;
841 clock-frequency = <600000000>;
842 st,syscfg = <&syscfg_core 0x224>;
Patrice Chotard2016ead2017-01-12 14:19:39 +0100843 #mbox-cells = <1>;
844 mbox-names = "vq0_rx", "vq0_tx", "vq1_rx", "vq1_tx";
845 mboxes = <&mailbox0 0 0>, <&mailbox3 0 1>, <&mailbox0 0 1>, <&mailbox3 0 0>;
Lee Jones3ff0a012016-04-21 17:07:00 +0200846 };
Peter Griffin399ce402016-09-05 15:16:00 +0200847
848 /* fdma audio */
849 fdma0: dma-controller@8e20000 {
850 compatible = "st,stih407-fdma-mpe31-11", "st,slim-rproc";
851 reg = <0x8e20000 0x8000>,
852 <0x8e30000 0x3000>,
853 <0x8e37000 0x1000>,
854 <0x8e38000 0x8000>;
855 reg-names = "slimcore", "dmem", "peripherals", "imem";
856 clocks = <&clk_s_c0_flexgen CLK_FDMA>,
857 <&clk_s_c0_flexgen CLK_EXT2F_A9>,
858 <&clk_s_c0_flexgen CLK_EXT2F_A9>,
859 <&clk_s_c0_flexgen CLK_EXT2F_A9>;
Patrice Chotardd96940d2018-04-20 17:41:19 +0200860 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
Peter Griffin399ce402016-09-05 15:16:00 +0200861 dma-channels = <16>;
862 #dma-cells = <3>;
863 };
864
865 /* fdma app */
866 fdma1: dma-controller@8e40000 {
867 compatible = "st,stih407-fdma-mpe31-12", "st,slim-rproc";
868 reg = <0x8e40000 0x8000>,
869 <0x8e50000 0x3000>,
870 <0x8e57000 0x1000>,
871 <0x8e58000 0x8000>;
872 reg-names = "slimcore", "dmem", "peripherals", "imem";
873 clocks = <&clk_s_c0_flexgen CLK_FDMA>,
874 <&clk_s_c0_flexgen CLK_TX_ICN_DMU>,
875 <&clk_s_c0_flexgen CLK_TX_ICN_DMU>,
876 <&clk_s_c0_flexgen CLK_EXT2F_A9>;
877
Patrice Chotardd96940d2018-04-20 17:41:19 +0200878 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
Peter Griffin399ce402016-09-05 15:16:00 +0200879 dma-channels = <16>;
880 #dma-cells = <3>;
Patrice Chotardb32a2292016-12-08 17:04:44 +0100881
882 status = "disabled";
Peter Griffin399ce402016-09-05 15:16:00 +0200883 };
884
885 /* fdma free running */
886 fdma2: dma-controller@8e60000 {
887 compatible = "st,stih407-fdma-mpe31-13", "st,slim-rproc";
888 reg = <0x8e60000 0x8000>,
889 <0x8e70000 0x3000>,
890 <0x8e77000 0x1000>,
891 <0x8e78000 0x8000>;
892 reg-names = "slimcore", "dmem", "peripherals", "imem";
Patrice Chotardd96940d2018-04-20 17:41:19 +0200893 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
Peter Griffin399ce402016-09-05 15:16:00 +0200894 dma-channels = <16>;
895 #dma-cells = <3>;
896 clocks = <&clk_s_c0_flexgen CLK_FDMA>,
897 <&clk_s_c0_flexgen CLK_EXT2F_A9>,
898 <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>,
899 <&clk_s_c0_flexgen CLK_EXT2F_A9>;
Patrice Chotardb32a2292016-12-08 17:04:44 +0100900
901 status = "disabled";
Peter Griffin399ce402016-09-05 15:16:00 +0200902 };
Peter Griffin9cf807f2016-09-05 15:16:00 +0200903
Peter Griffin271739b2016-09-05 15:16:00 +0200904 sti_uni_player0: sti-uni-player@8d80000 {
Arnaud Pouliquena6f1c532016-10-04 18:11:00 +0200905 compatible = "st,stih407-uni-player-hdmi";
Peter Griffin271739b2016-09-05 15:16:00 +0200906 #sound-dai-cells = <0>;
907 st,syscfg = <&syscfg_core>;
908 clocks = <&clk_s_d0_flexgen CLK_PCM_0>;
909 assigned-clocks = <&clk_s_d0_quadfs 0>, <&clk_s_d0_flexgen CLK_PCM_0>;
910 assigned-clock-parents = <0>, <&clk_s_d0_quadfs 0>;
911 assigned-clock-rates = <50000000>;
912 reg = <0x8d80000 0x158>;
Patrice Chotardd96940d2018-04-20 17:41:19 +0200913 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
Peter Griffin271739b2016-09-05 15:16:00 +0200914 dmas = <&fdma0 2 0 1>;
Peter Griffin271739b2016-09-05 15:16:00 +0200915 dma-names = "tx";
Peter Griffin271739b2016-09-05 15:16:00 +0200916
917 status = "disabled";
918 };
919
920 sti_uni_player1: sti-uni-player@8d81000 {
Arnaud Pouliquena6f1c532016-10-04 18:11:00 +0200921 compatible = "st,stih407-uni-player-pcm-out";
Peter Griffin271739b2016-09-05 15:16:00 +0200922 #sound-dai-cells = <0>;
923 st,syscfg = <&syscfg_core>;
924 clocks = <&clk_s_d0_flexgen CLK_PCM_1>;
925 assigned-clocks = <&clk_s_d0_quadfs 1>, <&clk_s_d0_flexgen CLK_PCM_1>;
926 assigned-clock-parents = <0>, <&clk_s_d0_quadfs 1>;
927 assigned-clock-rates = <50000000>;
928 reg = <0x8d81000 0x158>;
Patrice Chotardd96940d2018-04-20 17:41:19 +0200929 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
Peter Griffin271739b2016-09-05 15:16:00 +0200930 dmas = <&fdma0 3 0 1>;
Peter Griffin271739b2016-09-05 15:16:00 +0200931 dma-names = "tx";
Peter Griffin271739b2016-09-05 15:16:00 +0200932
933 status = "disabled";
934 };
935
936 sti_uni_player2: sti-uni-player@8d82000 {
Arnaud Pouliquena6f1c532016-10-04 18:11:00 +0200937 compatible = "st,stih407-uni-player-dac";
Peter Griffin271739b2016-09-05 15:16:00 +0200938 #sound-dai-cells = <0>;
939 st,syscfg = <&syscfg_core>;
940 clocks = <&clk_s_d0_flexgen CLK_PCM_2>;
941 assigned-clocks = <&clk_s_d0_quadfs 2>, <&clk_s_d0_flexgen CLK_PCM_2>;
942 assigned-clock-parents = <0>, <&clk_s_d0_quadfs 2>;
943 assigned-clock-rates = <50000000>;
944 reg = <0x8d82000 0x158>;
Patrice Chotardd96940d2018-04-20 17:41:19 +0200945 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
Peter Griffin271739b2016-09-05 15:16:00 +0200946 dmas = <&fdma0 4 0 1>;
Peter Griffin271739b2016-09-05 15:16:00 +0200947 dma-names = "tx";
Peter Griffin271739b2016-09-05 15:16:00 +0200948
949 status = "disabled";
950 };
951
952 sti_uni_player3: sti-uni-player@8d85000 {
Arnaud Pouliquena6f1c532016-10-04 18:11:00 +0200953 compatible = "st,stih407-uni-player-spdif";
Peter Griffin271739b2016-09-05 15:16:00 +0200954 #sound-dai-cells = <0>;
955 st,syscfg = <&syscfg_core>;
956 clocks = <&clk_s_d0_flexgen CLK_SPDIFF>;
957 assigned-clocks = <&clk_s_d0_quadfs 3>, <&clk_s_d0_flexgen CLK_SPDIFF>;
958 assigned-clock-parents = <0>, <&clk_s_d0_quadfs 3>;
959 assigned-clock-rates = <50000000>;
960 reg = <0x8d85000 0x158>;
Patrice Chotardd96940d2018-04-20 17:41:19 +0200961 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
Peter Griffin271739b2016-09-05 15:16:00 +0200962 dmas = <&fdma0 7 0 1>;
963 dma-names = "tx";
Peter Griffin271739b2016-09-05 15:16:00 +0200964
965 status = "disabled";
966 };
Peter Griffin67f1ff42016-09-05 15:16:00 +0200967
968 sti_uni_reader0: sti-uni-reader@8d83000 {
Arnaud Pouliquena6f1c532016-10-04 18:11:00 +0200969 compatible = "st,stih407-uni-reader-pcm_in";
Peter Griffin67f1ff42016-09-05 15:16:00 +0200970 #sound-dai-cells = <0>;
971 st,syscfg = <&syscfg_core>;
972 reg = <0x8d83000 0x158>;
Patrice Chotardd96940d2018-04-20 17:41:19 +0200973 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
Peter Griffin67f1ff42016-09-05 15:16:00 +0200974 dmas = <&fdma0 5 0 1>;
975 dma-names = "rx";
Peter Griffin67f1ff42016-09-05 15:16:00 +0200976
977 status = "disabled";
978 };
979
980 sti_uni_reader1: sti-uni-reader@8d84000 {
Arnaud Pouliquena6f1c532016-10-04 18:11:00 +0200981 compatible = "st,stih407-uni-reader-hdmi";
Peter Griffin67f1ff42016-09-05 15:16:00 +0200982 #sound-dai-cells = <0>;
983 st,syscfg = <&syscfg_core>;
984 reg = <0x8d84000 0x158>;
Patrice Chotardd96940d2018-04-20 17:41:19 +0200985 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
Peter Griffin67f1ff42016-09-05 15:16:00 +0200986 dmas = <&fdma0 6 0 1>;
987 dma-names = "rx";
Peter Griffin67f1ff42016-09-05 15:16:00 +0200988
989 status = "disabled";
990 };
Hugues Frucheta1f32ff2017-02-02 12:59:45 -0200991
Patrice Chotard5eccdff2018-01-19 09:09:05 +0100992 delta0@0 {
Hugues Frucheta1f32ff2017-02-02 12:59:45 -0200993 compatible = "st,st-delta";
Patrice Chotard5eccdff2018-01-19 09:09:05 +0100994 reg = <0 0>;
Hugues Frucheta1f32ff2017-02-02 12:59:45 -0200995 clock-names = "delta",
996 "delta-st231",
997 "delta-flash-promip";
998 clocks = <&clk_s_c0_flexgen CLK_VID_DMU>,
999 <&clk_s_c0_flexgen CLK_ST231_DMU>,
1000 <&clk_s_c0_flexgen CLK_FLASH_PROMIP>;
1001 };
Maxime Coquelinf563a572014-02-27 13:27:27 +01001002 };
1003};