blob: 39614c7232bf67237dac9ef5bece75a7e3f425a1 [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001// SPDX-License-Identifier: GPL-2.0-only
R Sricharan6e58b8f2013-08-14 19:08:20 +05302/*
Alexander A. Klimov75f66812020-07-08 11:34:51 +02003 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
R Sricharan6e58b8f2013-08-14 19:08:20 +05304 *
R Sricharan6e58b8f2013-08-14 19:08:20 +05305 * Based on "omap4.dtsi"
6 */
7
Tony Lindgrene14d7e52018-01-11 16:04:03 -08008#include <dt-bindings/bus/ti-sysc.h>
9#include <dt-bindings/clock/dra7.h>
R Sricharan6e58b8f2013-08-14 19:08:20 +053010#include <dt-bindings/interrupt-controller/arm-gic.h>
11#include <dt-bindings/pinctrl/dra.h>
Tero Kristo18395332017-12-08 17:17:29 +020012#include <dt-bindings/clock/dra7.h>
R Sricharan6e58b8f2013-08-14 19:08:20 +053013
R Sricharana46631c2014-06-26 12:55:31 +053014#define MAX_SOURCES 400
R Sricharana46631c2014-06-26 12:55:31 +053015
R Sricharan6e58b8f2013-08-14 19:08:20 +053016/ {
Lokesh Vutladae320e2016-02-24 15:41:04 +053017 #address-cells = <2>;
18 #size-cells = <2>;
R Sricharan6e58b8f2013-08-14 19:08:20 +053019
20 compatible = "ti,dra7xx";
Marc Zyngier783d3182015-03-11 15:43:44 +000021 interrupt-parent = <&crossbar_mpu>;
Javier Martinez Canillas7f6c8572016-12-19 11:44:41 -030022 chosen { };
R Sricharan6e58b8f2013-08-14 19:08:20 +053023
24 aliases {
Nishanth Menon20b80942013-10-16 15:21:03 -050025 i2c0 = &i2c1;
26 i2c1 = &i2c2;
27 i2c2 = &i2c3;
28 i2c3 = &i2c4;
29 i2c4 = &i2c5;
R Sricharan6e58b8f2013-08-14 19:08:20 +053030 serial0 = &uart1;
31 serial1 = &uart2;
32 serial2 = &uart3;
33 serial3 = &uart4;
34 serial4 = &uart5;
35 serial5 = &uart6;
Nishanth Menon065bd7f2014-10-21 11:18:15 -050036 serial6 = &uart7;
37 serial7 = &uart8;
38 serial8 = &uart9;
39 serial9 = &uart10;
Grygorii Strashkoec9bc5b2020-09-07 23:21:25 +030040 ethernet0 = &cpsw_port1;
41 ethernet1 = &cpsw_port2;
Roger Quadros9ec49b92014-08-15 16:08:36 +030042 d_can0 = &dcan1;
43 d_can1 = &dcan2;
Mugunthan V N480b2b32015-11-19 12:31:01 +053044 spi0 = &qspi;
R Sricharan6e58b8f2013-08-14 19:08:20 +053045 };
46
R Sricharan6e58b8f2013-08-14 19:08:20 +053047 timer {
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)>;
Marc Zyngier783d3182015-03-11 15:43:44 +000053 interrupt-parent = <&gic>;
R Sricharan6e58b8f2013-08-14 19:08:20 +053054 };
55
56 gic: interrupt-controller@48211000 {
57 compatible = "arm,cortex-a15-gic";
58 interrupt-controller;
59 #interrupt-cells = <3>;
Lokesh Vutladae320e2016-02-24 15:41:04 +053060 reg = <0x0 0x48211000 0x0 0x1000>,
Marc Zyngier387720c2017-01-18 09:27:28 +000061 <0x0 0x48212000 0x0 0x2000>,
Lokesh Vutladae320e2016-02-24 15:41:04 +053062 <0x0 0x48214000 0x0 0x2000>,
63 <0x0 0x48216000 0x0 0x2000>;
R Sricharan6e58b8f2013-08-14 19:08:20 +053064 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
Marc Zyngier783d3182015-03-11 15:43:44 +000065 interrupt-parent = <&gic>;
R Sricharan6e58b8f2013-08-14 19:08:20 +053066 };
67
Marc Zyngier7136d452015-03-11 15:43:49 +000068 wakeupgen: interrupt-controller@48281000 {
69 compatible = "ti,omap5-wugen-mpu", "ti,omap4-wugen-mpu";
70 interrupt-controller;
71 #interrupt-cells = <3>;
Lokesh Vutladae320e2016-02-24 15:41:04 +053072 reg = <0x0 0x48281000 0x0 0x1000>;
Marc Zyngier7136d452015-03-11 15:43:49 +000073 interrupt-parent = <&gic>;
R Sricharan6e58b8f2013-08-14 19:08:20 +053074 };
75
Dave Gerlachb82ffb32016-05-18 18:36:32 -050076 cpus {
77 #address-cells = <1>;
78 #size-cells = <0>;
79
80 cpu0: cpu@0 {
81 device_type = "cpu";
82 compatible = "arm,cortex-a15";
83 reg = <0>;
84
Dave Gerlacha4e5e9f2017-03-06 09:23:41 -060085 operating-points-v2 = <&cpu0_opp_table>;
Dave Gerlachb82ffb32016-05-18 18:36:32 -050086
87 clocks = <&dpll_mpu_ck>;
88 clock-names = "cpu";
89
90 clock-latency = <300000>; /* From omap-cpufreq driver */
91
92 /* cooling options */
Dave Gerlachb82ffb32016-05-18 18:36:32 -050093 #cooling-cells = <2>; /* min followed by max */
Dave Gerlach000fb7a2017-12-19 09:24:19 -060094
95 vbb-supply = <&abb_mpu>;
Dave Gerlachb82ffb32016-05-18 18:36:32 -050096 };
97 };
98
Dave Gerlacha4e5e9f2017-03-06 09:23:41 -060099 cpu0_opp_table: opp-table {
100 compatible = "operating-points-v2-ti-cpu";
101 syscon = <&scm_wkup>;
102
Viresh Kumarb9cb2ba2017-04-20 16:25:06 +0530103 opp_nom-1000000000 {
Dave Gerlacha4e5e9f2017-03-06 09:23:41 -0600104 opp-hz = /bits/ 64 <1000000000>;
Dave Gerlach000fb7a2017-12-19 09:24:19 -0600105 opp-microvolt = <1060000 850000 1150000>,
106 <1060000 850000 1150000>;
Dave Gerlacha4e5e9f2017-03-06 09:23:41 -0600107 opp-supported-hw = <0xFF 0x01>;
108 opp-suspend;
109 };
110
Viresh Kumarb9cb2ba2017-04-20 16:25:06 +0530111 opp_od-1176000000 {
Dave Gerlacha4e5e9f2017-03-06 09:23:41 -0600112 opp-hz = /bits/ 64 <1176000000>;
Dave Gerlach000fb7a2017-12-19 09:24:19 -0600113 opp-microvolt = <1160000 885000 1160000>,
114 <1160000 885000 1160000>;
115
Dave Gerlacha4e5e9f2017-03-06 09:23:41 -0600116 opp-supported-hw = <0xFF 0x02>;
117 };
Dave Gerlachbc69fed2017-12-19 09:24:21 -0600118
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>;
124 };
Dave Gerlacha4e5e9f2017-03-06 09:23:41 -0600125 };
126
R Sricharan6e58b8f2013-08-14 19:08:20 +0530127 /*
Geert Uytterhoeven5c5be9d2014-03-28 11:11:37 +0100128 * The soc node represents the soc top level view. It is used for IPs
R Sricharan6e58b8f2013-08-14 19:08:20 +0530129 * that are not memory mapped in the MPU view or for the MPU itself.
130 */
131 soc {
132 compatible = "ti,omap-infra";
133 mpu {
134 compatible = "ti,omap5-mpu";
135 ti,hwmods = "mpu";
136 };
137 };
138
139 /*
140 * XXX: Use a flat representation of the SOC interconnect.
141 * The real OMAP interconnect network is quite complex.
Geert Uytterhoevenb7ab5242014-03-28 11:11:39 +0100142 * Since it will not bring real advantage to represent that in DT for
R Sricharan6e58b8f2013-08-14 19:08:20 +0530143 * the moment, just use a fake OCP bus entry to represent the whole bus
144 * hierarchy.
145 */
Suman Annaecdeca62020-02-27 16:28:37 -0600146 ocp: ocp {
Rajendra Nayakfba387a2014-04-10 11:34:32 -0500147 compatible = "ti,dra7-l3-noc", "simple-bus";
R Sricharan6e58b8f2013-08-14 19:08:20 +0530148 #address-cells = <1>;
149 #size-cells = <1>;
Lokesh Vutladae320e2016-02-24 15:41:04 +0530150 ranges = <0x0 0x0 0x0 0xc0000000>;
Roger Quadroscfb5d652020-03-13 11:47:17 +0200151 dma-ranges = <0x80000000 0x0 0x80000000 0x80000000>;
R Sricharan6e58b8f2013-08-14 19:08:20 +0530152 ti,hwmods = "l3_main_1", "l3_main_2";
Lokesh Vutladae320e2016-02-24 15:41:04 +0530153 reg = <0x0 0x44000000 0x0 0x1000000>,
154 <0x0 0x45000000 0x0 0x1000>;
Marc Zyngier783d3182015-03-11 15:43:44 +0000155 interrupts-extended = <&crossbar_mpu GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
Marc Zyngier7136d452015-03-11 15:43:49 +0000156 <&wakeupgen GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
R Sricharan6e58b8f2013-08-14 19:08:20 +0530157
Tony Lindgren4ed0dfe2018-09-27 13:39:07 -0700158 l4_cfg: interconnect@4a000000 {
Tero Kristod9195012015-02-12 11:37:13 +0200159 };
Tony Lindgren4ed0dfe2018-09-27 13:39:07 -0700160 l4_wkup: interconnect@4ae00000 {
161 };
162 l4_per1: interconnect@48000000 {
163 };
164 l4_per2: interconnect@48400000 {
165 };
166 l4_per3: interconnect@48800000 {
Tero Kristoee6c7502013-07-18 17:18:33 +0300167 };
168
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530169 axi@0 {
170 compatible = "simple-bus";
171 #size-cells = <1>;
172 #address-cells = <1>;
Tony Lindgrenc7610282021-03-10 14:03:45 +0200173 ranges = <0x51000000 0x51000000 0x3000>,
174 <0x20000000 0x20000000 0x10000000>;
Kishon Vijay Abraham I90d4d3f2020-04-17 12:13:40 +0530175 dma-ranges;
Kishon Vijay Abraham Id23f3832017-08-08 11:10:24 +0530176 /**
177 * To enable PCI endpoint mode, disable the pcie1_rc
178 * node and enable pcie1_ep mode.
179 */
180 pcie1_rc: pcie@51000000 {
Tony Lindgrenc7610282021-03-10 14:03:45 +0200181 reg = <0x51000000 0x2000>,
182 <0x51002000 0x14c>,
183 <0x20001000 0x2000>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530184 reg-names = "rc_dbics", "ti_conf", "config";
185 interrupts = <0 232 0x4>, <0 233 0x4>;
186 #address-cells = <3>;
187 #size-cells = <2>;
188 device_type = "pci";
Tony Lindgrenc7610282021-03-10 14:03:45 +0200189 ranges = <0x81000000 0 0x00000000 0x20003000 0 0x00010000>,
190 <0x82000000 0 0x20013000 0x20013000 0 0x0ffed000>;
Rob Herring7d79f602017-03-21 21:03:01 -0500191 bus-range = <0x00 0xff>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530192 #interrupt-cells = <1>;
193 num-lanes = <1>;
Kishon Vijay Abraham Ibed596d2016-08-10 18:03:18 +0530194 linux,pci-domain = <0>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530195 ti,hwmods = "pcie1";
196 phys = <&pcie1_phy>;
197 phy-names = "pcie-phy0";
Kishon Vijay Abraham Ib5acec02019-03-25 15:15:25 +0530198 ti,syscon-lane-sel = <&scm_conf_pcie 0x18>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530199 interrupt-map-mask = <0 0 0 7>;
200 interrupt-map = <0 0 0 1 &pcie1_intc 1>,
201 <0 0 0 2 &pcie1_intc 2>,
202 <0 0 0 3 &pcie1_intc 3>,
203 <0 0 0 4 &pcie1_intc 4>;
Vignesh Rb8305262018-09-28 11:34:42 +0530204 ti,syscon-unaligned-access = <&scm_conf1 0x14 1>;
Kishon Vijay Abraham Id23f3832017-08-08 11:10:24 +0530205 status = "disabled";
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530206 pcie1_intc: interrupt-controller {
207 interrupt-controller;
208 #address-cells = <0>;
209 #interrupt-cells = <1>;
210 };
211 };
Kishon Vijay Abraham Id23f3832017-08-08 11:10:24 +0530212
213 pcie1_ep: pcie_ep@51000000 {
Tony Lindgrenc7610282021-03-10 14:03:45 +0200214 reg = <0x51000000 0x28>,
215 <0x51002000 0x14c>,
216 <0x51001000 0x28>,
217 <0x20001000 0x10000000>;
Kishon Vijay Abraham Id23f3832017-08-08 11:10:24 +0530218 reg-names = "ep_dbics", "ti_conf", "ep_dbics2", "addr_space";
219 interrupts = <0 232 0x4>;
220 num-lanes = <1>;
221 num-ib-windows = <4>;
222 num-ob-windows = <16>;
223 ti,hwmods = "pcie1";
224 phys = <&pcie1_phy>;
225 phy-names = "pcie-phy0";
Vignesh R6d0af442018-09-25 10:51:51 +0530226 ti,syscon-unaligned-access = <&scm_conf1 0x14 1>;
Kishon Vijay Abraham Ib5acec02019-03-25 15:15:25 +0530227 ti,syscon-lane-sel = <&scm_conf_pcie 0x18>;
Kishon Vijay Abraham Id23f3832017-08-08 11:10:24 +0530228 status = "disabled";
229 };
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530230 };
231
232 axi@1 {
233 compatible = "simple-bus";
234 #size-cells = <1>;
235 #address-cells = <1>;
Tony Lindgrenc7610282021-03-10 14:03:45 +0200236 ranges = <0x51800000 0x51800000 0x3000>,
237 <0x30000000 0x30000000 0x10000000>;
Kishon Vijay Abraham I90d4d3f2020-04-17 12:13:40 +0530238 dma-ranges;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530239 status = "disabled";
Kishon Vijay Abraham I1ac19c82017-12-19 15:01:28 +0530240 pcie2_rc: pcie@51800000 {
Tony Lindgrenc7610282021-03-10 14:03:45 +0200241 reg = <0x51800000 0x2000>,
242 <0x51802000 0x14c>,
243 <0x30001000 0x2000>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530244 reg-names = "rc_dbics", "ti_conf", "config";
245 interrupts = <0 355 0x4>, <0 356 0x4>;
246 #address-cells = <3>;
247 #size-cells = <2>;
248 device_type = "pci";
Tony Lindgrenc7610282021-03-10 14:03:45 +0200249 ranges = <0x81000000 0 0x00000000 0x30003000 0 0x00010000>,
250 <0x82000000 0 0x30013000 0x30013000 0 0x0ffed000>;
Rob Herring7d79f602017-03-21 21:03:01 -0500251 bus-range = <0x00 0xff>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530252 #interrupt-cells = <1>;
253 num-lanes = <1>;
Kishon Vijay Abraham Ibed596d2016-08-10 18:03:18 +0530254 linux,pci-domain = <1>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530255 ti,hwmods = "pcie2";
256 phys = <&pcie2_phy>;
257 phy-names = "pcie-phy0";
258 interrupt-map-mask = <0 0 0 7>;
259 interrupt-map = <0 0 0 1 &pcie2_intc 1>,
260 <0 0 0 2 &pcie2_intc 2>,
261 <0 0 0 3 &pcie2_intc 3>,
262 <0 0 0 4 &pcie2_intc 4>;
Vignesh Rb8305262018-09-28 11:34:42 +0530263 ti,syscon-unaligned-access = <&scm_conf1 0x14 2>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530264 pcie2_intc: interrupt-controller {
265 interrupt-controller;
266 #address-cells = <0>;
267 #interrupt-cells = <1>;
268 };
269 };
270 };
271
Dave Gerlacha5fa09b2016-05-10 14:49:41 -0500272 ocmcram1: ocmcram@40300000 {
273 compatible = "mmio-sram";
274 reg = <0x40300000 0x80000>;
275 ranges = <0x0 0x40300000 0x80000>;
276 #address-cells = <1>;
277 #size-cells = <1>;
Dave Gerlachfae3a9f2016-05-10 14:49:42 -0500278 /*
279 * This is a placeholder for an optional reserved
280 * region for use by secure software. The size
281 * of this region is not known until runtime so it
282 * is set as zero to either be updated to reserve
283 * space or left unchanged to leave all SRAM for use.
284 * On HS parts that that require the reserved region
285 * either the bootloader can update the size to
286 * the required amount or the node can be overridden
287 * from the board dts file for the secure platform.
288 */
289 sram-hs@0 {
290 compatible = "ti,secure-ram";
291 reg = <0x0 0x0>;
292 };
Dave Gerlacha5fa09b2016-05-10 14:49:41 -0500293 };
294
295 /*
296 * NOTE: ocmcram2 and ocmcram3 are not available on all
297 * DRA7xx and AM57xx variants. Confirm availability in
298 * the data manual for the exact part number in use
299 * before enabling these nodes in the board dts file.
300 */
301 ocmcram2: ocmcram@40400000 {
302 status = "disabled";
303 compatible = "mmio-sram";
304 reg = <0x40400000 0x100000>;
305 ranges = <0x0 0x40400000 0x100000>;
306 #address-cells = <1>;
307 #size-cells = <1>;
308 };
309
310 ocmcram3: ocmcram@40500000 {
311 status = "disabled";
312 compatible = "mmio-sram";
313 reg = <0x40500000 0x100000>;
314 ranges = <0x0 0x40500000 0x100000>;
315 #address-cells = <1>;
316 #size-cells = <1>;
317 };
318
Keerthyf7397ed2015-03-23 14:39:38 -0500319 bandgap: bandgap@4a0021e0 {
320 reg = <0x4a0021e0 0xc
321 0x4a00232c 0xc
322 0x4a002380 0x2c
323 0x4a0023C0 0x3c
324 0x4a002564 0x8
325 0x4a002574 0x50>;
326 compatible = "ti,dra752-bandgap";
327 interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
328 #thermal-sensor-cells = <1>;
329 };
330
Suman Anna99639ac2015-10-02 18:23:22 -0500331 dsp1_system: dsp_system@40d00000 {
332 compatible = "syscon";
333 reg = <0x40d00000 0x100>;
334 };
335
Tony Lindgreneba61302017-06-16 17:24:29 +0530336 dra7_iodelay_core: padconf@4844a000 {
337 compatible = "ti,dra7-iodelay";
338 reg = <0x4844a000 0x0d1c>;
339 #address-cells = <1>;
340 #size-cells = <0>;
341 #pinctrl-cells = <2>;
342 };
343
Tony Lindgren13149bb2020-03-04 07:25:31 -0800344 target-module@43300000 {
345 compatible = "ti,sysc-omap4", "ti,sysc";
Tony Lindgren13149bb2020-03-04 07:25:31 -0800346 reg = <0x43300000 0x4>;
347 reg-names = "rev";
348 clocks = <&l3main1_clkctrl DRA7_L3MAIN1_TPCC_CLKCTRL 0>;
349 clock-names = "fck";
350 #address-cells = <1>;
351 #size-cells = <1>;
352 ranges = <0x0 0x43300000 0x100000>;
Peter Ujfalusi248948f2016-03-07 17:17:29 +0200353
Tony Lindgren13149bb2020-03-04 07:25:31 -0800354 edma: dma@0 {
355 compatible = "ti,edma3-tpcc";
356 reg = <0 0x100000>;
357 reg-names = "edma3_cc";
358 interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>,
359 <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>,
360 <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
361 interrupt-names = "edma3_ccint", "edma3_mperr",
362 "edma3_ccerrint";
363 dma-requests = <64>;
364 #dma-cells = <2>;
Peter Ujfalusi248948f2016-03-07 17:17:29 +0200365
Tony Lindgren13149bb2020-03-04 07:25:31 -0800366 ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 0>;
367
368 /*
369 * memcpy is disabled, can be enabled with:
370 * ti,edma-memcpy-channels = <20 21>;
371 * for example. Note that these channels need to be
372 * masked in the xbar as well.
373 */
374 };
Peter Ujfalusi248948f2016-03-07 17:17:29 +0200375 };
376
Tony Lindgren103d2642020-03-04 07:25:31 -0800377 target-module@43400000 {
378 compatible = "ti,sysc-omap4", "ti,sysc";
Tony Lindgren103d2642020-03-04 07:25:31 -0800379 reg = <0x43400000 0x4>;
380 reg-names = "rev";
381 clocks = <&l3main1_clkctrl DRA7_L3MAIN1_TPTC0_CLKCTRL 0>;
382 clock-names = "fck";
383 #address-cells = <1>;
384 #size-cells = <1>;
385 ranges = <0x0 0x43400000 0x100000>;
386
387 edma_tptc0: dma@0 {
388 compatible = "ti,edma3-tptc";
389 reg = <0 0x100000>;
390 interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
391 interrupt-names = "edma3_tcerrint";
392 };
Peter Ujfalusi248948f2016-03-07 17:17:29 +0200393 };
394
Tony Lindgren4286b672020-03-04 07:25:31 -0800395 target-module@43500000 {
396 compatible = "ti,sysc-omap4", "ti,sysc";
Tony Lindgren4286b672020-03-04 07:25:31 -0800397 reg = <0x43500000 0x4>;
398 reg-names = "rev";
399 clocks = <&l3main1_clkctrl DRA7_L3MAIN1_TPTC1_CLKCTRL 0>;
400 clock-names = "fck";
401 #address-cells = <1>;
402 #size-cells = <1>;
403 ranges = <0x0 0x43500000 0x100000>;
404
405 edma_tptc1: dma@0 {
406 compatible = "ti,edma3-tptc";
407 reg = <0 0x100000>;
408 interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
409 interrupt-names = "edma3_tcerrint";
410 };
Peter Ujfalusi248948f2016-03-07 17:17:29 +0200411 };
412
Archit Taneja1a5fe3c2013-12-17 15:32:21 +0530413 dmm@4e000000 {
414 compatible = "ti,omap5-dmm";
415 reg = <0x4e000000 0x800>;
R Sricharana46631c2014-06-26 12:55:31 +0530416 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
Archit Taneja1a5fe3c2013-12-17 15:32:21 +0530417 ti,hwmods = "dmm";
418 };
419
Suman Anna46ab8232020-04-24 18:12:29 +0300420 ipu1: ipu@58820000 {
421 compatible = "ti,dra7-ipu";
422 reg = <0x58820000 0x10000>;
423 reg-names = "l2ram";
424 iommus = <&mmu_ipu1>;
425 status = "disabled";
426 resets = <&prm_ipu 0>, <&prm_ipu 1>;
427 clocks = <&ipu1_clkctrl DRA7_IPU1_MMU_IPU1_CLKCTRL 0>;
428 firmware-name = "dra7-ipu1-fw.xem4";
429 };
430
431 ipu2: ipu@55020000 {
432 compatible = "ti,dra7-ipu";
433 reg = <0x55020000 0x10000>;
434 reg-names = "l2ram";
435 iommus = <&mmu_ipu2>;
436 status = "disabled";
437 resets = <&prm_core 0>, <&prm_core 1>;
438 clocks = <&ipu2_clkctrl DRA7_IPU2_MMU_IPU2_CLKCTRL 0>;
439 firmware-name = "dra7-ipu2-fw.xem4";
440 };
441
442 dsp1: dsp@40800000 {
443 compatible = "ti,dra7-dsp";
444 reg = <0x40800000 0x48000>,
445 <0x40e00000 0x8000>,
446 <0x40f00000 0x8000>;
447 reg-names = "l2ram", "l1pram", "l1dram";
448 ti,bootreg = <&scm_conf 0x55c 10>;
449 iommus = <&mmu0_dsp1>, <&mmu1_dsp1>;
450 status = "disabled";
451 resets = <&prm_dsp1 0>;
452 clocks = <&dsp1_clkctrl DRA7_DSP1_MMU0_DSP1_CLKCTRL 0>;
453 firmware-name = "dra7-dsp1-fw.xe66";
454 };
455
Tero Kristodbd2d6f2019-12-12 14:51:18 +0200456 target-module@40d01000 {
457 compatible = "ti,sysc-omap2", "ti,sysc";
458 reg = <0x40d01000 0x4>,
459 <0x40d01010 0x4>,
460 <0x40d01014 0x4>;
461 reg-names = "rev", "sysc", "syss";
462 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
463 <SYSC_IDLE_NO>,
464 <SYSC_IDLE_SMART>;
465 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
466 SYSC_OMAP2_SOFTRESET |
467 SYSC_OMAP2_AUTOIDLE)>;
468 clocks = <&dsp1_clkctrl DRA7_DSP1_MMU0_DSP1_CLKCTRL 0>;
469 clock-names = "fck";
470 resets = <&prm_dsp1 1>;
471 reset-names = "rstctrl";
472 ranges = <0x0 0x40d01000 0x1000>;
473 #size-cells = <1>;
474 #address-cells = <1>;
475
476 mmu0_dsp1: mmu@0 {
477 compatible = "ti,dra7-dsp-iommu";
478 reg = <0x0 0x100>;
479 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
480 #iommu-cells = <0>;
481 ti,syscon-mmuconfig = <&dsp1_system 0x0>;
482 };
Suman Anna2c7e07c52015-10-02 18:23:24 -0500483 };
484
Tero Kristodbd2d6f2019-12-12 14:51:18 +0200485 target-module@40d02000 {
486 compatible = "ti,sysc-omap2", "ti,sysc";
487 reg = <0x40d02000 0x4>,
488 <0x40d02010 0x4>,
489 <0x40d02014 0x4>;
490 reg-names = "rev", "sysc", "syss";
491 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
492 <SYSC_IDLE_NO>,
493 <SYSC_IDLE_SMART>;
494 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
495 SYSC_OMAP2_SOFTRESET |
496 SYSC_OMAP2_AUTOIDLE)>;
497 clocks = <&dsp1_clkctrl DRA7_DSP1_MMU0_DSP1_CLKCTRL 0>;
498 clock-names = "fck";
499 resets = <&prm_dsp1 1>;
500 reset-names = "rstctrl";
501 ranges = <0x0 0x40d02000 0x1000>;
502 #size-cells = <1>;
503 #address-cells = <1>;
504
505 mmu1_dsp1: mmu@0 {
506 compatible = "ti,dra7-dsp-iommu";
507 reg = <0x0 0x100>;
508 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
509 #iommu-cells = <0>;
510 ti,syscon-mmuconfig = <&dsp1_system 0x1>;
511 };
Suman Anna2c7e07c52015-10-02 18:23:24 -0500512 };
513
Tero Kristodbd2d6f2019-12-12 14:51:18 +0200514 target-module@58882000 {
515 compatible = "ti,sysc-omap2", "ti,sysc";
516 reg = <0x58882000 0x4>,
517 <0x58882010 0x4>,
518 <0x58882014 0x4>;
519 reg-names = "rev", "sysc", "syss";
520 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
521 <SYSC_IDLE_NO>,
522 <SYSC_IDLE_SMART>;
523 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
524 SYSC_OMAP2_SOFTRESET |
525 SYSC_OMAP2_AUTOIDLE)>;
526 clocks = <&ipu1_clkctrl DRA7_IPU1_MMU_IPU1_CLKCTRL 0>;
527 clock-names = "fck";
528 resets = <&prm_ipu 2>;
529 reset-names = "rstctrl";
530 #address-cells = <1>;
531 #size-cells = <1>;
532 ranges = <0x0 0x58882000 0x100>;
533
534 mmu_ipu1: mmu@0 {
535 compatible = "ti,dra7-iommu";
536 reg = <0x0 0x100>;
537 interrupts = <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>;
538 #iommu-cells = <0>;
539 ti,iommu-bus-err-back;
540 };
Suman Anna2c7e07c52015-10-02 18:23:24 -0500541 };
542
Tero Kristodbd2d6f2019-12-12 14:51:18 +0200543 target-module@55082000 {
544 compatible = "ti,sysc-omap2", "ti,sysc";
545 reg = <0x55082000 0x4>,
546 <0x55082010 0x4>,
547 <0x55082014 0x4>;
548 reg-names = "rev", "sysc", "syss";
549 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
550 <SYSC_IDLE_NO>,
551 <SYSC_IDLE_SMART>;
552 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
553 SYSC_OMAP2_SOFTRESET |
554 SYSC_OMAP2_AUTOIDLE)>;
555 clocks = <&ipu2_clkctrl DRA7_IPU2_MMU_IPU2_CLKCTRL 0>;
556 clock-names = "fck";
557 resets = <&prm_core 2>;
558 reset-names = "rstctrl";
559 #address-cells = <1>;
560 #size-cells = <1>;
561 ranges = <0x0 0x55082000 0x100>;
562
563 mmu_ipu2: mmu@0 {
564 compatible = "ti,dra7-iommu";
565 reg = <0x0 0x100>;
566 interrupts = <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>;
567 #iommu-cells = <0>;
568 ti,iommu-bus-err-back;
569 };
Suman Anna2c7e07c52015-10-02 18:23:24 -0500570 };
571
Nishanth Menona1b8ee12014-03-03 20:20:23 +0530572 abb_mpu: regulator-abb-mpu {
573 compatible = "ti,abb-v3";
574 regulator-name = "abb_mpu";
575 #address-cells = <0>;
576 #size-cells = <0>;
577 clocks = <&sys_clkin1>;
578 ti,settling-time = <50>;
579 ti,clock-cycles = <16>;
580
581 reg = <0x4ae07ddc 0x4>, <0x4ae07de0 0x4>,
Nishanth Menon18227342015-04-16 16:56:33 -0500582 <0x4ae06014 0x4>, <0x4a003b20 0xc>,
Nishanth Menona1b8ee12014-03-03 20:20:23 +0530583 <0x4ae0c158 0x4>;
584 reg-names = "setup-address", "control-address",
585 "int-address", "efuse-address",
586 "ldo-address";
587 ti,tranxdone-status-mask = <0x80>;
588 /* LDOVBBMPU_FBB_MUX_CTRL */
589 ti,ldovbb-override-mask = <0x400>;
590 /* LDOVBBMPU_FBB_VSET_OUT */
591 ti,ldovbb-vset-mask = <0x1F>;
592
593 /*
594 * NOTE: only FBB mode used but actual vset will
595 * determine final biasing
596 */
597 ti,abb_info = <
598 /*uV ABB efuse rbb_m fbb_m vset_m*/
599 1060000 0 0x0 0 0x02000000 0x01F00000
600 1160000 0 0x4 0 0x02000000 0x01F00000
601 1210000 0 0x8 0 0x02000000 0x01F00000
602 >;
603 };
604
605 abb_ivahd: regulator-abb-ivahd {
606 compatible = "ti,abb-v3";
607 regulator-name = "abb_ivahd";
608 #address-cells = <0>;
609 #size-cells = <0>;
610 clocks = <&sys_clkin1>;
611 ti,settling-time = <50>;
612 ti,clock-cycles = <16>;
613
614 reg = <0x4ae07e34 0x4>, <0x4ae07e24 0x4>,
Nishanth Menon18227342015-04-16 16:56:33 -0500615 <0x4ae06010 0x4>, <0x4a0025cc 0xc>,
Nishanth Menona1b8ee12014-03-03 20:20:23 +0530616 <0x4a002470 0x4>;
617 reg-names = "setup-address", "control-address",
618 "int-address", "efuse-address",
619 "ldo-address";
620 ti,tranxdone-status-mask = <0x40000000>;
621 /* LDOVBBIVA_FBB_MUX_CTRL */
622 ti,ldovbb-override-mask = <0x400>;
623 /* LDOVBBIVA_FBB_VSET_OUT */
624 ti,ldovbb-vset-mask = <0x1F>;
625
626 /*
627 * NOTE: only FBB mode used but actual vset will
628 * determine final biasing
629 */
630 ti,abb_info = <
631 /*uV ABB efuse rbb_m fbb_m vset_m*/
632 1055000 0 0x0 0 0x02000000 0x01F00000
633 1150000 0 0x4 0 0x02000000 0x01F00000
634 1250000 0 0x8 0 0x02000000 0x01F00000
635 >;
636 };
637
638 abb_dspeve: regulator-abb-dspeve {
639 compatible = "ti,abb-v3";
640 regulator-name = "abb_dspeve";
641 #address-cells = <0>;
642 #size-cells = <0>;
643 clocks = <&sys_clkin1>;
644 ti,settling-time = <50>;
645 ti,clock-cycles = <16>;
646
647 reg = <0x4ae07e30 0x4>, <0x4ae07e20 0x4>,
Nishanth Menon18227342015-04-16 16:56:33 -0500648 <0x4ae06010 0x4>, <0x4a0025e0 0xc>,
Nishanth Menona1b8ee12014-03-03 20:20:23 +0530649 <0x4a00246c 0x4>;
650 reg-names = "setup-address", "control-address",
651 "int-address", "efuse-address",
652 "ldo-address";
653 ti,tranxdone-status-mask = <0x20000000>;
654 /* LDOVBBDSPEVE_FBB_MUX_CTRL */
655 ti,ldovbb-override-mask = <0x400>;
656 /* LDOVBBDSPEVE_FBB_VSET_OUT */
657 ti,ldovbb-vset-mask = <0x1F>;
658
659 /*
660 * NOTE: only FBB mode used but actual vset will
661 * determine final biasing
662 */
663 ti,abb_info = <
664 /*uV ABB efuse rbb_m fbb_m vset_m*/
665 1055000 0 0x0 0 0x02000000 0x01F00000
666 1150000 0 0x4 0 0x02000000 0x01F00000
667 1250000 0 0x8 0 0x02000000 0x01F00000
668 >;
669 };
670
671 abb_gpu: regulator-abb-gpu {
672 compatible = "ti,abb-v3";
673 regulator-name = "abb_gpu";
674 #address-cells = <0>;
675 #size-cells = <0>;
676 clocks = <&sys_clkin1>;
677 ti,settling-time = <50>;
678 ti,clock-cycles = <16>;
679
680 reg = <0x4ae07de4 0x4>, <0x4ae07de8 0x4>,
Nishanth Menon18227342015-04-16 16:56:33 -0500681 <0x4ae06010 0x4>, <0x4a003b08 0xc>,
Nishanth Menona1b8ee12014-03-03 20:20:23 +0530682 <0x4ae0c154 0x4>;
683 reg-names = "setup-address", "control-address",
684 "int-address", "efuse-address",
685 "ldo-address";
686 ti,tranxdone-status-mask = <0x10000000>;
687 /* LDOVBBGPU_FBB_MUX_CTRL */
688 ti,ldovbb-override-mask = <0x400>;
689 /* LDOVBBGPU_FBB_VSET_OUT */
690 ti,ldovbb-vset-mask = <0x1F>;
691
692 /*
693 * NOTE: only FBB mode used but actual vset will
694 * determine final biasing
695 */
696 ti,abb_info = <
697 /*uV ABB efuse rbb_m fbb_m vset_m*/
698 1090000 0 0x0 0 0x02000000 0x01F00000
699 1210000 0 0x4 0 0x02000000 0x01F00000
700 1280000 0 0x8 0 0x02000000 0x01F00000
701 >;
702 };
703
Rob Herringcc893872018-09-13 13:12:25 -0500704 qspi: spi@4b300000 {
Sourav Poddardc2dd5b2014-05-06 16:37:24 +0530705 compatible = "ti,dra7xxx-qspi";
Vignesh R1929d0b2015-12-11 09:39:59 +0530706 reg = <0x4b300000 0x100>,
707 <0x5c000000 0x4000000>;
708 reg-names = "qspi_base", "qspi_mmap";
709 syscon-chipselects = <&scm_conf 0x558>;
Sourav Poddardc2dd5b2014-05-06 16:37:24 +0530710 #address-cells = <1>;
711 #size-cells = <0>;
712 ti,hwmods = "qspi";
Tero Kristob5f8ffb2018-08-31 18:14:51 +0300713 clocks = <&l4per2_clkctrl DRA7_L4PER2_QSPI_CLKCTRL 25>;
Sourav Poddardc2dd5b2014-05-06 16:37:24 +0530714 clock-names = "fck";
715 num-cs = <4>;
R Sricharana46631c2014-06-26 12:55:31 +0530716 interrupts = <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>;
Sourav Poddardc2dd5b2014-05-06 16:37:24 +0530717 status = "disabled";
718 };
Balaji T K7be80562014-05-07 14:58:58 +0300719
Balaji T K7be80562014-05-07 14:58:58 +0300720 /* OCP2SCP3 */
Balaji T K7be80562014-05-07 14:58:58 +0300721 sata: sata@4a141100 {
722 compatible = "snps,dwc-ahci";
723 reg = <0x4a140000 0x1100>, <0x4a141100 0x7>;
R Sricharana46631c2014-06-26 12:55:31 +0530724 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
Balaji T K7be80562014-05-07 14:58:58 +0300725 phys = <&sata_phy>;
726 phy-names = "sata-phy";
Tero Kristob5f8ffb2018-08-31 18:14:51 +0300727 clocks = <&l3init_clkctrl DRA7_L3INIT_SATA_CLKCTRL 8>;
Balaji T K7be80562014-05-07 14:58:58 +0300728 ti,hwmods = "sata";
Jean-Jacques Hiblot87cb1292017-01-09 13:22:15 +0100729 ports-implemented = <0x1>;
Balaji T K7be80562014-05-07 14:58:58 +0300730 };
Roger Quadrosfbf3e552014-05-05 12:54:45 +0300731
Roger Quadrosfbf3e552014-05-05 12:54:45 +0300732 /* OCP2SCP1 */
Roger Quadrosfbf3e552014-05-05 12:54:45 +0300733 /* IRQ for DWC3_3 and DWC3_4 need IRQ crossbar */
Tony Lindgren11fdf592020-10-19 10:45:58 +0300734
735 target-module@50000000 {
736 compatible = "ti,sysc-omap2", "ti,sysc";
737 reg = <0x50000000 4>,
738 <0x50000010 4>,
739 <0x50000014 4>;
740 reg-names = "rev", "sysc", "syss";
741 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
742 <SYSC_IDLE_NO>,
743 <SYSC_IDLE_SMART>;
744 ti,syss-mask = <1>;
745 clocks = <&l3main1_clkctrl DRA7_L3MAIN1_GPMC_CLKCTRL 0>;
746 clock-names = "fck";
747 #address-cells = <1>;
Minal Shahff66a3c2014-05-19 14:45:47 +0530748 #size-cells = <1>;
Tony Lindgren11fdf592020-10-19 10:45:58 +0300749 ranges = <0x50000000 0x50000000 0x00001000>, /* regs */
750 <0x00000000 0x00000000 0x40000000>; /* data */
751
752 gpmc: gpmc@50000000 {
753 compatible = "ti,am3352-gpmc";
754 reg = <0x50000000 0x37c>; /* device IO registers */
755 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
756 dmas = <&edma_xbar 4 0>;
757 dma-names = "rxtx";
758 gpmc,num-cs = <8>;
759 gpmc,num-waitpins = <2>;
760 #address-cells = <2>;
761 #size-cells = <1>;
762 interrupt-controller;
763 #interrupt-cells = <2>;
764 gpio-controller;
765 #gpio-cells = <2>;
766 status = "disabled";
767 };
Minal Shahff66a3c2014-05-19 14:45:47 +0530768 };
Peter Ujfalusi2ca09452014-05-07 13:20:48 +0300769
Tony Lindgren45e118b2019-11-01 09:31:23 -0700770 target-module@56000000 {
771 compatible = "ti,sysc-omap4", "ti,sysc";
772 reg = <0x5600fe00 0x4>,
773 <0x5600fe10 0x4>;
774 reg-names = "rev", "sysc";
775 ti,sysc-midle = <SYSC_IDLE_FORCE>,
776 <SYSC_IDLE_NO>,
777 <SYSC_IDLE_SMART>;
778 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
779 <SYSC_IDLE_NO>,
780 <SYSC_IDLE_SMART>;
781 clocks = <&gpu_clkctrl DRA7_GPU_CLKCTRL 0>;
782 clock-names = "fck";
783 #address-cells = <1>;
784 #size-cells = <1>;
785 ranges = <0 0x56000000 0x2000000>;
786 };
787
Marc Zyngier783d3182015-03-11 15:43:44 +0000788 crossbar_mpu: crossbar@4a002a48 {
R Sricharana46631c2014-06-26 12:55:31 +0530789 compatible = "ti,irq-crossbar";
790 reg = <0x4a002a48 0x130>;
Marc Zyngier783d3182015-03-11 15:43:44 +0000791 interrupt-controller;
Marc Zyngier7136d452015-03-11 15:43:49 +0000792 interrupt-parent = <&wakeupgen>;
Marc Zyngier783d3182015-03-11 15:43:44 +0000793 #interrupt-cells = <3>;
R Sricharana46631c2014-06-26 12:55:31 +0530794 ti,max-irqs = <160>;
795 ti,max-crossbar-sources = <MAX_SOURCES>;
796 ti,reg-size = <2>;
797 ti,irqs-reserved = <0 1 2 3 5 6 131 132>;
798 ti,irqs-skip = <10 133 139 140>;
799 ti,irqs-safe-map = <0>;
800 };
Mugunthan V Nef9c5b62014-10-21 15:31:00 +0530801
Tony Lindgrena50371f2020-03-04 08:10:41 -0800802 target-module@58000000 {
803 compatible = "ti,sysc-omap2", "ti,sysc";
Tony Lindgrena50371f2020-03-04 08:10:41 -0800804 reg = <0x58000000 4>,
805 <0x58000014 4>;
806 reg-names = "rev", "syss";
807 ti,syss-mask = <1>;
808 clocks = <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 0>,
809 <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 9>,
810 <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 10>,
811 <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 11>;
812 clock-names = "fck", "hdmi_clk", "sys_clk", "tv_clk";
Tomi Valkeinen95c1cd12014-07-09 16:15:18 +0530813 #address-cells = <1>;
814 #size-cells = <1>;
Tony Lindgrena50371f2020-03-04 08:10:41 -0800815 ranges = <0 0x58000000 0x800000>;
Tomi Valkeinen95c1cd12014-07-09 16:15:18 +0530816
Tony Lindgrena50371f2020-03-04 08:10:41 -0800817 dss: dss@0 {
818 compatible = "ti,dra7-dss";
819 /* 'reg' defined in dra72x.dtsi and dra74x.dtsi */
820 /* 'clocks' defined in dra72x.dtsi and dra74x.dtsi */
Tomi Valkeinen95c1cd12014-07-09 16:15:18 +0530821 status = "disabled";
Tony Lindgrena50371f2020-03-04 08:10:41 -0800822 /* CTRL_CORE_DSS_PLL_CONTROL */
823 syscon-pll-ctrl = <&scm_conf 0x538>;
824 #address-cells = <1>;
825 #size-cells = <1>;
826 ranges = <0 0 0x800000>;
827
Tony Lindgren9a951962020-03-04 08:10:42 -0800828 target-module@1000 {
829 compatible = "ti,sysc-omap2", "ti,sysc";
830 reg = <0x1000 0x4>,
831 <0x1010 0x4>,
832 <0x1014 0x4>;
833 reg-names = "rev", "sysc", "syss";
834 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
835 <SYSC_IDLE_NO>,
836 <SYSC_IDLE_SMART>;
837 ti,sysc-midle = <SYSC_IDLE_FORCE>,
838 <SYSC_IDLE_NO>,
839 <SYSC_IDLE_SMART>;
840 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
841 SYSC_OMAP2_ENAWAKEUP |
842 SYSC_OMAP2_SOFTRESET |
843 SYSC_OMAP2_AUTOIDLE)>;
844 ti,syss-mask = <1>;
845 clocks = <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 8>;
Tony Lindgrena50371f2020-03-04 08:10:41 -0800846 clock-names = "fck";
Tony Lindgren9a951962020-03-04 08:10:42 -0800847 #address-cells = <1>;
848 #size-cells = <1>;
849 ranges = <0 0x1000 0x1000>;
850
851 dispc@0 {
852 compatible = "ti,dra7-dispc";
853 reg = <0 0x1000>;
854 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
Tony Lindgren9a951962020-03-04 08:10:42 -0800855 clocks = <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 8>;
856 clock-names = "fck";
857 /* CTRL_CORE_SMA_SW_1 */
858 syscon-pol = <&scm_conf 0x534>;
859 };
Tony Lindgrena50371f2020-03-04 08:10:41 -0800860 };
861
Tony Lindgrenc4f47282020-03-04 08:10:42 -0800862 target-module@40000 {
863 compatible = "ti,sysc-omap4", "ti,sysc";
864 reg = <0x40000 0x4>,
865 <0x40010 0x4>;
866 reg-names = "rev", "sysc";
867 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
868 <SYSC_IDLE_NO>,
869 <SYSC_IDLE_SMART>,
870 <SYSC_IDLE_SMART_WKUP>;
871 ti,sysc-mask = <(SYSC_OMAP4_SOFTRESET)>;
872 clocks = <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 9>,
873 <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 8>;
874 clock-names = "fck", "dss_clk";
875 #address-cells = <1>;
876 #size-cells = <1>;
877 ranges = <0 0x40000 0x40000>;
878
879 hdmi: encoder@0 {
880 compatible = "ti,dra7-hdmi";
881 reg = <0 0x200>,
882 <0x200 0x80>,
883 <0x300 0x80>,
884 <0x20000 0x19000>;
885 reg-names = "wp", "pll", "phy", "core";
886 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
887 status = "disabled";
888 clocks = <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 9>,
889 <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 10>;
890 clock-names = "fck", "sys_clk";
891 dmas = <&sdma_xbar 76>;
892 dma-names = "audio_tx";
893 };
Tony Lindgrena50371f2020-03-04 08:10:41 -0800894 };
Tomi Valkeinen95c1cd12014-07-09 16:15:18 +0530895 };
896 };
Vignesh R34370142016-05-03 10:56:55 -0500897
Tony Lindgren2ea3ce22019-12-12 09:46:16 -0800898 aes1_target: target-module@4b500000 {
899 compatible = "ti,sysc-omap2", "ti,sysc";
Tony Lindgren2ea3ce22019-12-12 09:46:16 -0800900 reg = <0x4b500080 0x4>,
901 <0x4b500084 0x4>,
902 <0x4b500088 0x4>;
903 reg-names = "rev", "sysc", "syss";
904 ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
905 SYSC_OMAP2_AUTOIDLE)>;
906 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
907 <SYSC_IDLE_NO>,
908 <SYSC_IDLE_SMART>,
909 <SYSC_IDLE_SMART_WKUP>;
910 ti,syss-mask = <1>;
911 /* Domains (P, C): per_pwrdm, l4sec_clkdm */
912 clocks = <&l4sec_clkctrl DRA7_L4SEC_AES1_CLKCTRL 0>;
Joel Fernandese7fd15c2016-06-01 12:06:42 +0300913 clock-names = "fck";
Tony Lindgren2ea3ce22019-12-12 09:46:16 -0800914 #address-cells = <1>;
915 #size-cells = <1>;
916 ranges = <0x0 0x4b500000 0x1000>;
917
918 aes1: aes@0 {
919 compatible = "ti,omap4-aes";
920 reg = <0 0xa0>;
921 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
922 dmas = <&edma_xbar 111 0>, <&edma_xbar 110 0>;
923 dma-names = "tx", "rx";
924 clocks = <&l3_iclk_div>;
925 clock-names = "fck";
926 };
Joel Fernandese7fd15c2016-06-01 12:06:42 +0300927 };
928
Tony Lindgren2ea3ce22019-12-12 09:46:16 -0800929 aes2_target: target-module@4b700000 {
930 compatible = "ti,sysc-omap2", "ti,sysc";
Tony Lindgren2ea3ce22019-12-12 09:46:16 -0800931 reg = <0x4b700080 0x4>,
932 <0x4b700084 0x4>,
933 <0x4b700088 0x4>;
934 reg-names = "rev", "sysc", "syss";
935 ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
936 SYSC_OMAP2_AUTOIDLE)>;
937 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
938 <SYSC_IDLE_NO>,
939 <SYSC_IDLE_SMART>,
940 <SYSC_IDLE_SMART_WKUP>;
941 ti,syss-mask = <1>;
942 /* Domains (P, C): per_pwrdm, l4sec_clkdm */
943 clocks = <&l4sec_clkctrl DRA7_L4SEC_AES2_CLKCTRL 0>;
Joel Fernandese7fd15c2016-06-01 12:06:42 +0300944 clock-names = "fck";
Tony Lindgren2ea3ce22019-12-12 09:46:16 -0800945 #address-cells = <1>;
946 #size-cells = <1>;
947 ranges = <0x0 0x4b700000 0x1000>;
948
949 aes2: aes@0 {
950 compatible = "ti,omap4-aes";
951 reg = <0 0xa0>;
952 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
953 dmas = <&edma_xbar 114 0>, <&edma_xbar 113 0>;
954 dma-names = "tx", "rx";
955 clocks = <&l3_iclk_div>;
956 clock-names = "fck";
957 };
Joel Fernandese7fd15c2016-06-01 12:06:42 +0300958 };
959
Tero Kristobe5cd392020-09-07 12:52:46 +0300960 sham1_target: target-module@4b101000 {
Tony Lindgrene1326812019-12-12 09:46:15 -0800961 compatible = "ti,sysc-omap3-sham", "ti,sysc";
Tony Lindgrene1326812019-12-12 09:46:15 -0800962 reg = <0x4b101100 0x4>,
963 <0x4b101110 0x4>,
964 <0x4b101114 0x4>;
965 reg-names = "rev", "sysc", "syss";
966 ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
967 SYSC_OMAP2_AUTOIDLE)>;
968 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
969 <SYSC_IDLE_NO>,
970 <SYSC_IDLE_SMART>;
971 ti,syss-mask = <1>;
972 /* Domains (P, C): l4per_pwrdm, l4sec_clkdm */
973 clocks = <&l4sec_clkctrl DRA7_L4SEC_SHAM_CLKCTRL 0>;
Lokesh Vutlada346092016-06-01 12:06:43 +0300974 clock-names = "fck";
Tony Lindgrene1326812019-12-12 09:46:15 -0800975 #address-cells = <1>;
976 #size-cells = <1>;
977 ranges = <0x0 0x4b101000 0x1000>;
978
Tero Kristobe5cd392020-09-07 12:52:46 +0300979 sham1: sham@0 {
Tony Lindgrene1326812019-12-12 09:46:15 -0800980 compatible = "ti,omap5-sham";
981 reg = <0 0x300>;
982 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
983 dmas = <&edma_xbar 119 0>;
984 dma-names = "rx";
985 clocks = <&l3_iclk_div>;
986 clock-names = "fck";
987 };
Lokesh Vutlada346092016-06-01 12:06:43 +0300988 };
Lokesh Vutla610e9c42016-06-01 12:06:44 +0300989
Tero Kristobe5cd392020-09-07 12:52:46 +0300990 sham2_target: target-module@42701000 {
991 compatible = "ti,sysc-omap3-sham", "ti,sysc";
992 reg = <0x42701100 0x4>,
993 <0x42701110 0x4>,
994 <0x42701114 0x4>;
995 reg-names = "rev", "sysc", "syss";
996 ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
997 SYSC_OMAP2_AUTOIDLE)>;
998 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
999 <SYSC_IDLE_NO>,
1000 <SYSC_IDLE_SMART>;
1001 ti,syss-mask = <1>;
1002 /* Domains (P, C): l4per_pwrdm, l4sec_clkdm */
1003 clocks = <&l4sec_clkctrl DRA7_L4SEC_SHAM2_CLKCTRL 0>;
1004 clock-names = "fck";
1005 #address-cells = <1>;
1006 #size-cells = <1>;
1007 ranges = <0x0 0x42701000 0x1000>;
1008
1009 sham2: sham@0 {
1010 compatible = "ti,omap5-sham";
1011 reg = <0 0x300>;
1012 interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
1013 dmas = <&edma_xbar 165 0>;
1014 dma-names = "rx";
1015 clocks = <&l3_iclk_div>;
1016 clock-names = "fck";
1017 };
1018 };
1019
Tony Lindgrenae57d152020-11-12 11:57:03 +02001020 iva_hd_target: target-module@5a000000 {
1021 compatible = "ti,sysc-omap4", "ti,sysc";
1022 reg = <0x5a05a400 0x4>,
1023 <0x5a05a410 0x4>;
1024 reg-names = "rev", "sysc";
1025 ti,sysc-midle = <SYSC_IDLE_FORCE>,
1026 <SYSC_IDLE_NO>,
1027 <SYSC_IDLE_SMART>;
1028 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
1029 <SYSC_IDLE_NO>,
1030 <SYSC_IDLE_SMART>;
1031 power-domains = <&prm_iva>;
1032 resets = <&prm_iva 2>;
1033 reset-names = "rstctrl";
1034 clocks = <&iva_clkctrl DRA7_IVA_CLKCTRL 0>;
1035 clock-names = "fck";
1036 #address-cells = <1>;
1037 #size-cells = <1>;
1038 ranges = <0x5a000000 0x5a000000 0x1000000>,
1039 <0x5b000000 0x5b000000 0x1000000>;
1040
1041 iva {
1042 compatible = "ti,ivahd";
1043 };
1044 };
1045
Dave Gerlachdbef1962017-12-19 09:24:20 -06001046 opp_supply_mpu: opp-supply@4a003b20 {
1047 compatible = "ti,omap5-opp-supply";
1048 reg = <0x4a003b20 0xc>;
1049 ti,efuse-settings = <
1050 /* uV offset */
1051 1060000 0x0
1052 1160000 0x4
1053 1210000 0x8
1054 >;
1055 ti,absolute-max-voltage-uv = <1500000>;
1056 };
1057
R Sricharan6e58b8f2013-08-14 19:08:20 +05301058 };
Keerthyf7397ed2015-03-23 14:39:38 -05001059
1060 thermal_zones: thermal-zones {
1061 #include "omap4-cpu-thermal.dtsi"
1062 #include "omap5-gpu-thermal.dtsi"
1063 #include "omap5-core-thermal.dtsi"
Keerthy667f2592016-02-08 14:46:30 +05301064 #include "dra7-dspeve-thermal.dtsi"
1065 #include "dra7-iva-thermal.dtsi"
Keerthyf7397ed2015-03-23 14:39:38 -05001066 };
1067
1068};
1069
1070&cpu_thermal {
1071 polling-delay = <500>; /* milliseconds */
Keerthyfb51ae02017-03-09 13:35:56 +05301072 coefficients = <0 2000>;
1073};
1074
1075&gpu_thermal {
1076 coefficients = <0 2000>;
1077};
1078
1079&core_thermal {
1080 coefficients = <0 2000>;
1081};
1082
1083&dspeve_thermal {
1084 coefficients = <0 2000>;
1085};
1086
1087&iva_thermal {
1088 coefficients = <0 2000>;
R Sricharan6e58b8f2013-08-14 19:08:20 +05301089};
Tero Kristoee6c7502013-07-18 17:18:33 +03001090
Ravikumar Kattekolabca52382017-05-17 06:51:38 -07001091&cpu_crit {
1092 temperature = <120000>; /* milli Celsius */
1093};
1094
Ravikumar Kattekola64c358b2018-01-11 21:45:39 +05301095&core_crit {
1096 temperature = <120000>; /* milli Celsius */
1097};
1098
1099&gpu_crit {
1100 temperature = <120000>; /* milli Celsius */
1101};
1102
1103&dspeve_crit {
1104 temperature = <120000>; /* milli Celsius */
1105};
1106
1107&iva_crit {
1108 temperature = <120000>; /* milli Celsius */
1109};
Tony Lindgren4ed0dfe2018-09-27 13:39:07 -07001110
1111#include "dra7-l4.dtsi"
1112#include "dra7xx-clocks.dtsi"
Tero Kristodb7725d2019-10-10 11:21:04 +03001113
1114&prm {
Tero Kristo1021b372020-11-11 15:57:20 +02001115 prm_mpu: prm@300 {
1116 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1117 reg = <0x300 0x100>;
1118 #power-domain-cells = <0>;
1119 };
1120
Tero Kristodb7725d2019-10-10 11:21:04 +03001121 prm_dsp1: prm@400 {
1122 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1123 reg = <0x400 0x100>;
1124 #reset-cells = <1>;
Tero Kristo1021b372020-11-11 15:57:20 +02001125 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001126 };
1127
1128 prm_ipu: prm@500 {
1129 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1130 reg = <0x500 0x100>;
1131 #reset-cells = <1>;
Tero Kristo1021b372020-11-11 15:57:20 +02001132 #power-domain-cells = <0>;
1133 };
1134
1135 prm_coreaon: prm@628 {
1136 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1137 reg = <0x628 0xd8>;
1138 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001139 };
1140
1141 prm_core: prm@700 {
1142 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1143 reg = <0x700 0x100>;
1144 #reset-cells = <1>;
Tero Kristo1021b372020-11-11 15:57:20 +02001145 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001146 };
1147
1148 prm_iva: prm@f00 {
1149 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1150 reg = <0xf00 0x100>;
Tony Lindgrenae57d152020-11-12 11:57:03 +02001151 #reset-cells = <1>;
Tero Kristo1021b372020-11-11 15:57:20 +02001152 #power-domain-cells = <0>;
1153 };
1154
1155 prm_cam: prm@1000 {
1156 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1157 reg = <0x1000 0x100>;
1158 #power-domain-cells = <0>;
1159 };
1160
1161 prm_dss: prm@1100 {
1162 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1163 reg = <0x1100 0x100>;
1164 #power-domain-cells = <0>;
1165 };
1166
1167 prm_gpu: prm@1200 {
1168 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1169 reg = <0x1200 0x100>;
1170 #power-domain-cells = <0>;
1171 };
1172
1173 prm_l3init: prm@1300 {
1174 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1175 reg = <0x1300 0x100>;
1176 #reset-cells = <1>;
1177 #power-domain-cells = <0>;
1178 };
1179
1180 prm_l4per: prm@1400 {
1181 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1182 reg = <0x1400 0x100>;
1183 #power-domain-cells = <0>;
1184 };
1185
1186 prm_custefuse: prm@1600 {
1187 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1188 reg = <0x1600 0x100>;
1189 #power-domain-cells = <0>;
1190 };
1191
1192 prm_wkupaon: prm@1724 {
1193 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1194 reg = <0x1724 0x100>;
1195 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001196 };
1197
1198 prm_dsp2: prm@1b00 {
1199 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1200 reg = <0x1b00 0x40>;
1201 #reset-cells = <1>;
Tero Kristo1021b372020-11-11 15:57:20 +02001202 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001203 };
1204
1205 prm_eve1: prm@1b40 {
1206 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1207 reg = <0x1b40 0x40>;
Tero Kristo1021b372020-11-11 15:57:20 +02001208 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001209 };
1210
1211 prm_eve2: prm@1b80 {
1212 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1213 reg = <0x1b80 0x40>;
Tero Kristo1021b372020-11-11 15:57:20 +02001214 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001215 };
1216
1217 prm_eve3: prm@1bc0 {
1218 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1219 reg = <0x1bc0 0x40>;
Tero Kristo1021b372020-11-11 15:57:20 +02001220 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001221 };
1222
1223 prm_eve4: prm@1c00 {
1224 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1225 reg = <0x1c00 0x60>;
Tero Kristo1021b372020-11-11 15:57:20 +02001226 #power-domain-cells = <0>;
1227 };
1228
1229 prm_rtc: prm@1c60 {
1230 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1231 reg = <0x1c60 0x20>;
1232 #power-domain-cells = <0>;
1233 };
1234
1235 prm_vpe: prm@1c80 {
1236 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1237 reg = <0x1c80 0x80>;
1238 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001239 };
1240};
Tony Lindgren036a3d42020-05-07 09:59:31 -07001241
1242/* Preferred always-on timer for clockevent */
1243&timer1_target {
1244 ti,no-reset-on-init;
1245 ti,no-idle;
1246 timer@0 {
1247 assigned-clocks = <&wkupaon_clkctrl DRA7_TIMER1_CLKCTRL 24>;
1248 assigned-clock-parents = <&sys_32k_ck>;
1249 };
1250};