1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
5 * Based on "omap4.dtsi"
8 #include <dt-bindings/bus/ti-sysc.h>
9 #include <dt-bindings/clock/dra7.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/pinctrl/dra.h>
12 #include <dt-bindings/clock/dra7.h>
14 #define MAX_SOURCES 400
20 compatible = "ti,dra7xx";
21 interrupt-parent = <&crossbar_mpu>;
40 ethernet0 = &cpsw_emac0;
41 ethernet1 = &cpsw_emac1;
48 compatible = "arm,armv7-timer";
49 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
50 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
51 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
52 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
53 interrupt-parent = <&gic>;
56 gic: interrupt-controller@48211000 {
57 compatible = "arm,cortex-a15-gic";
59 #interrupt-cells = <3>;
60 reg = <0x0 0x48211000 0x0 0x1000>,
61 <0x0 0x48212000 0x0 0x2000>,
62 <0x0 0x48214000 0x0 0x2000>,
63 <0x0 0x48216000 0x0 0x2000>;
64 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
65 interrupt-parent = <&gic>;
68 wakeupgen: interrupt-controller@48281000 {
69 compatible = "ti,omap5-wugen-mpu", "ti,omap4-wugen-mpu";
71 #interrupt-cells = <3>;
72 reg = <0x0 0x48281000 0x0 0x1000>;
73 interrupt-parent = <&gic>;
82 compatible = "arm,cortex-a15";
85 operating-points-v2 = <&cpu0_opp_table>;
87 clocks = <&dpll_mpu_ck>;
90 clock-latency = <300000>; /* From omap-cpufreq driver */
93 #cooling-cells = <2>; /* min followed by max */
95 vbb-supply = <&abb_mpu>;
99 cpu0_opp_table: opp-table {
100 compatible = "operating-points-v2-ti-cpu";
101 syscon = <&scm_wkup>;
104 opp-hz = /bits/ 64 <1000000000>;
105 opp-microvolt = <1060000 850000 1150000>,
106 <1060000 850000 1150000>;
107 opp-supported-hw = <0xFF 0x01>;
112 opp-hz = /bits/ 64 <1176000000>;
113 opp-microvolt = <1160000 885000 1160000>,
114 <1160000 885000 1160000>;
116 opp-supported-hw = <0xFF 0x02>;
119 opp_high@1500000000 {
120 opp-hz = /bits/ 64 <1500000000>;
121 opp-microvolt = <1210000 950000 1250000>,
122 <1210000 950000 1250000>;
123 opp-supported-hw = <0xFF 0x04>;
128 * The soc node represents the soc top level view. It is used for IPs
129 * that are not memory mapped in the MPU view or for the MPU itself.
132 compatible = "ti,omap-infra";
134 compatible = "ti,omap5-mpu";
140 * XXX: Use a flat representation of the SOC interconnect.
141 * The real OMAP interconnect network is quite complex.
142 * Since it will not bring real advantage to represent that in DT for
143 * the moment, just use a fake OCP bus entry to represent the whole bus
147 compatible = "ti,dra7-l3-noc", "simple-bus";
148 #address-cells = <1>;
150 ranges = <0x0 0x0 0x0 0xc0000000>;
151 ti,hwmods = "l3_main_1", "l3_main_2";
152 reg = <0x0 0x44000000 0x0 0x1000000>,
153 <0x0 0x45000000 0x0 0x1000>;
154 interrupts-extended = <&crossbar_mpu GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
155 <&wakeupgen GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
157 l4_cfg: interconnect@4a000000 {
159 l4_wkup: interconnect@4ae00000 {
161 l4_per1: interconnect@48000000 {
163 l4_per2: interconnect@48400000 {
165 l4_per3: interconnect@48800000 {
169 compatible = "simple-bus";
171 #address-cells = <1>;
172 ranges = <0x51000000 0x51000000 0x3000
173 0x0 0x20000000 0x10000000>;
175 * To enable PCI endpoint mode, disable the pcie1_rc
176 * node and enable pcie1_ep mode.
178 pcie1_rc: pcie@51000000 {
179 reg = <0x51000000 0x2000>, <0x51002000 0x14c>, <0x1000 0x2000>;
180 reg-names = "rc_dbics", "ti_conf", "config";
181 interrupts = <0 232 0x4>, <0 233 0x4>;
182 #address-cells = <3>;
185 ranges = <0x81000000 0 0 0x03000 0 0x00010000
186 0x82000000 0 0x20013000 0x13000 0 0xffed000>;
187 bus-range = <0x00 0xff>;
188 #interrupt-cells = <1>;
190 linux,pci-domain = <0>;
193 phy-names = "pcie-phy0";
194 ti,syscon-lane-sel = <&scm_conf_pcie 0x18>;
195 interrupt-map-mask = <0 0 0 7>;
196 interrupt-map = <0 0 0 1 &pcie1_intc 1>,
197 <0 0 0 2 &pcie1_intc 2>,
198 <0 0 0 3 &pcie1_intc 3>,
199 <0 0 0 4 &pcie1_intc 4>;
200 ti,syscon-unaligned-access = <&scm_conf1 0x14 1>;
202 pcie1_intc: interrupt-controller {
203 interrupt-controller;
204 #address-cells = <0>;
205 #interrupt-cells = <1>;
209 pcie1_ep: pcie_ep@51000000 {
210 reg = <0x51000000 0x28>, <0x51002000 0x14c>, <0x51001000 0x28>, <0x1000 0x10000000>;
211 reg-names = "ep_dbics", "ti_conf", "ep_dbics2", "addr_space";
212 interrupts = <0 232 0x4>;
214 num-ib-windows = <4>;
215 num-ob-windows = <16>;
218 phy-names = "pcie-phy0";
219 ti,syscon-unaligned-access = <&scm_conf1 0x14 1>;
220 ti,syscon-lane-sel = <&scm_conf_pcie 0x18>;
226 compatible = "simple-bus";
228 #address-cells = <1>;
229 ranges = <0x51800000 0x51800000 0x3000
230 0x0 0x30000000 0x10000000>;
232 pcie2_rc: pcie@51800000 {
233 reg = <0x51800000 0x2000>, <0x51802000 0x14c>, <0x1000 0x2000>;
234 reg-names = "rc_dbics", "ti_conf", "config";
235 interrupts = <0 355 0x4>, <0 356 0x4>;
236 #address-cells = <3>;
239 ranges = <0x81000000 0 0 0x03000 0 0x00010000
240 0x82000000 0 0x30013000 0x13000 0 0xffed000>;
241 bus-range = <0x00 0xff>;
242 #interrupt-cells = <1>;
244 linux,pci-domain = <1>;
247 phy-names = "pcie-phy0";
248 interrupt-map-mask = <0 0 0 7>;
249 interrupt-map = <0 0 0 1 &pcie2_intc 1>,
250 <0 0 0 2 &pcie2_intc 2>,
251 <0 0 0 3 &pcie2_intc 3>,
252 <0 0 0 4 &pcie2_intc 4>;
253 ti,syscon-unaligned-access = <&scm_conf1 0x14 2>;
254 pcie2_intc: interrupt-controller {
255 interrupt-controller;
256 #address-cells = <0>;
257 #interrupt-cells = <1>;
262 ocmcram1: ocmcram@40300000 {
263 compatible = "mmio-sram";
264 reg = <0x40300000 0x80000>;
265 ranges = <0x0 0x40300000 0x80000>;
266 #address-cells = <1>;
269 * This is a placeholder for an optional reserved
270 * region for use by secure software. The size
271 * of this region is not known until runtime so it
272 * is set as zero to either be updated to reserve
273 * space or left unchanged to leave all SRAM for use.
274 * On HS parts that that require the reserved region
275 * either the bootloader can update the size to
276 * the required amount or the node can be overridden
277 * from the board dts file for the secure platform.
280 compatible = "ti,secure-ram";
286 * NOTE: ocmcram2 and ocmcram3 are not available on all
287 * DRA7xx and AM57xx variants. Confirm availability in
288 * the data manual for the exact part number in use
289 * before enabling these nodes in the board dts file.
291 ocmcram2: ocmcram@40400000 {
293 compatible = "mmio-sram";
294 reg = <0x40400000 0x100000>;
295 ranges = <0x0 0x40400000 0x100000>;
296 #address-cells = <1>;
300 ocmcram3: ocmcram@40500000 {
302 compatible = "mmio-sram";
303 reg = <0x40500000 0x100000>;
304 ranges = <0x0 0x40500000 0x100000>;
305 #address-cells = <1>;
309 bandgap: bandgap@4a0021e0 {
310 reg = <0x4a0021e0 0xc
316 compatible = "ti,dra752-bandgap";
317 interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
318 #thermal-sensor-cells = <1>;
321 dsp1_system: dsp_system@40d00000 {
322 compatible = "syscon";
323 reg = <0x40d00000 0x100>;
326 dra7_iodelay_core: padconf@4844a000 {
327 compatible = "ti,dra7-iodelay";
328 reg = <0x4844a000 0x0d1c>;
329 #address-cells = <1>;
331 #pinctrl-cells = <2>;
334 edma: edma@43300000 {
335 compatible = "ti,edma3-tpcc";
337 reg = <0x43300000 0x100000>;
338 reg-names = "edma3_cc";
339 interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>,
340 <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>,
341 <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
342 interrupt-names = "edma3_ccint", "edma3_mperr",
347 ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 0>;
350 * memcpy is disabled, can be enabled with:
351 * ti,edma-memcpy-channels = <20 21>;
352 * for example. Note that these channels need to be
353 * masked in the xbar as well.
357 edma_tptc0: tptc@43400000 {
358 compatible = "ti,edma3-tptc";
360 reg = <0x43400000 0x100000>;
361 interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
362 interrupt-names = "edma3_tcerrint";
365 edma_tptc1: tptc@43500000 {
366 compatible = "ti,edma3-tptc";
368 reg = <0x43500000 0x100000>;
369 interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
370 interrupt-names = "edma3_tcerrint";
374 compatible = "ti,omap5-dmm";
375 reg = <0x4e000000 0x800>;
376 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
380 mmu0_dsp1: mmu@40d01000 {
381 compatible = "ti,dra7-dsp-iommu";
382 reg = <0x40d01000 0x100>;
383 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
384 ti,hwmods = "mmu0_dsp1";
386 ti,syscon-mmuconfig = <&dsp1_system 0x0>;
390 mmu1_dsp1: mmu@40d02000 {
391 compatible = "ti,dra7-dsp-iommu";
392 reg = <0x40d02000 0x100>;
393 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
394 ti,hwmods = "mmu1_dsp1";
396 ti,syscon-mmuconfig = <&dsp1_system 0x1>;
400 mmu_ipu1: mmu@58882000 {
401 compatible = "ti,dra7-iommu";
402 reg = <0x58882000 0x100>;
403 interrupts = <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>;
404 ti,hwmods = "mmu_ipu1";
406 ti,iommu-bus-err-back;
410 mmu_ipu2: mmu@55082000 {
411 compatible = "ti,dra7-iommu";
412 reg = <0x55082000 0x100>;
413 interrupts = <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>;
414 ti,hwmods = "mmu_ipu2";
416 ti,iommu-bus-err-back;
420 abb_mpu: regulator-abb-mpu {
421 compatible = "ti,abb-v3";
422 regulator-name = "abb_mpu";
423 #address-cells = <0>;
425 clocks = <&sys_clkin1>;
426 ti,settling-time = <50>;
427 ti,clock-cycles = <16>;
429 reg = <0x4ae07ddc 0x4>, <0x4ae07de0 0x4>,
430 <0x4ae06014 0x4>, <0x4a003b20 0xc>,
432 reg-names = "setup-address", "control-address",
433 "int-address", "efuse-address",
435 ti,tranxdone-status-mask = <0x80>;
436 /* LDOVBBMPU_FBB_MUX_CTRL */
437 ti,ldovbb-override-mask = <0x400>;
438 /* LDOVBBMPU_FBB_VSET_OUT */
439 ti,ldovbb-vset-mask = <0x1F>;
442 * NOTE: only FBB mode used but actual vset will
443 * determine final biasing
446 /*uV ABB efuse rbb_m fbb_m vset_m*/
447 1060000 0 0x0 0 0x02000000 0x01F00000
448 1160000 0 0x4 0 0x02000000 0x01F00000
449 1210000 0 0x8 0 0x02000000 0x01F00000
453 abb_ivahd: regulator-abb-ivahd {
454 compatible = "ti,abb-v3";
455 regulator-name = "abb_ivahd";
456 #address-cells = <0>;
458 clocks = <&sys_clkin1>;
459 ti,settling-time = <50>;
460 ti,clock-cycles = <16>;
462 reg = <0x4ae07e34 0x4>, <0x4ae07e24 0x4>,
463 <0x4ae06010 0x4>, <0x4a0025cc 0xc>,
465 reg-names = "setup-address", "control-address",
466 "int-address", "efuse-address",
468 ti,tranxdone-status-mask = <0x40000000>;
469 /* LDOVBBIVA_FBB_MUX_CTRL */
470 ti,ldovbb-override-mask = <0x400>;
471 /* LDOVBBIVA_FBB_VSET_OUT */
472 ti,ldovbb-vset-mask = <0x1F>;
475 * NOTE: only FBB mode used but actual vset will
476 * determine final biasing
479 /*uV ABB efuse rbb_m fbb_m vset_m*/
480 1055000 0 0x0 0 0x02000000 0x01F00000
481 1150000 0 0x4 0 0x02000000 0x01F00000
482 1250000 0 0x8 0 0x02000000 0x01F00000
486 abb_dspeve: regulator-abb-dspeve {
487 compatible = "ti,abb-v3";
488 regulator-name = "abb_dspeve";
489 #address-cells = <0>;
491 clocks = <&sys_clkin1>;
492 ti,settling-time = <50>;
493 ti,clock-cycles = <16>;
495 reg = <0x4ae07e30 0x4>, <0x4ae07e20 0x4>,
496 <0x4ae06010 0x4>, <0x4a0025e0 0xc>,
498 reg-names = "setup-address", "control-address",
499 "int-address", "efuse-address",
501 ti,tranxdone-status-mask = <0x20000000>;
502 /* LDOVBBDSPEVE_FBB_MUX_CTRL */
503 ti,ldovbb-override-mask = <0x400>;
504 /* LDOVBBDSPEVE_FBB_VSET_OUT */
505 ti,ldovbb-vset-mask = <0x1F>;
508 * NOTE: only FBB mode used but actual vset will
509 * determine final biasing
512 /*uV ABB efuse rbb_m fbb_m vset_m*/
513 1055000 0 0x0 0 0x02000000 0x01F00000
514 1150000 0 0x4 0 0x02000000 0x01F00000
515 1250000 0 0x8 0 0x02000000 0x01F00000
519 abb_gpu: regulator-abb-gpu {
520 compatible = "ti,abb-v3";
521 regulator-name = "abb_gpu";
522 #address-cells = <0>;
524 clocks = <&sys_clkin1>;
525 ti,settling-time = <50>;
526 ti,clock-cycles = <16>;
528 reg = <0x4ae07de4 0x4>, <0x4ae07de8 0x4>,
529 <0x4ae06010 0x4>, <0x4a003b08 0xc>,
531 reg-names = "setup-address", "control-address",
532 "int-address", "efuse-address",
534 ti,tranxdone-status-mask = <0x10000000>;
535 /* LDOVBBGPU_FBB_MUX_CTRL */
536 ti,ldovbb-override-mask = <0x400>;
537 /* LDOVBBGPU_FBB_VSET_OUT */
538 ti,ldovbb-vset-mask = <0x1F>;
541 * NOTE: only FBB mode used but actual vset will
542 * determine final biasing
545 /*uV ABB efuse rbb_m fbb_m vset_m*/
546 1090000 0 0x0 0 0x02000000 0x01F00000
547 1210000 0 0x4 0 0x02000000 0x01F00000
548 1280000 0 0x8 0 0x02000000 0x01F00000
553 compatible = "ti,dra7xxx-qspi";
554 reg = <0x4b300000 0x100>,
555 <0x5c000000 0x4000000>;
556 reg-names = "qspi_base", "qspi_mmap";
557 syscon-chipselects = <&scm_conf 0x558>;
558 #address-cells = <1>;
561 clocks = <&l4per2_clkctrl DRA7_L4PER2_QSPI_CLKCTRL 25>;
564 interrupts = <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>;
569 sata: sata@4a141100 {
570 compatible = "snps,dwc-ahci";
571 reg = <0x4a140000 0x1100>, <0x4a141100 0x7>;
572 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
574 phy-names = "sata-phy";
575 clocks = <&l3init_clkctrl DRA7_L3INIT_SATA_CLKCTRL 8>;
577 ports-implemented = <0x1>;
581 /* IRQ for DWC3_3 and DWC3_4 need IRQ crossbar */
582 gpmc: gpmc@50000000 {
583 compatible = "ti,am3352-gpmc";
585 reg = <0x50000000 0x37c>; /* device IO registers */
586 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
587 dmas = <&edma_xbar 4 0>;
590 gpmc,num-waitpins = <2>;
591 #address-cells = <2>;
593 interrupt-controller;
594 #interrupt-cells = <2>;
600 crossbar_mpu: crossbar@4a002a48 {
601 compatible = "ti,irq-crossbar";
602 reg = <0x4a002a48 0x130>;
603 interrupt-controller;
604 interrupt-parent = <&wakeupgen>;
605 #interrupt-cells = <3>;
607 ti,max-crossbar-sources = <MAX_SOURCES>;
609 ti,irqs-reserved = <0 1 2 3 5 6 131 132>;
610 ti,irqs-skip = <10 133 139 140>;
611 ti,irqs-safe-map = <0>;
615 compatible = "ti,dra7-dss";
616 /* 'reg' defined in dra72x.dtsi and dra74x.dtsi */
617 /* 'clocks' defined in dra72x.dtsi and dra74x.dtsi */
619 ti,hwmods = "dss_core";
620 /* CTRL_CORE_DSS_PLL_CONTROL */
621 syscon-pll-ctrl = <&scm_conf 0x538>;
622 #address-cells = <1>;
627 compatible = "ti,dra7-dispc";
628 reg = <0x58001000 0x1000>;
629 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
630 ti,hwmods = "dss_dispc";
631 clocks = <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 8>;
633 /* CTRL_CORE_SMA_SW_1 */
634 syscon-pol = <&scm_conf 0x534>;
637 hdmi: encoder@58060000 {
638 compatible = "ti,dra7-hdmi";
639 reg = <0x58040000 0x200>,
642 <0x58060000 0x19000>;
643 reg-names = "wp", "pll", "phy", "core";
644 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
646 ti,hwmods = "dss_hdmi";
647 clocks = <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 9>,
648 <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 10>;
649 clock-names = "fck", "sys_clk";
650 dmas = <&sdma_xbar 76>;
651 dma-names = "audio_tx";
656 compatible = "ti,omap4-aes";
658 reg = <0x4b500000 0xa0>;
659 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
660 dmas = <&edma_xbar 111 0>, <&edma_xbar 110 0>;
661 dma-names = "tx", "rx";
662 clocks = <&l3_iclk_div>;
667 compatible = "ti,omap4-aes";
669 reg = <0x4b700000 0xa0>;
670 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
671 dmas = <&edma_xbar 114 0>, <&edma_xbar 113 0>;
672 dma-names = "tx", "rx";
673 clocks = <&l3_iclk_div>;
678 compatible = "ti,omap4-des";
680 reg = <0x480a5000 0xa0>;
681 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
682 dmas = <&sdma_xbar 117>, <&sdma_xbar 116>;
683 dma-names = "tx", "rx";
684 clocks = <&l3_iclk_div>;
688 sham: sham@53100000 {
689 compatible = "ti,omap5-sham";
691 reg = <0x4b101000 0x300>;
692 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
693 dmas = <&edma_xbar 119 0>;
695 clocks = <&l3_iclk_div>;
699 opp_supply_mpu: opp-supply@4a003b20 {
700 compatible = "ti,omap5-opp-supply";
701 reg = <0x4a003b20 0xc>;
702 ti,efuse-settings = <
708 ti,absolute-max-voltage-uv = <1500000>;
713 thermal_zones: thermal-zones {
714 #include "omap4-cpu-thermal.dtsi"
715 #include "omap5-gpu-thermal.dtsi"
716 #include "omap5-core-thermal.dtsi"
717 #include "dra7-dspeve-thermal.dtsi"
718 #include "dra7-iva-thermal.dtsi"
724 polling-delay = <500>; /* milliseconds */
725 coefficients = <0 2000>;
729 coefficients = <0 2000>;
733 coefficients = <0 2000>;
737 coefficients = <0 2000>;
741 coefficients = <0 2000>;
745 temperature = <120000>; /* milli Celsius */
749 temperature = <120000>; /* milli Celsius */
753 temperature = <120000>; /* milli Celsius */
757 temperature = <120000>; /* milli Celsius */
761 temperature = <120000>; /* milli Celsius */
764 #include "dra7-l4.dtsi"
765 #include "dra7xx-clocks.dtsi"
769 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
775 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
781 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
787 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
792 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
798 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
803 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
808 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
813 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";