2 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 * Based on "omap4.dtsi"
10 #include <dt-bindings/bus/ti-sysc.h>
11 #include <dt-bindings/clock/dra7.h>
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 #include <dt-bindings/pinctrl/dra.h>
14 #include <dt-bindings/clock/dra7.h>
16 #define MAX_SOURCES 400
22 compatible = "ti,dra7xx";
23 interrupt-parent = <&crossbar_mpu>;
42 ethernet0 = &cpsw_emac0;
43 ethernet1 = &cpsw_emac1;
50 compatible = "arm,armv7-timer";
51 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
52 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
53 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
54 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
55 interrupt-parent = <&gic>;
58 gic: interrupt-controller@48211000 {
59 compatible = "arm,cortex-a15-gic";
61 #interrupt-cells = <3>;
62 reg = <0x0 0x48211000 0x0 0x1000>,
63 <0x0 0x48212000 0x0 0x2000>,
64 <0x0 0x48214000 0x0 0x2000>,
65 <0x0 0x48216000 0x0 0x2000>;
66 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
67 interrupt-parent = <&gic>;
70 wakeupgen: interrupt-controller@48281000 {
71 compatible = "ti,omap5-wugen-mpu", "ti,omap4-wugen-mpu";
73 #interrupt-cells = <3>;
74 reg = <0x0 0x48281000 0x0 0x1000>;
75 interrupt-parent = <&gic>;
84 compatible = "arm,cortex-a15";
87 operating-points-v2 = <&cpu0_opp_table>;
89 clocks = <&dpll_mpu_ck>;
92 clock-latency = <300000>; /* From omap-cpufreq driver */
95 #cooling-cells = <2>; /* min followed by max */
97 vbb-supply = <&abb_mpu>;
101 cpu0_opp_table: opp-table {
102 compatible = "operating-points-v2-ti-cpu";
103 syscon = <&scm_wkup>;
106 opp-hz = /bits/ 64 <1000000000>;
107 opp-microvolt = <1060000 850000 1150000>,
108 <1060000 850000 1150000>;
109 opp-supported-hw = <0xFF 0x01>;
114 opp-hz = /bits/ 64 <1176000000>;
115 opp-microvolt = <1160000 885000 1160000>,
116 <1160000 885000 1160000>;
118 opp-supported-hw = <0xFF 0x02>;
121 opp_high@1500000000 {
122 opp-hz = /bits/ 64 <1500000000>;
123 opp-microvolt = <1210000 950000 1250000>,
124 <1210000 950000 1250000>;
125 opp-supported-hw = <0xFF 0x04>;
130 * The soc node represents the soc top level view. It is used for IPs
131 * that are not memory mapped in the MPU view or for the MPU itself.
134 compatible = "ti,omap-infra";
136 compatible = "ti,omap5-mpu";
142 * XXX: Use a flat representation of the SOC interconnect.
143 * The real OMAP interconnect network is quite complex.
144 * Since it will not bring real advantage to represent that in DT for
145 * the moment, just use a fake OCP bus entry to represent the whole bus
149 compatible = "ti,dra7-l3-noc", "simple-bus";
150 #address-cells = <1>;
152 ranges = <0x0 0x0 0x0 0xc0000000>;
153 ti,hwmods = "l3_main_1", "l3_main_2";
154 reg = <0x0 0x44000000 0x0 0x1000000>,
155 <0x0 0x45000000 0x0 0x1000>;
156 interrupts-extended = <&crossbar_mpu GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
157 <&wakeupgen GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
159 l4_cfg: interconnect@4a000000 {
161 l4_wkup: interconnect@4ae00000 {
163 l4_per1: interconnect@48000000 {
165 l4_per2: interconnect@48400000 {
167 l4_per3: interconnect@48800000 {
171 compatible = "simple-bus";
173 #address-cells = <1>;
174 ranges = <0x51000000 0x51000000 0x3000
175 0x0 0x20000000 0x10000000>;
177 * To enable PCI endpoint mode, disable the pcie1_rc
178 * node and enable pcie1_ep mode.
180 pcie1_rc: pcie@51000000 {
181 reg = <0x51000000 0x2000>, <0x51002000 0x14c>, <0x1000 0x2000>;
182 reg-names = "rc_dbics", "ti_conf", "config";
183 interrupts = <0 232 0x4>, <0 233 0x4>;
184 #address-cells = <3>;
187 ranges = <0x81000000 0 0 0x03000 0 0x00010000
188 0x82000000 0 0x20013000 0x13000 0 0xffed000>;
189 bus-range = <0x00 0xff>;
190 #interrupt-cells = <1>;
192 linux,pci-domain = <0>;
195 phy-names = "pcie-phy0";
196 ti,syscon-lane-sel = <&scm_conf_pcie 0x18>;
197 interrupt-map-mask = <0 0 0 7>;
198 interrupt-map = <0 0 0 1 &pcie1_intc 1>,
199 <0 0 0 2 &pcie1_intc 2>,
200 <0 0 0 3 &pcie1_intc 3>,
201 <0 0 0 4 &pcie1_intc 4>;
202 ti,syscon-unaligned-access = <&scm_conf1 0x14 1>;
204 pcie1_intc: interrupt-controller {
205 interrupt-controller;
206 #address-cells = <0>;
207 #interrupt-cells = <1>;
211 pcie1_ep: pcie_ep@51000000 {
212 reg = <0x51000000 0x28>, <0x51002000 0x14c>, <0x51001000 0x28>, <0x1000 0x10000000>;
213 reg-names = "ep_dbics", "ti_conf", "ep_dbics2", "addr_space";
214 interrupts = <0 232 0x4>;
216 num-ib-windows = <4>;
217 num-ob-windows = <16>;
220 phy-names = "pcie-phy0";
221 ti,syscon-unaligned-access = <&scm_conf1 0x14 1>;
222 ti,syscon-lane-sel = <&scm_conf_pcie 0x18>;
228 compatible = "simple-bus";
230 #address-cells = <1>;
231 ranges = <0x51800000 0x51800000 0x3000
232 0x0 0x30000000 0x10000000>;
234 pcie2_rc: pcie@51800000 {
235 reg = <0x51800000 0x2000>, <0x51802000 0x14c>, <0x1000 0x2000>;
236 reg-names = "rc_dbics", "ti_conf", "config";
237 interrupts = <0 355 0x4>, <0 356 0x4>;
238 #address-cells = <3>;
241 ranges = <0x81000000 0 0 0x03000 0 0x00010000
242 0x82000000 0 0x30013000 0x13000 0 0xffed000>;
243 bus-range = <0x00 0xff>;
244 #interrupt-cells = <1>;
246 linux,pci-domain = <1>;
249 phy-names = "pcie-phy0";
250 interrupt-map-mask = <0 0 0 7>;
251 interrupt-map = <0 0 0 1 &pcie2_intc 1>,
252 <0 0 0 2 &pcie2_intc 2>,
253 <0 0 0 3 &pcie2_intc 3>,
254 <0 0 0 4 &pcie2_intc 4>;
255 ti,syscon-unaligned-access = <&scm_conf1 0x14 2>;
256 pcie2_intc: interrupt-controller {
257 interrupt-controller;
258 #address-cells = <0>;
259 #interrupt-cells = <1>;
264 ocmcram1: ocmcram@40300000 {
265 compatible = "mmio-sram";
266 reg = <0x40300000 0x80000>;
267 ranges = <0x0 0x40300000 0x80000>;
268 #address-cells = <1>;
271 * This is a placeholder for an optional reserved
272 * region for use by secure software. The size
273 * of this region is not known until runtime so it
274 * is set as zero to either be updated to reserve
275 * space or left unchanged to leave all SRAM for use.
276 * On HS parts that that require the reserved region
277 * either the bootloader can update the size to
278 * the required amount or the node can be overridden
279 * from the board dts file for the secure platform.
282 compatible = "ti,secure-ram";
288 * NOTE: ocmcram2 and ocmcram3 are not available on all
289 * DRA7xx and AM57xx variants. Confirm availability in
290 * the data manual for the exact part number in use
291 * before enabling these nodes in the board dts file.
293 ocmcram2: ocmcram@40400000 {
295 compatible = "mmio-sram";
296 reg = <0x40400000 0x100000>;
297 ranges = <0x0 0x40400000 0x100000>;
298 #address-cells = <1>;
302 ocmcram3: ocmcram@40500000 {
304 compatible = "mmio-sram";
305 reg = <0x40500000 0x100000>;
306 ranges = <0x0 0x40500000 0x100000>;
307 #address-cells = <1>;
311 bandgap: bandgap@4a0021e0 {
312 reg = <0x4a0021e0 0xc
318 compatible = "ti,dra752-bandgap";
319 interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
320 #thermal-sensor-cells = <1>;
323 dsp1_system: dsp_system@40d00000 {
324 compatible = "syscon";
325 reg = <0x40d00000 0x100>;
328 dra7_iodelay_core: padconf@4844a000 {
329 compatible = "ti,dra7-iodelay";
330 reg = <0x4844a000 0x0d1c>;
331 #address-cells = <1>;
333 #pinctrl-cells = <2>;
336 edma: edma@43300000 {
337 compatible = "ti,edma3-tpcc";
339 reg = <0x43300000 0x100000>;
340 reg-names = "edma3_cc";
341 interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>,
342 <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>,
343 <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
344 interrupt-names = "edma3_ccint", "edma3_mperr",
349 ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 0>;
352 * memcpy is disabled, can be enabled with:
353 * ti,edma-memcpy-channels = <20 21>;
354 * for example. Note that these channels need to be
355 * masked in the xbar as well.
359 edma_tptc0: tptc@43400000 {
360 compatible = "ti,edma3-tptc";
362 reg = <0x43400000 0x100000>;
363 interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
364 interrupt-names = "edma3_tcerrint";
367 edma_tptc1: tptc@43500000 {
368 compatible = "ti,edma3-tptc";
370 reg = <0x43500000 0x100000>;
371 interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
372 interrupt-names = "edma3_tcerrint";
376 compatible = "ti,omap5-dmm";
377 reg = <0x4e000000 0x800>;
378 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
382 mmu0_dsp1: mmu@40d01000 {
383 compatible = "ti,dra7-dsp-iommu";
384 reg = <0x40d01000 0x100>;
385 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
386 ti,hwmods = "mmu0_dsp1";
388 ti,syscon-mmuconfig = <&dsp1_system 0x0>;
392 mmu1_dsp1: mmu@40d02000 {
393 compatible = "ti,dra7-dsp-iommu";
394 reg = <0x40d02000 0x100>;
395 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
396 ti,hwmods = "mmu1_dsp1";
398 ti,syscon-mmuconfig = <&dsp1_system 0x1>;
402 mmu_ipu1: mmu@58882000 {
403 compatible = "ti,dra7-iommu";
404 reg = <0x58882000 0x100>;
405 interrupts = <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>;
406 ti,hwmods = "mmu_ipu1";
408 ti,iommu-bus-err-back;
412 mmu_ipu2: mmu@55082000 {
413 compatible = "ti,dra7-iommu";
414 reg = <0x55082000 0x100>;
415 interrupts = <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>;
416 ti,hwmods = "mmu_ipu2";
418 ti,iommu-bus-err-back;
422 abb_mpu: regulator-abb-mpu {
423 compatible = "ti,abb-v3";
424 regulator-name = "abb_mpu";
425 #address-cells = <0>;
427 clocks = <&sys_clkin1>;
428 ti,settling-time = <50>;
429 ti,clock-cycles = <16>;
431 reg = <0x4ae07ddc 0x4>, <0x4ae07de0 0x4>,
432 <0x4ae06014 0x4>, <0x4a003b20 0xc>,
434 reg-names = "setup-address", "control-address",
435 "int-address", "efuse-address",
437 ti,tranxdone-status-mask = <0x80>;
438 /* LDOVBBMPU_FBB_MUX_CTRL */
439 ti,ldovbb-override-mask = <0x400>;
440 /* LDOVBBMPU_FBB_VSET_OUT */
441 ti,ldovbb-vset-mask = <0x1F>;
444 * NOTE: only FBB mode used but actual vset will
445 * determine final biasing
448 /*uV ABB efuse rbb_m fbb_m vset_m*/
449 1060000 0 0x0 0 0x02000000 0x01F00000
450 1160000 0 0x4 0 0x02000000 0x01F00000
451 1210000 0 0x8 0 0x02000000 0x01F00000
455 abb_ivahd: regulator-abb-ivahd {
456 compatible = "ti,abb-v3";
457 regulator-name = "abb_ivahd";
458 #address-cells = <0>;
460 clocks = <&sys_clkin1>;
461 ti,settling-time = <50>;
462 ti,clock-cycles = <16>;
464 reg = <0x4ae07e34 0x4>, <0x4ae07e24 0x4>,
465 <0x4ae06010 0x4>, <0x4a0025cc 0xc>,
467 reg-names = "setup-address", "control-address",
468 "int-address", "efuse-address",
470 ti,tranxdone-status-mask = <0x40000000>;
471 /* LDOVBBIVA_FBB_MUX_CTRL */
472 ti,ldovbb-override-mask = <0x400>;
473 /* LDOVBBIVA_FBB_VSET_OUT */
474 ti,ldovbb-vset-mask = <0x1F>;
477 * NOTE: only FBB mode used but actual vset will
478 * determine final biasing
481 /*uV ABB efuse rbb_m fbb_m vset_m*/
482 1055000 0 0x0 0 0x02000000 0x01F00000
483 1150000 0 0x4 0 0x02000000 0x01F00000
484 1250000 0 0x8 0 0x02000000 0x01F00000
488 abb_dspeve: regulator-abb-dspeve {
489 compatible = "ti,abb-v3";
490 regulator-name = "abb_dspeve";
491 #address-cells = <0>;
493 clocks = <&sys_clkin1>;
494 ti,settling-time = <50>;
495 ti,clock-cycles = <16>;
497 reg = <0x4ae07e30 0x4>, <0x4ae07e20 0x4>,
498 <0x4ae06010 0x4>, <0x4a0025e0 0xc>,
500 reg-names = "setup-address", "control-address",
501 "int-address", "efuse-address",
503 ti,tranxdone-status-mask = <0x20000000>;
504 /* LDOVBBDSPEVE_FBB_MUX_CTRL */
505 ti,ldovbb-override-mask = <0x400>;
506 /* LDOVBBDSPEVE_FBB_VSET_OUT */
507 ti,ldovbb-vset-mask = <0x1F>;
510 * NOTE: only FBB mode used but actual vset will
511 * determine final biasing
514 /*uV ABB efuse rbb_m fbb_m vset_m*/
515 1055000 0 0x0 0 0x02000000 0x01F00000
516 1150000 0 0x4 0 0x02000000 0x01F00000
517 1250000 0 0x8 0 0x02000000 0x01F00000
521 abb_gpu: regulator-abb-gpu {
522 compatible = "ti,abb-v3";
523 regulator-name = "abb_gpu";
524 #address-cells = <0>;
526 clocks = <&sys_clkin1>;
527 ti,settling-time = <50>;
528 ti,clock-cycles = <16>;
530 reg = <0x4ae07de4 0x4>, <0x4ae07de8 0x4>,
531 <0x4ae06010 0x4>, <0x4a003b08 0xc>,
533 reg-names = "setup-address", "control-address",
534 "int-address", "efuse-address",
536 ti,tranxdone-status-mask = <0x10000000>;
537 /* LDOVBBGPU_FBB_MUX_CTRL */
538 ti,ldovbb-override-mask = <0x400>;
539 /* LDOVBBGPU_FBB_VSET_OUT */
540 ti,ldovbb-vset-mask = <0x1F>;
543 * NOTE: only FBB mode used but actual vset will
544 * determine final biasing
547 /*uV ABB efuse rbb_m fbb_m vset_m*/
548 1090000 0 0x0 0 0x02000000 0x01F00000
549 1210000 0 0x4 0 0x02000000 0x01F00000
550 1280000 0 0x8 0 0x02000000 0x01F00000
555 compatible = "ti,dra7xxx-qspi";
556 reg = <0x4b300000 0x100>,
557 <0x5c000000 0x4000000>;
558 reg-names = "qspi_base", "qspi_mmap";
559 syscon-chipselects = <&scm_conf 0x558>;
560 #address-cells = <1>;
563 clocks = <&l4per2_clkctrl DRA7_L4PER2_QSPI_CLKCTRL 25>;
566 interrupts = <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>;
571 sata: sata@4a141100 {
572 compatible = "snps,dwc-ahci";
573 reg = <0x4a140000 0x1100>, <0x4a141100 0x7>;
574 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
576 phy-names = "sata-phy";
577 clocks = <&l3init_clkctrl DRA7_L3INIT_SATA_CLKCTRL 8>;
579 ports-implemented = <0x1>;
583 /* IRQ for DWC3_3 and DWC3_4 need IRQ crossbar */
584 gpmc: gpmc@50000000 {
585 compatible = "ti,am3352-gpmc";
587 reg = <0x50000000 0x37c>; /* device IO registers */
588 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
589 dmas = <&edma_xbar 4 0>;
592 gpmc,num-waitpins = <2>;
593 #address-cells = <2>;
595 interrupt-controller;
596 #interrupt-cells = <2>;
602 crossbar_mpu: crossbar@4a002a48 {
603 compatible = "ti,irq-crossbar";
604 reg = <0x4a002a48 0x130>;
605 interrupt-controller;
606 interrupt-parent = <&wakeupgen>;
607 #interrupt-cells = <3>;
609 ti,max-crossbar-sources = <MAX_SOURCES>;
611 ti,irqs-reserved = <0 1 2 3 5 6 131 132>;
612 ti,irqs-skip = <10 133 139 140>;
613 ti,irqs-safe-map = <0>;
617 compatible = "ti,dra7-dss";
618 /* 'reg' defined in dra72x.dtsi and dra74x.dtsi */
619 /* 'clocks' defined in dra72x.dtsi and dra74x.dtsi */
621 ti,hwmods = "dss_core";
622 /* CTRL_CORE_DSS_PLL_CONTROL */
623 syscon-pll-ctrl = <&scm_conf 0x538>;
624 #address-cells = <1>;
629 compatible = "ti,dra7-dispc";
630 reg = <0x58001000 0x1000>;
631 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
632 ti,hwmods = "dss_dispc";
633 clocks = <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 8>;
635 /* CTRL_CORE_SMA_SW_1 */
636 syscon-pol = <&scm_conf 0x534>;
639 hdmi: encoder@58060000 {
640 compatible = "ti,dra7-hdmi";
641 reg = <0x58040000 0x200>,
644 <0x58060000 0x19000>;
645 reg-names = "wp", "pll", "phy", "core";
646 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
648 ti,hwmods = "dss_hdmi";
649 clocks = <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 9>,
650 <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 10>;
651 clock-names = "fck", "sys_clk";
652 dmas = <&sdma_xbar 76>;
653 dma-names = "audio_tx";
658 compatible = "ti,omap4-aes";
660 reg = <0x4b500000 0xa0>;
661 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
662 dmas = <&edma_xbar 111 0>, <&edma_xbar 110 0>;
663 dma-names = "tx", "rx";
664 clocks = <&l3_iclk_div>;
669 compatible = "ti,omap4-aes";
671 reg = <0x4b700000 0xa0>;
672 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
673 dmas = <&edma_xbar 114 0>, <&edma_xbar 113 0>;
674 dma-names = "tx", "rx";
675 clocks = <&l3_iclk_div>;
680 compatible = "ti,omap4-des";
682 reg = <0x480a5000 0xa0>;
683 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
684 dmas = <&sdma_xbar 117>, <&sdma_xbar 116>;
685 dma-names = "tx", "rx";
686 clocks = <&l3_iclk_div>;
690 sham: sham@53100000 {
691 compatible = "ti,omap5-sham";
693 reg = <0x4b101000 0x300>;
694 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
695 dmas = <&edma_xbar 119 0>;
697 clocks = <&l3_iclk_div>;
701 opp_supply_mpu: opp-supply@4a003b20 {
702 compatible = "ti,omap5-opp-supply";
703 reg = <0x4a003b20 0xc>;
704 ti,efuse-settings = <
710 ti,absolute-max-voltage-uv = <1500000>;
715 thermal_zones: thermal-zones {
716 #include "omap4-cpu-thermal.dtsi"
717 #include "omap5-gpu-thermal.dtsi"
718 #include "omap5-core-thermal.dtsi"
719 #include "dra7-dspeve-thermal.dtsi"
720 #include "dra7-iva-thermal.dtsi"
726 polling-delay = <500>; /* milliseconds */
727 coefficients = <0 2000>;
731 coefficients = <0 2000>;
735 coefficients = <0 2000>;
739 coefficients = <0 2000>;
743 coefficients = <0 2000>;
747 temperature = <120000>; /* milli Celsius */
751 temperature = <120000>; /* milli Celsius */
755 temperature = <120000>; /* milli Celsius */
759 temperature = <120000>; /* milli Celsius */
763 temperature = <120000>; /* milli Celsius */
766 #include "dra7-l4.dtsi"
767 #include "dra7xx-clocks.dtsi"