1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
6 #include <dt-bindings/bus/ti-sysc.h>
7 #include <dt-bindings/clock/omap4.h>
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
10 #include <dt-bindings/pinctrl/omap.h>
11 #include <dt-bindings/clock/omap4.h>
14 compatible = "ti,omap4430", "ti,omap4";
15 interrupt-parent = <&wakeupgen>;
43 compatible = "arm,cortex-a9";
45 next-level-cache = <&L2>;
48 clocks = <&dpll_mpu_ck>;
51 clock-latency = <300000>; /* From omap-cpufreq driver */
54 compatible = "arm,cortex-a9";
56 next-level-cache = <&L2>;
62 * Note that 4430 needs cross trigger interface (CTI) supported
63 * before we can configure the interrupts. This means sampling
64 * events are not supported for pmu. Note that 4460 does not use
65 * CTI, see also 4460.dtsi.
68 compatible = "arm,cortex-a9-pmu";
69 ti,hwmods = "debugss";
72 gic: interrupt-controller@48241000 {
73 compatible = "arm,cortex-a9-gic";
75 #interrupt-cells = <3>;
76 reg = <0x48241000 0x1000>,
78 interrupt-parent = <&gic>;
81 L2: cache-controller@48242000 {
82 compatible = "arm,pl310-cache";
83 reg = <0x48242000 0x1000>;
88 local-timer@48240600 {
89 compatible = "arm,cortex-a9-twd-timer";
90 clocks = <&mpu_periphclk>;
91 reg = <0x48240600 0x20>;
92 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_RAW(3) | IRQ_TYPE_EDGE_RISING)>;
93 interrupt-parent = <&gic>;
96 wakeupgen: interrupt-controller@48281000 {
97 compatible = "ti,omap4-wugen-mpu";
99 #interrupt-cells = <3>;
100 reg = <0x48281000 0x1000>;
101 interrupt-parent = <&gic>;
105 * The soc node represents the soc top level view. It is used for IPs
106 * that are not memory mapped in the MPU view or for the MPU itself.
109 compatible = "ti,omap-infra";
111 compatible = "ti,omap4-mpu";
118 * XXX: Use a flat representation of the OMAP4 interconnect.
119 * The real OMAP interconnect network is quite complex.
120 * Since it will not bring real advantage to represent that in DT for
121 * the moment, just use a fake OCP bus entry to represent the whole bus
125 compatible = "ti,omap4-l3-noc", "simple-bus";
126 #address-cells = <1>;
129 ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3";
130 reg = <0x44000000 0x1000>,
133 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
134 <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
136 l4_wkup: interconnect@4a300000 {
139 l4_cfg: interconnect@4a000000 {
142 l4_per: interconnect@48000000 {
145 l4_abe: interconnect@40100000 {
148 ocmcram: sram@40304000 {
149 compatible = "mmio-sram";
150 reg = <0x40304000 0xa000>; /* 40k */
153 target-module@50000000 {
154 compatible = "ti,sysc-omap2", "ti,sysc";
155 reg = <0x50000000 4>,
158 reg-names = "rev", "sysc", "syss";
159 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
164 clocks = <&l3_2_clkctrl OMAP4_GPMC_CLKCTRL 0>;
166 #address-cells = <1>;
168 ranges = <0x50000000 0x50000000 0x00001000>, /* regs */
169 <0x00000000 0x00000000 0x40000000>; /* data */
171 gpmc: gpmc@50000000 {
172 compatible = "ti,omap4430-gpmc";
173 reg = <0x50000000 0x1000>;
174 #address-cells = <2>;
176 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
180 gpmc,num-waitpins = <4>;
181 clocks = <&l3_div_ck>;
183 interrupt-controller;
184 #interrupt-cells = <2>;
190 target-module@52000000 {
191 compatible = "ti,sysc-omap4", "ti,sysc";
193 reg = <0x52000000 0x4>,
195 reg-names = "rev", "sysc";
196 ti,sysc-mask = <SYSC_OMAP4_SOFTRESET>;
197 ti,sysc-midle = <SYSC_IDLE_FORCE>,
200 <SYSC_IDLE_SMART_WKUP>;
201 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
204 <SYSC_IDLE_SMART_WKUP>;
205 ti,sysc-delay-us = <2>;
206 power-domains = <&prm_cam>;
207 clocks = <&iss_clkctrl OMAP4_ISS_CLKCTRL 0>;
209 #address-cells = <1>;
211 ranges = <0 0x52000000 0x1000000>;
213 /* No child device binding, driver in staging */
216 target-module@55082000 {
217 compatible = "ti,sysc-omap2", "ti,sysc";
218 reg = <0x55082000 0x4>,
221 reg-names = "rev", "sysc", "syss";
222 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
225 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
226 SYSC_OMAP2_SOFTRESET |
227 SYSC_OMAP2_AUTOIDLE)>;
228 clocks = <&ducati_clkctrl OMAP4_IPU_CLKCTRL 0>;
230 resets = <&prm_core 2>;
231 reset-names = "rstctrl";
232 ranges = <0x0 0x55082000 0x100>;
234 #address-cells = <1>;
237 compatible = "ti,omap4-iommu";
239 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
241 ti,iommu-bus-err-back;
245 target-module@4012c000 {
246 compatible = "ti,sysc-omap4", "ti,sysc";
247 reg = <0x4012c000 0x4>,
249 reg-names = "rev", "sysc";
250 ti,sysc-mask = <SYSC_OMAP4_SOFTRESET>;
251 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
254 <SYSC_IDLE_SMART_WKUP>;
255 clocks = <&abe_clkctrl OMAP4_SLIMBUS1_CLKCTRL 0>;
257 #address-cells = <1>;
259 ranges = <0x00000000 0x4012c000 0x1000>, /* MPU */
260 <0x4902c000 0x4902c000 0x1000>; /* L3 */
262 /* No child device binding or driver in mainline */
266 compatible = "ti,omap4-dmm";
267 reg = <0x4e000000 0x800>;
268 interrupts = <0 113 0x4>;
272 emif1: emif@4c000000 {
273 compatible = "ti,emif-4d";
274 reg = <0x4c000000 0x100>;
275 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
279 hw-caps-read-idle-ctrl;
280 hw-caps-ll-interface;
284 emif2: emif@4d000000 {
285 compatible = "ti,emif-4d";
286 reg = <0x4d000000 0x100>;
287 interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
291 hw-caps-read-idle-ctrl;
292 hw-caps-ll-interface;
297 compatible = "ti,omap4-dsp";
298 ti,bootreg = <&scm_conf 0x304 0>;
300 resets = <&prm_tesla 0>;
301 clocks = <&tesla_clkctrl OMAP4_DSP_CLKCTRL 0>;
302 firmware-name = "omap4-dsp-fw.xe64T";
303 mboxes = <&mailbox &mbox_dsp>;
308 compatible = "ti,omap4-ipu";
309 reg = <0x55020000 0x10000>;
312 resets = <&prm_core 0>, <&prm_core 1>;
313 clocks = <&ducati_clkctrl OMAP4_IPU_CLKCTRL 0>;
314 firmware-name = "omap4-ipu-fw.xem3";
315 mboxes = <&mailbox &mbox_ipu>;
319 aes1_target: target-module@4b501000 {
320 compatible = "ti,sysc-omap2", "ti,sysc";
321 reg = <0x4b501080 0x4>,
324 reg-names = "rev", "sysc", "syss";
325 ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
326 SYSC_OMAP2_AUTOIDLE)>;
327 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
330 <SYSC_IDLE_SMART_WKUP>;
332 /* Domains (P, C): l4per_pwrdm, l4_secure_clkdm */
333 clocks = <&l4_secure_clkctrl OMAP4_AES1_CLKCTRL 0>;
335 #address-cells = <1>;
337 ranges = <0x0 0x4b501000 0x1000>;
340 compatible = "ti,omap4-aes";
342 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
343 dmas = <&sdma 111>, <&sdma 110>;
344 dma-names = "tx", "rx";
348 aes2_target: target-module@4b701000 {
349 compatible = "ti,sysc-omap2", "ti,sysc";
350 reg = <0x4b701080 0x4>,
353 reg-names = "rev", "sysc", "syss";
354 ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
355 SYSC_OMAP2_AUTOIDLE)>;
356 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
359 <SYSC_IDLE_SMART_WKUP>;
361 /* Domains (P, C): l4per_pwrdm, l4_secure_clkdm */
362 clocks = <&l4_secure_clkctrl OMAP4_AES2_CLKCTRL 0>;
364 #address-cells = <1>;
366 ranges = <0x0 0x4b701000 0x1000>;
369 compatible = "ti,omap4-aes";
371 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
372 dmas = <&sdma 114>, <&sdma 113>;
373 dma-names = "tx", "rx";
377 sham_target: target-module@4b100000 {
378 compatible = "ti,sysc-omap3-sham", "ti,sysc";
379 reg = <0x4b100100 0x4>,
382 reg-names = "rev", "sysc", "syss";
383 ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
384 SYSC_OMAP2_AUTOIDLE)>;
385 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
389 /* Domains (P, C): l4per_pwrdm, l4_secure_clkdm */
390 clocks = <&l4_secure_clkctrl OMAP4_SHA2MD5_CLKCTRL 0>;
392 #address-cells = <1>;
394 ranges = <0x0 0x4b100000 0x1000>;
397 compatible = "ti,omap4-sham";
399 interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
405 abb_mpu: regulator-abb-mpu {
406 compatible = "ti,abb-v2";
407 regulator-name = "abb_mpu";
408 #address-cells = <0>;
410 ti,tranxdone-status-mask = <0x80>;
411 clocks = <&sys_clkin_ck>;
412 ti,settling-time = <50>;
413 ti,clock-cycles = <16>;
418 abb_iva: regulator-abb-iva {
419 compatible = "ti,abb-v2";
420 regulator-name = "abb_iva";
421 #address-cells = <0>;
423 ti,tranxdone-status-mask = <0x80000000>;
424 clocks = <&sys_clkin_ck>;
425 ti,settling-time = <50>;
426 ti,clock-cycles = <16>;
431 sgx_module: target-module@56000000 {
432 compatible = "ti,sysc-omap4", "ti,sysc";
433 reg = <0x5600fe00 0x4>,
435 reg-names = "rev", "sysc";
436 ti,sysc-midle = <SYSC_IDLE_FORCE>,
439 <SYSC_IDLE_SMART_WKUP>;
440 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
443 <SYSC_IDLE_SMART_WKUP>;
444 power-domains = <&prm_gfx>;
445 clocks = <&l3_gfx_clkctrl OMAP4_GPU_CLKCTRL 0>;
447 #address-cells = <1>;
449 ranges = <0 0x56000000 0x2000000>;
452 * Closed source PowerVR driver, no child device
453 * binding or driver in mainline
458 * DSS is only using l3 mapping without l4 as noted in the TRM
459 * "10.1.3 DSS Register Manual" for omap4460.
461 target-module@58000000 {
462 compatible = "ti,sysc-omap2", "ti,sysc";
463 reg = <0x58000000 4>,
465 reg-names = "rev", "syss";
467 power-domains = <&prm_dss>;
468 clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 0>,
469 <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 9>,
470 <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 10>,
471 <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 11>;
472 clock-names = "fck", "hdmi_clk", "sys_clk", "tv_clk";
473 #address-cells = <1>;
475 ranges = <0 0x58000000 0x1000000>;
478 compatible = "ti,omap4-dss";
481 clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 8>;
483 #address-cells = <1>;
485 ranges = <0 0 0x1000000>;
488 compatible = "ti,sysc-omap2", "ti,sysc";
492 reg-names = "rev", "sysc", "syss";
493 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
496 ti,sysc-midle = <SYSC_IDLE_FORCE>,
499 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
500 SYSC_OMAP2_ENAWAKEUP |
501 SYSC_OMAP2_SOFTRESET |
502 SYSC_OMAP2_AUTOIDLE)>;
504 clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 8>,
505 <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 10>;
506 clock-names = "fck", "sys_clk";
507 #address-cells = <1>;
509 ranges = <0 0x1000 0x1000>;
512 compatible = "ti,omap4-dispc";
514 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
515 clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 8>;
521 compatible = "ti,sysc-omap2", "ti,sysc";
525 reg-names = "rev", "sysc", "syss";
526 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
529 ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
530 SYSC_OMAP2_AUTOIDLE)>;
532 clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 8>,
533 <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 10>;
534 clock-names = "fck", "sys_clk";
535 #address-cells = <1>;
537 ranges = <0 0x2000 0x1000>;
542 clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 8>, <&l3_div_ck>;
543 clock-names = "fck", "ick";
548 compatible = "ti,sysc-omap2", "ti,sysc";
551 clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 10>;
552 clock-names = "sys_clk";
553 #address-cells = <1>;
555 ranges = <0 0x3000 0x1000>;
558 compatible = "ti,omap4-venc";
561 clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 11>;
567 compatible = "ti,sysc-omap2", "ti,sysc";
571 reg-names = "rev", "sysc", "syss";
572 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
575 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
576 SYSC_OMAP2_ENAWAKEUP |
577 SYSC_OMAP2_SOFTRESET |
578 SYSC_OMAP2_AUTOIDLE)>;
580 #address-cells = <1>;
582 ranges = <0 0x4000 0x1000>;
585 compatible = "ti,omap4-dsi";
589 reg-names = "proto", "phy", "pll";
590 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
592 clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 8>,
593 <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 10>;
594 clock-names = "fck", "sys_clk";
596 #address-cells = <1>;
602 compatible = "ti,sysc-omap2", "ti,sysc";
606 reg-names = "rev", "sysc", "syss";
607 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
610 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
611 SYSC_OMAP2_ENAWAKEUP |
612 SYSC_OMAP2_SOFTRESET |
613 SYSC_OMAP2_AUTOIDLE)>;
615 #address-cells = <1>;
617 ranges = <0 0x5000 0x1000>;
620 compatible = "ti,omap4-dsi";
624 reg-names = "proto", "phy", "pll";
625 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
627 clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 8>,
628 <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 10>;
629 clock-names = "fck", "sys_clk";
631 #address-cells = <1>;
637 compatible = "ti,sysc-omap4", "ti,sysc";
640 reg-names = "rev", "sysc";
642 * Has SYSC_IDLE_SMART and SYSC_IDLE_SMART_WKUP
643 * but HDMI audio will fail with them.
645 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
647 ti,sysc-mask = <(SYSC_OMAP4_SOFTRESET)>;
648 clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 9>,
649 <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 8>;
650 clock-names = "fck", "dss_clk";
651 #address-cells = <1>;
653 ranges = <0 0x6000 0x2000>;
656 compatible = "ti,omap4-hdmi";
661 reg-names = "wp", "pll", "phy", "core";
662 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
664 clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 9>,
665 <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 10>;
666 clock-names = "fck", "sys_clk";
668 dma-names = "audio_tx";
674 iva_hd_target: target-module@5a000000 {
675 compatible = "ti,sysc-omap4", "ti,sysc";
676 reg = <0x5a05a400 0x4>,
678 reg-names = "rev", "sysc";
679 ti,sysc-midle = <SYSC_IDLE_FORCE>,
682 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
685 power-domains = <&prm_ivahd>;
686 resets = <&prm_ivahd 2>;
687 reset-names = "rstctrl";
688 clocks = <&ivahd_clkctrl OMAP4_IVA_CLKCTRL 0>;
690 #address-cells = <1>;
692 ranges = <0x5a000000 0x5a000000 0x1000000>,
693 <0x5b000000 0x5b000000 0x1000000>;
696 compatible = "ti,ivahd";
702 #include "omap4-l4.dtsi"
703 #include "omap4-l4-abe.dtsi"
704 #include "omap44xx-clocks.dtsi"
708 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
710 #power-domain-cells = <0>;
714 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
717 #power-domain-cells = <0>;
721 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
723 #power-domain-cells = <0>;
726 prm_always_on_core: prm@600 {
727 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
729 #power-domain-cells = <0>;
733 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
736 #power-domain-cells = <0>;
740 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
743 #power-domain-cells = <0>;
747 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
748 reg = <0x1000 0x100>;
749 #power-domain-cells = <0>;
753 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
754 reg = <0x1100 0x100>;
755 #power-domain-cells = <0>;
759 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
760 reg = <0x1200 0x100>;
761 #power-domain-cells = <0>;
764 prm_l3init: prm@1300 {
765 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
766 reg = <0x1300 0x100>;
767 #power-domain-cells = <0>;
770 prm_l4per: prm@1400 {
771 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
772 reg = <0x1400 0x100>;
773 #power-domain-cells = <0>;
776 prm_cefuse: prm@1600 {
777 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
778 reg = <0x1600 0x100>;
779 #power-domain-cells = <0>;
783 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
784 reg = <0x1700 0x100>;
785 #power-domain-cells = <0>;
789 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
790 reg = <0x1900 0x100>;
791 #power-domain-cells = <0>;
795 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
797 #power-domain-cells = <0>;
800 prm_device: prm@1b00 {
801 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
807 /* Preferred always-on timer for clockevent */
812 assigned-clocks = <&l4_wkup_clkctrl OMAP4_TIMER1_CLKCTRL 24>;
813 assigned-clock-parents = <&sys_32k_ck>;