blob: bdab879e59ea69bf5e6d44a1ebd08843277c6e8e [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/*
3 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
4 *
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;
Mugunthan V Nef9c5b62014-10-21 15:31:00 +053040 ethernet0 = &cpsw_emac0;
41 ethernet1 = &cpsw_emac1;
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>;
R Sricharan6e58b8f2013-08-14 19:08:20 +0530151 ti,hwmods = "l3_main_1", "l3_main_2";
Lokesh Vutladae320e2016-02-24 15:41:04 +0530152 reg = <0x0 0x44000000 0x0 0x1000000>,
153 <0x0 0x45000000 0x0 0x1000>;
Marc Zyngier783d3182015-03-11 15:43:44 +0000154 interrupts-extended = <&crossbar_mpu GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
Marc Zyngier7136d452015-03-11 15:43:49 +0000155 <&wakeupgen GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
R Sricharan6e58b8f2013-08-14 19:08:20 +0530156
Tony Lindgren4ed0dfe2018-09-27 13:39:07 -0700157 l4_cfg: interconnect@4a000000 {
Tero Kristod9195012015-02-12 11:37:13 +0200158 };
Tony Lindgren4ed0dfe2018-09-27 13:39:07 -0700159 l4_wkup: interconnect@4ae00000 {
160 };
161 l4_per1: interconnect@48000000 {
162 };
163 l4_per2: interconnect@48400000 {
164 };
165 l4_per3: interconnect@48800000 {
Tero Kristoee6c7502013-07-18 17:18:33 +0300166 };
167
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530168 axi@0 {
169 compatible = "simple-bus";
170 #size-cells = <1>;
171 #address-cells = <1>;
172 ranges = <0x51000000 0x51000000 0x3000
173 0x0 0x20000000 0x10000000>;
Kishon Vijay Abraham Id23f3832017-08-08 11:10:24 +0530174 /**
175 * To enable PCI endpoint mode, disable the pcie1_rc
176 * node and enable pcie1_ep mode.
177 */
178 pcie1_rc: pcie@51000000 {
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530179 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>;
183 #size-cells = <2>;
184 device_type = "pci";
185 ranges = <0x81000000 0 0 0x03000 0 0x00010000
186 0x82000000 0 0x20013000 0x13000 0 0xffed000>;
Rob Herring7d79f602017-03-21 21:03:01 -0500187 bus-range = <0x00 0xff>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530188 #interrupt-cells = <1>;
189 num-lanes = <1>;
Kishon Vijay Abraham Ibed596d2016-08-10 18:03:18 +0530190 linux,pci-domain = <0>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530191 ti,hwmods = "pcie1";
192 phys = <&pcie1_phy>;
193 phy-names = "pcie-phy0";
Kishon Vijay Abraham Ib5acec02019-03-25 15:15:25 +0530194 ti,syscon-lane-sel = <&scm_conf_pcie 0x18>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530195 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>;
Vignesh Rb8305262018-09-28 11:34:42 +0530200 ti,syscon-unaligned-access = <&scm_conf1 0x14 1>;
Kishon Vijay Abraham Id23f3832017-08-08 11:10:24 +0530201 status = "disabled";
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530202 pcie1_intc: interrupt-controller {
203 interrupt-controller;
204 #address-cells = <0>;
205 #interrupt-cells = <1>;
206 };
207 };
Kishon Vijay Abraham Id23f3832017-08-08 11:10:24 +0530208
209 pcie1_ep: pcie_ep@51000000 {
Kishon Vijay Abraham Id23f3832017-08-08 11:10:24 +0530210 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>;
213 num-lanes = <1>;
214 num-ib-windows = <4>;
215 num-ob-windows = <16>;
216 ti,hwmods = "pcie1";
217 phys = <&pcie1_phy>;
218 phy-names = "pcie-phy0";
Vignesh R6d0af442018-09-25 10:51:51 +0530219 ti,syscon-unaligned-access = <&scm_conf1 0x14 1>;
Kishon Vijay Abraham Ib5acec02019-03-25 15:15:25 +0530220 ti,syscon-lane-sel = <&scm_conf_pcie 0x18>;
Kishon Vijay Abraham Id23f3832017-08-08 11:10:24 +0530221 status = "disabled";
222 };
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530223 };
224
225 axi@1 {
226 compatible = "simple-bus";
227 #size-cells = <1>;
228 #address-cells = <1>;
229 ranges = <0x51800000 0x51800000 0x3000
230 0x0 0x30000000 0x10000000>;
231 status = "disabled";
Kishon Vijay Abraham I1ac19c82017-12-19 15:01:28 +0530232 pcie2_rc: pcie@51800000 {
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530233 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>;
237 #size-cells = <2>;
238 device_type = "pci";
239 ranges = <0x81000000 0 0 0x03000 0 0x00010000
240 0x82000000 0 0x30013000 0x13000 0 0xffed000>;
Rob Herring7d79f602017-03-21 21:03:01 -0500241 bus-range = <0x00 0xff>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530242 #interrupt-cells = <1>;
243 num-lanes = <1>;
Kishon Vijay Abraham Ibed596d2016-08-10 18:03:18 +0530244 linux,pci-domain = <1>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530245 ti,hwmods = "pcie2";
246 phys = <&pcie2_phy>;
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>;
Vignesh Rb8305262018-09-28 11:34:42 +0530253 ti,syscon-unaligned-access = <&scm_conf1 0x14 2>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530254 pcie2_intc: interrupt-controller {
255 interrupt-controller;
256 #address-cells = <0>;
257 #interrupt-cells = <1>;
258 };
259 };
260 };
261
Dave Gerlacha5fa09b2016-05-10 14:49:41 -0500262 ocmcram1: ocmcram@40300000 {
263 compatible = "mmio-sram";
264 reg = <0x40300000 0x80000>;
265 ranges = <0x0 0x40300000 0x80000>;
266 #address-cells = <1>;
267 #size-cells = <1>;
Dave Gerlachfae3a9f2016-05-10 14:49:42 -0500268 /*
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.
278 */
279 sram-hs@0 {
280 compatible = "ti,secure-ram";
281 reg = <0x0 0x0>;
282 };
Dave Gerlacha5fa09b2016-05-10 14:49:41 -0500283 };
284
285 /*
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.
290 */
291 ocmcram2: ocmcram@40400000 {
292 status = "disabled";
293 compatible = "mmio-sram";
294 reg = <0x40400000 0x100000>;
295 ranges = <0x0 0x40400000 0x100000>;
296 #address-cells = <1>;
297 #size-cells = <1>;
298 };
299
300 ocmcram3: ocmcram@40500000 {
301 status = "disabled";
302 compatible = "mmio-sram";
303 reg = <0x40500000 0x100000>;
304 ranges = <0x0 0x40500000 0x100000>;
305 #address-cells = <1>;
306 #size-cells = <1>;
307 };
308
Keerthyf7397ed2015-03-23 14:39:38 -0500309 bandgap: bandgap@4a0021e0 {
310 reg = <0x4a0021e0 0xc
311 0x4a00232c 0xc
312 0x4a002380 0x2c
313 0x4a0023C0 0x3c
314 0x4a002564 0x8
315 0x4a002574 0x50>;
316 compatible = "ti,dra752-bandgap";
317 interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
318 #thermal-sensor-cells = <1>;
319 };
320
Suman Anna99639ac2015-10-02 18:23:22 -0500321 dsp1_system: dsp_system@40d00000 {
322 compatible = "syscon";
323 reg = <0x40d00000 0x100>;
324 };
325
Tony Lindgreneba61302017-06-16 17:24:29 +0530326 dra7_iodelay_core: padconf@4844a000 {
327 compatible = "ti,dra7-iodelay";
328 reg = <0x4844a000 0x0d1c>;
329 #address-cells = <1>;
330 #size-cells = <0>;
331 #pinctrl-cells = <2>;
332 };
333
Tony Lindgren13149bb2020-03-04 07:25:31 -0800334 target-module@43300000 {
335 compatible = "ti,sysc-omap4", "ti,sysc";
Peter Ujfalusi248948f2016-03-07 17:17:29 +0200336 ti,hwmods = "tpcc";
Tony Lindgren13149bb2020-03-04 07:25:31 -0800337 reg = <0x43300000 0x4>;
338 reg-names = "rev";
339 clocks = <&l3main1_clkctrl DRA7_L3MAIN1_TPCC_CLKCTRL 0>;
340 clock-names = "fck";
341 #address-cells = <1>;
342 #size-cells = <1>;
343 ranges = <0x0 0x43300000 0x100000>;
Peter Ujfalusi248948f2016-03-07 17:17:29 +0200344
Tony Lindgren13149bb2020-03-04 07:25:31 -0800345 edma: dma@0 {
346 compatible = "ti,edma3-tpcc";
347 reg = <0 0x100000>;
348 reg-names = "edma3_cc";
349 interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>,
350 <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>,
351 <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
352 interrupt-names = "edma3_ccint", "edma3_mperr",
353 "edma3_ccerrint";
354 dma-requests = <64>;
355 #dma-cells = <2>;
Peter Ujfalusi248948f2016-03-07 17:17:29 +0200356
Tony Lindgren13149bb2020-03-04 07:25:31 -0800357 ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 0>;
358
359 /*
360 * memcpy is disabled, can be enabled with:
361 * ti,edma-memcpy-channels = <20 21>;
362 * for example. Note that these channels need to be
363 * masked in the xbar as well.
364 */
365 };
Peter Ujfalusi248948f2016-03-07 17:17:29 +0200366 };
367
Tony Lindgren103d2642020-03-04 07:25:31 -0800368 target-module@43400000 {
369 compatible = "ti,sysc-omap4", "ti,sysc";
Peter Ujfalusi248948f2016-03-07 17:17:29 +0200370 ti,hwmods = "tptc0";
Tony Lindgren103d2642020-03-04 07:25:31 -0800371 reg = <0x43400000 0x4>;
372 reg-names = "rev";
373 clocks = <&l3main1_clkctrl DRA7_L3MAIN1_TPTC0_CLKCTRL 0>;
374 clock-names = "fck";
375 #address-cells = <1>;
376 #size-cells = <1>;
377 ranges = <0x0 0x43400000 0x100000>;
378
379 edma_tptc0: dma@0 {
380 compatible = "ti,edma3-tptc";
381 reg = <0 0x100000>;
382 interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
383 interrupt-names = "edma3_tcerrint";
384 };
Peter Ujfalusi248948f2016-03-07 17:17:29 +0200385 };
386
387 edma_tptc1: tptc@43500000 {
388 compatible = "ti,edma3-tptc";
389 ti,hwmods = "tptc1";
390 reg = <0x43500000 0x100000>;
391 interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
392 interrupt-names = "edma3_tcerrint";
393 };
394
Archit Taneja1a5fe3c2013-12-17 15:32:21 +0530395 dmm@4e000000 {
396 compatible = "ti,omap5-dmm";
397 reg = <0x4e000000 0x800>;
R Sricharana46631c2014-06-26 12:55:31 +0530398 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
Archit Taneja1a5fe3c2013-12-17 15:32:21 +0530399 ti,hwmods = "dmm";
400 };
401
Tero Kristodbd2d6f2019-12-12 14:51:18 +0200402 target-module@40d01000 {
403 compatible = "ti,sysc-omap2", "ti,sysc";
404 reg = <0x40d01000 0x4>,
405 <0x40d01010 0x4>,
406 <0x40d01014 0x4>;
407 reg-names = "rev", "sysc", "syss";
408 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
409 <SYSC_IDLE_NO>,
410 <SYSC_IDLE_SMART>;
411 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
412 SYSC_OMAP2_SOFTRESET |
413 SYSC_OMAP2_AUTOIDLE)>;
414 clocks = <&dsp1_clkctrl DRA7_DSP1_MMU0_DSP1_CLKCTRL 0>;
415 clock-names = "fck";
416 resets = <&prm_dsp1 1>;
417 reset-names = "rstctrl";
418 ranges = <0x0 0x40d01000 0x1000>;
419 #size-cells = <1>;
420 #address-cells = <1>;
421
422 mmu0_dsp1: mmu@0 {
423 compatible = "ti,dra7-dsp-iommu";
424 reg = <0x0 0x100>;
425 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
426 #iommu-cells = <0>;
427 ti,syscon-mmuconfig = <&dsp1_system 0x0>;
428 };
Suman Anna2c7e07c52015-10-02 18:23:24 -0500429 };
430
Tero Kristodbd2d6f2019-12-12 14:51:18 +0200431 target-module@40d02000 {
432 compatible = "ti,sysc-omap2", "ti,sysc";
433 reg = <0x40d02000 0x4>,
434 <0x40d02010 0x4>,
435 <0x40d02014 0x4>;
436 reg-names = "rev", "sysc", "syss";
437 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
438 <SYSC_IDLE_NO>,
439 <SYSC_IDLE_SMART>;
440 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
441 SYSC_OMAP2_SOFTRESET |
442 SYSC_OMAP2_AUTOIDLE)>;
443 clocks = <&dsp1_clkctrl DRA7_DSP1_MMU0_DSP1_CLKCTRL 0>;
444 clock-names = "fck";
445 resets = <&prm_dsp1 1>;
446 reset-names = "rstctrl";
447 ranges = <0x0 0x40d02000 0x1000>;
448 #size-cells = <1>;
449 #address-cells = <1>;
450
451 mmu1_dsp1: mmu@0 {
452 compatible = "ti,dra7-dsp-iommu";
453 reg = <0x0 0x100>;
454 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
455 #iommu-cells = <0>;
456 ti,syscon-mmuconfig = <&dsp1_system 0x1>;
457 };
Suman Anna2c7e07c52015-10-02 18:23:24 -0500458 };
459
Tero Kristodbd2d6f2019-12-12 14:51:18 +0200460 target-module@58882000 {
461 compatible = "ti,sysc-omap2", "ti,sysc";
462 reg = <0x58882000 0x4>,
463 <0x58882010 0x4>,
464 <0x58882014 0x4>;
465 reg-names = "rev", "sysc", "syss";
466 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
467 <SYSC_IDLE_NO>,
468 <SYSC_IDLE_SMART>;
469 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
470 SYSC_OMAP2_SOFTRESET |
471 SYSC_OMAP2_AUTOIDLE)>;
472 clocks = <&ipu1_clkctrl DRA7_IPU1_MMU_IPU1_CLKCTRL 0>;
473 clock-names = "fck";
474 resets = <&prm_ipu 2>;
475 reset-names = "rstctrl";
476 #address-cells = <1>;
477 #size-cells = <1>;
478 ranges = <0x0 0x58882000 0x100>;
479
480 mmu_ipu1: mmu@0 {
481 compatible = "ti,dra7-iommu";
482 reg = <0x0 0x100>;
483 interrupts = <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>;
484 #iommu-cells = <0>;
485 ti,iommu-bus-err-back;
486 };
Suman Anna2c7e07c52015-10-02 18:23:24 -0500487 };
488
Tero Kristodbd2d6f2019-12-12 14:51:18 +0200489 target-module@55082000 {
490 compatible = "ti,sysc-omap2", "ti,sysc";
491 reg = <0x55082000 0x4>,
492 <0x55082010 0x4>,
493 <0x55082014 0x4>;
494 reg-names = "rev", "sysc", "syss";
495 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
496 <SYSC_IDLE_NO>,
497 <SYSC_IDLE_SMART>;
498 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
499 SYSC_OMAP2_SOFTRESET |
500 SYSC_OMAP2_AUTOIDLE)>;
501 clocks = <&ipu2_clkctrl DRA7_IPU2_MMU_IPU2_CLKCTRL 0>;
502 clock-names = "fck";
503 resets = <&prm_core 2>;
504 reset-names = "rstctrl";
505 #address-cells = <1>;
506 #size-cells = <1>;
507 ranges = <0x0 0x55082000 0x100>;
508
509 mmu_ipu2: mmu@0 {
510 compatible = "ti,dra7-iommu";
511 reg = <0x0 0x100>;
512 interrupts = <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>;
513 #iommu-cells = <0>;
514 ti,iommu-bus-err-back;
515 };
Suman Anna2c7e07c52015-10-02 18:23:24 -0500516 };
517
Nishanth Menona1b8ee12014-03-03 20:20:23 +0530518 abb_mpu: regulator-abb-mpu {
519 compatible = "ti,abb-v3";
520 regulator-name = "abb_mpu";
521 #address-cells = <0>;
522 #size-cells = <0>;
523 clocks = <&sys_clkin1>;
524 ti,settling-time = <50>;
525 ti,clock-cycles = <16>;
526
527 reg = <0x4ae07ddc 0x4>, <0x4ae07de0 0x4>,
Nishanth Menon18227342015-04-16 16:56:33 -0500528 <0x4ae06014 0x4>, <0x4a003b20 0xc>,
Nishanth Menona1b8ee12014-03-03 20:20:23 +0530529 <0x4ae0c158 0x4>;
530 reg-names = "setup-address", "control-address",
531 "int-address", "efuse-address",
532 "ldo-address";
533 ti,tranxdone-status-mask = <0x80>;
534 /* LDOVBBMPU_FBB_MUX_CTRL */
535 ti,ldovbb-override-mask = <0x400>;
536 /* LDOVBBMPU_FBB_VSET_OUT */
537 ti,ldovbb-vset-mask = <0x1F>;
538
539 /*
540 * NOTE: only FBB mode used but actual vset will
541 * determine final biasing
542 */
543 ti,abb_info = <
544 /*uV ABB efuse rbb_m fbb_m vset_m*/
545 1060000 0 0x0 0 0x02000000 0x01F00000
546 1160000 0 0x4 0 0x02000000 0x01F00000
547 1210000 0 0x8 0 0x02000000 0x01F00000
548 >;
549 };
550
551 abb_ivahd: regulator-abb-ivahd {
552 compatible = "ti,abb-v3";
553 regulator-name = "abb_ivahd";
554 #address-cells = <0>;
555 #size-cells = <0>;
556 clocks = <&sys_clkin1>;
557 ti,settling-time = <50>;
558 ti,clock-cycles = <16>;
559
560 reg = <0x4ae07e34 0x4>, <0x4ae07e24 0x4>,
Nishanth Menon18227342015-04-16 16:56:33 -0500561 <0x4ae06010 0x4>, <0x4a0025cc 0xc>,
Nishanth Menona1b8ee12014-03-03 20:20:23 +0530562 <0x4a002470 0x4>;
563 reg-names = "setup-address", "control-address",
564 "int-address", "efuse-address",
565 "ldo-address";
566 ti,tranxdone-status-mask = <0x40000000>;
567 /* LDOVBBIVA_FBB_MUX_CTRL */
568 ti,ldovbb-override-mask = <0x400>;
569 /* LDOVBBIVA_FBB_VSET_OUT */
570 ti,ldovbb-vset-mask = <0x1F>;
571
572 /*
573 * NOTE: only FBB mode used but actual vset will
574 * determine final biasing
575 */
576 ti,abb_info = <
577 /*uV ABB efuse rbb_m fbb_m vset_m*/
578 1055000 0 0x0 0 0x02000000 0x01F00000
579 1150000 0 0x4 0 0x02000000 0x01F00000
580 1250000 0 0x8 0 0x02000000 0x01F00000
581 >;
582 };
583
584 abb_dspeve: regulator-abb-dspeve {
585 compatible = "ti,abb-v3";
586 regulator-name = "abb_dspeve";
587 #address-cells = <0>;
588 #size-cells = <0>;
589 clocks = <&sys_clkin1>;
590 ti,settling-time = <50>;
591 ti,clock-cycles = <16>;
592
593 reg = <0x4ae07e30 0x4>, <0x4ae07e20 0x4>,
Nishanth Menon18227342015-04-16 16:56:33 -0500594 <0x4ae06010 0x4>, <0x4a0025e0 0xc>,
Nishanth Menona1b8ee12014-03-03 20:20:23 +0530595 <0x4a00246c 0x4>;
596 reg-names = "setup-address", "control-address",
597 "int-address", "efuse-address",
598 "ldo-address";
599 ti,tranxdone-status-mask = <0x20000000>;
600 /* LDOVBBDSPEVE_FBB_MUX_CTRL */
601 ti,ldovbb-override-mask = <0x400>;
602 /* LDOVBBDSPEVE_FBB_VSET_OUT */
603 ti,ldovbb-vset-mask = <0x1F>;
604
605 /*
606 * NOTE: only FBB mode used but actual vset will
607 * determine final biasing
608 */
609 ti,abb_info = <
610 /*uV ABB efuse rbb_m fbb_m vset_m*/
611 1055000 0 0x0 0 0x02000000 0x01F00000
612 1150000 0 0x4 0 0x02000000 0x01F00000
613 1250000 0 0x8 0 0x02000000 0x01F00000
614 >;
615 };
616
617 abb_gpu: regulator-abb-gpu {
618 compatible = "ti,abb-v3";
619 regulator-name = "abb_gpu";
620 #address-cells = <0>;
621 #size-cells = <0>;
622 clocks = <&sys_clkin1>;
623 ti,settling-time = <50>;
624 ti,clock-cycles = <16>;
625
626 reg = <0x4ae07de4 0x4>, <0x4ae07de8 0x4>,
Nishanth Menon18227342015-04-16 16:56:33 -0500627 <0x4ae06010 0x4>, <0x4a003b08 0xc>,
Nishanth Menona1b8ee12014-03-03 20:20:23 +0530628 <0x4ae0c154 0x4>;
629 reg-names = "setup-address", "control-address",
630 "int-address", "efuse-address",
631 "ldo-address";
632 ti,tranxdone-status-mask = <0x10000000>;
633 /* LDOVBBGPU_FBB_MUX_CTRL */
634 ti,ldovbb-override-mask = <0x400>;
635 /* LDOVBBGPU_FBB_VSET_OUT */
636 ti,ldovbb-vset-mask = <0x1F>;
637
638 /*
639 * NOTE: only FBB mode used but actual vset will
640 * determine final biasing
641 */
642 ti,abb_info = <
643 /*uV ABB efuse rbb_m fbb_m vset_m*/
644 1090000 0 0x0 0 0x02000000 0x01F00000
645 1210000 0 0x4 0 0x02000000 0x01F00000
646 1280000 0 0x8 0 0x02000000 0x01F00000
647 >;
648 };
649
Rob Herringcc893872018-09-13 13:12:25 -0500650 qspi: spi@4b300000 {
Sourav Poddardc2dd5b2014-05-06 16:37:24 +0530651 compatible = "ti,dra7xxx-qspi";
Vignesh R1929d0b2015-12-11 09:39:59 +0530652 reg = <0x4b300000 0x100>,
653 <0x5c000000 0x4000000>;
654 reg-names = "qspi_base", "qspi_mmap";
655 syscon-chipselects = <&scm_conf 0x558>;
Sourav Poddardc2dd5b2014-05-06 16:37:24 +0530656 #address-cells = <1>;
657 #size-cells = <0>;
658 ti,hwmods = "qspi";
Tero Kristob5f8ffb2018-08-31 18:14:51 +0300659 clocks = <&l4per2_clkctrl DRA7_L4PER2_QSPI_CLKCTRL 25>;
Sourav Poddardc2dd5b2014-05-06 16:37:24 +0530660 clock-names = "fck";
661 num-cs = <4>;
R Sricharana46631c2014-06-26 12:55:31 +0530662 interrupts = <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>;
Sourav Poddardc2dd5b2014-05-06 16:37:24 +0530663 status = "disabled";
664 };
Balaji T K7be80562014-05-07 14:58:58 +0300665
Balaji T K7be80562014-05-07 14:58:58 +0300666 /* OCP2SCP3 */
Balaji T K7be80562014-05-07 14:58:58 +0300667 sata: sata@4a141100 {
668 compatible = "snps,dwc-ahci";
669 reg = <0x4a140000 0x1100>, <0x4a141100 0x7>;
R Sricharana46631c2014-06-26 12:55:31 +0530670 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
Balaji T K7be80562014-05-07 14:58:58 +0300671 phys = <&sata_phy>;
672 phy-names = "sata-phy";
Tero Kristob5f8ffb2018-08-31 18:14:51 +0300673 clocks = <&l3init_clkctrl DRA7_L3INIT_SATA_CLKCTRL 8>;
Balaji T K7be80562014-05-07 14:58:58 +0300674 ti,hwmods = "sata";
Jean-Jacques Hiblot87cb1292017-01-09 13:22:15 +0100675 ports-implemented = <0x1>;
Balaji T K7be80562014-05-07 14:58:58 +0300676 };
Roger Quadrosfbf3e552014-05-05 12:54:45 +0300677
Roger Quadrosfbf3e552014-05-05 12:54:45 +0300678 /* OCP2SCP1 */
Roger Quadrosfbf3e552014-05-05 12:54:45 +0300679 /* IRQ for DWC3_3 and DWC3_4 need IRQ crossbar */
Minal Shahff66a3c2014-05-19 14:45:47 +0530680 gpmc: gpmc@50000000 {
681 compatible = "ti,am3352-gpmc";
682 ti,hwmods = "gpmc";
683 reg = <0x50000000 0x37c>; /* device IO registers */
R Sricharana46631c2014-06-26 12:55:31 +0530684 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
Franklin S Cooper Jr10ce2402016-05-04 12:43:55 -0500685 dmas = <&edma_xbar 4 0>;
686 dma-names = "rxtx";
Minal Shahff66a3c2014-05-19 14:45:47 +0530687 gpmc,num-cs = <8>;
688 gpmc,num-waitpins = <2>;
689 #address-cells = <2>;
690 #size-cells = <1>;
Roger Quadros488f270d2016-02-23 18:37:17 +0200691 interrupt-controller;
692 #interrupt-cells = <2>;
Roger Quadros845b1a22016-04-07 13:25:31 +0300693 gpio-controller;
694 #gpio-cells = <2>;
Minal Shahff66a3c2014-05-19 14:45:47 +0530695 status = "disabled";
696 };
Peter Ujfalusi2ca09452014-05-07 13:20:48 +0300697
Tony Lindgren45e118b2019-11-01 09:31:23 -0700698 target-module@56000000 {
699 compatible = "ti,sysc-omap4", "ti,sysc";
700 reg = <0x5600fe00 0x4>,
701 <0x5600fe10 0x4>;
702 reg-names = "rev", "sysc";
703 ti,sysc-midle = <SYSC_IDLE_FORCE>,
704 <SYSC_IDLE_NO>,
705 <SYSC_IDLE_SMART>;
706 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
707 <SYSC_IDLE_NO>,
708 <SYSC_IDLE_SMART>;
709 clocks = <&gpu_clkctrl DRA7_GPU_CLKCTRL 0>;
710 clock-names = "fck";
711 #address-cells = <1>;
712 #size-cells = <1>;
713 ranges = <0 0x56000000 0x2000000>;
714 };
715
Marc Zyngier783d3182015-03-11 15:43:44 +0000716 crossbar_mpu: crossbar@4a002a48 {
R Sricharana46631c2014-06-26 12:55:31 +0530717 compatible = "ti,irq-crossbar";
718 reg = <0x4a002a48 0x130>;
Marc Zyngier783d3182015-03-11 15:43:44 +0000719 interrupt-controller;
Marc Zyngier7136d452015-03-11 15:43:49 +0000720 interrupt-parent = <&wakeupgen>;
Marc Zyngier783d3182015-03-11 15:43:44 +0000721 #interrupt-cells = <3>;
R Sricharana46631c2014-06-26 12:55:31 +0530722 ti,max-irqs = <160>;
723 ti,max-crossbar-sources = <MAX_SOURCES>;
724 ti,reg-size = <2>;
725 ti,irqs-reserved = <0 1 2 3 5 6 131 132>;
726 ti,irqs-skip = <10 133 139 140>;
727 ti,irqs-safe-map = <0>;
728 };
Mugunthan V Nef9c5b62014-10-21 15:31:00 +0530729
Tony Lindgrena50371f2020-03-04 08:10:41 -0800730 target-module@58000000 {
731 compatible = "ti,sysc-omap2", "ti,sysc";
Tony Lindgrena50371f2020-03-04 08:10:41 -0800732 reg = <0x58000000 4>,
733 <0x58000014 4>;
734 reg-names = "rev", "syss";
735 ti,syss-mask = <1>;
736 clocks = <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 0>,
737 <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 9>,
738 <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 10>,
739 <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 11>;
740 clock-names = "fck", "hdmi_clk", "sys_clk", "tv_clk";
Tomi Valkeinen95c1cd12014-07-09 16:15:18 +0530741 #address-cells = <1>;
742 #size-cells = <1>;
Tony Lindgrena50371f2020-03-04 08:10:41 -0800743 ranges = <0 0x58000000 0x800000>;
Tomi Valkeinen95c1cd12014-07-09 16:15:18 +0530744
Tony Lindgrena50371f2020-03-04 08:10:41 -0800745 dss: dss@0 {
746 compatible = "ti,dra7-dss";
747 /* 'reg' defined in dra72x.dtsi and dra74x.dtsi */
748 /* 'clocks' defined in dra72x.dtsi and dra74x.dtsi */
Tomi Valkeinen95c1cd12014-07-09 16:15:18 +0530749 status = "disabled";
Tony Lindgrena50371f2020-03-04 08:10:41 -0800750 /* CTRL_CORE_DSS_PLL_CONTROL */
751 syscon-pll-ctrl = <&scm_conf 0x538>;
752 #address-cells = <1>;
753 #size-cells = <1>;
754 ranges = <0 0 0x800000>;
755
Tony Lindgren9a951962020-03-04 08:10:42 -0800756 target-module@1000 {
757 compatible = "ti,sysc-omap2", "ti,sysc";
758 reg = <0x1000 0x4>,
759 <0x1010 0x4>,
760 <0x1014 0x4>;
761 reg-names = "rev", "sysc", "syss";
762 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
763 <SYSC_IDLE_NO>,
764 <SYSC_IDLE_SMART>;
765 ti,sysc-midle = <SYSC_IDLE_FORCE>,
766 <SYSC_IDLE_NO>,
767 <SYSC_IDLE_SMART>;
768 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
769 SYSC_OMAP2_ENAWAKEUP |
770 SYSC_OMAP2_SOFTRESET |
771 SYSC_OMAP2_AUTOIDLE)>;
772 ti,syss-mask = <1>;
773 clocks = <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 8>;
Tony Lindgrena50371f2020-03-04 08:10:41 -0800774 clock-names = "fck";
Tony Lindgren9a951962020-03-04 08:10:42 -0800775 #address-cells = <1>;
776 #size-cells = <1>;
777 ranges = <0 0x1000 0x1000>;
778
779 dispc@0 {
780 compatible = "ti,dra7-dispc";
781 reg = <0 0x1000>;
782 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
Tony Lindgren9a951962020-03-04 08:10:42 -0800783 clocks = <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 8>;
784 clock-names = "fck";
785 /* CTRL_CORE_SMA_SW_1 */
786 syscon-pol = <&scm_conf 0x534>;
787 };
Tony Lindgrena50371f2020-03-04 08:10:41 -0800788 };
789
Tony Lindgrenc4f47282020-03-04 08:10:42 -0800790 target-module@40000 {
791 compatible = "ti,sysc-omap4", "ti,sysc";
792 reg = <0x40000 0x4>,
793 <0x40010 0x4>;
794 reg-names = "rev", "sysc";
795 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
796 <SYSC_IDLE_NO>,
797 <SYSC_IDLE_SMART>,
798 <SYSC_IDLE_SMART_WKUP>;
799 ti,sysc-mask = <(SYSC_OMAP4_SOFTRESET)>;
800 clocks = <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 9>,
801 <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 8>;
802 clock-names = "fck", "dss_clk";
803 #address-cells = <1>;
804 #size-cells = <1>;
805 ranges = <0 0x40000 0x40000>;
806
807 hdmi: encoder@0 {
808 compatible = "ti,dra7-hdmi";
809 reg = <0 0x200>,
810 <0x200 0x80>,
811 <0x300 0x80>,
812 <0x20000 0x19000>;
813 reg-names = "wp", "pll", "phy", "core";
814 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
815 status = "disabled";
816 clocks = <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 9>,
817 <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 10>;
818 clock-names = "fck", "sys_clk";
819 dmas = <&sdma_xbar 76>;
820 dma-names = "audio_tx";
821 };
Tony Lindgrena50371f2020-03-04 08:10:41 -0800822 };
Tomi Valkeinen95c1cd12014-07-09 16:15:18 +0530823 };
824 };
Vignesh R34370142016-05-03 10:56:55 -0500825
Tony Lindgren2ea3ce22019-12-12 09:46:16 -0800826 aes1_target: target-module@4b500000 {
827 compatible = "ti,sysc-omap2", "ti,sysc";
Tony Lindgren2ea3ce22019-12-12 09:46:16 -0800828 reg = <0x4b500080 0x4>,
829 <0x4b500084 0x4>,
830 <0x4b500088 0x4>;
831 reg-names = "rev", "sysc", "syss";
832 ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
833 SYSC_OMAP2_AUTOIDLE)>;
834 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
835 <SYSC_IDLE_NO>,
836 <SYSC_IDLE_SMART>,
837 <SYSC_IDLE_SMART_WKUP>;
838 ti,syss-mask = <1>;
839 /* Domains (P, C): per_pwrdm, l4sec_clkdm */
840 clocks = <&l4sec_clkctrl DRA7_L4SEC_AES1_CLKCTRL 0>;
Joel Fernandese7fd15c2016-06-01 12:06:42 +0300841 clock-names = "fck";
Tony Lindgren2ea3ce22019-12-12 09:46:16 -0800842 #address-cells = <1>;
843 #size-cells = <1>;
844 ranges = <0x0 0x4b500000 0x1000>;
845
846 aes1: aes@0 {
847 compatible = "ti,omap4-aes";
848 reg = <0 0xa0>;
849 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
850 dmas = <&edma_xbar 111 0>, <&edma_xbar 110 0>;
851 dma-names = "tx", "rx";
852 clocks = <&l3_iclk_div>;
853 clock-names = "fck";
854 };
Joel Fernandese7fd15c2016-06-01 12:06:42 +0300855 };
856
Tony Lindgren2ea3ce22019-12-12 09:46:16 -0800857 aes2_target: target-module@4b700000 {
858 compatible = "ti,sysc-omap2", "ti,sysc";
Tony Lindgren2ea3ce22019-12-12 09:46:16 -0800859 reg = <0x4b700080 0x4>,
860 <0x4b700084 0x4>,
861 <0x4b700088 0x4>;
862 reg-names = "rev", "sysc", "syss";
863 ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
864 SYSC_OMAP2_AUTOIDLE)>;
865 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
866 <SYSC_IDLE_NO>,
867 <SYSC_IDLE_SMART>,
868 <SYSC_IDLE_SMART_WKUP>;
869 ti,syss-mask = <1>;
870 /* Domains (P, C): per_pwrdm, l4sec_clkdm */
871 clocks = <&l4sec_clkctrl DRA7_L4SEC_AES2_CLKCTRL 0>;
Joel Fernandese7fd15c2016-06-01 12:06:42 +0300872 clock-names = "fck";
Tony Lindgren2ea3ce22019-12-12 09:46:16 -0800873 #address-cells = <1>;
874 #size-cells = <1>;
875 ranges = <0x0 0x4b700000 0x1000>;
876
877 aes2: aes@0 {
878 compatible = "ti,omap4-aes";
879 reg = <0 0xa0>;
880 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
881 dmas = <&edma_xbar 114 0>, <&edma_xbar 113 0>;
882 dma-names = "tx", "rx";
883 clocks = <&l3_iclk_div>;
884 clock-names = "fck";
885 };
Joel Fernandese7fd15c2016-06-01 12:06:42 +0300886 };
887
Tony Lindgrene1326812019-12-12 09:46:15 -0800888 sham_target: target-module@4b101000 {
889 compatible = "ti,sysc-omap3-sham", "ti,sysc";
Tony Lindgrene1326812019-12-12 09:46:15 -0800890 reg = <0x4b101100 0x4>,
891 <0x4b101110 0x4>,
892 <0x4b101114 0x4>;
893 reg-names = "rev", "sysc", "syss";
894 ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
895 SYSC_OMAP2_AUTOIDLE)>;
896 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
897 <SYSC_IDLE_NO>,
898 <SYSC_IDLE_SMART>;
899 ti,syss-mask = <1>;
900 /* Domains (P, C): l4per_pwrdm, l4sec_clkdm */
901 clocks = <&l4sec_clkctrl DRA7_L4SEC_SHAM_CLKCTRL 0>;
Lokesh Vutlada346092016-06-01 12:06:43 +0300902 clock-names = "fck";
Tony Lindgrene1326812019-12-12 09:46:15 -0800903 #address-cells = <1>;
904 #size-cells = <1>;
905 ranges = <0x0 0x4b101000 0x1000>;
906
907 sham: sham@0 {
908 compatible = "ti,omap5-sham";
909 reg = <0 0x300>;
910 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
911 dmas = <&edma_xbar 119 0>;
912 dma-names = "rx";
913 clocks = <&l3_iclk_div>;
914 clock-names = "fck";
915 };
Lokesh Vutlada346092016-06-01 12:06:43 +0300916 };
Lokesh Vutla610e9c42016-06-01 12:06:44 +0300917
Dave Gerlachdbef1962017-12-19 09:24:20 -0600918 opp_supply_mpu: opp-supply@4a003b20 {
919 compatible = "ti,omap5-opp-supply";
920 reg = <0x4a003b20 0xc>;
921 ti,efuse-settings = <
922 /* uV offset */
923 1060000 0x0
924 1160000 0x4
925 1210000 0x8
926 >;
927 ti,absolute-max-voltage-uv = <1500000>;
928 };
929
R Sricharan6e58b8f2013-08-14 19:08:20 +0530930 };
Keerthyf7397ed2015-03-23 14:39:38 -0500931
932 thermal_zones: thermal-zones {
933 #include "omap4-cpu-thermal.dtsi"
934 #include "omap5-gpu-thermal.dtsi"
935 #include "omap5-core-thermal.dtsi"
Keerthy667f2592016-02-08 14:46:30 +0530936 #include "dra7-dspeve-thermal.dtsi"
937 #include "dra7-iva-thermal.dtsi"
Keerthyf7397ed2015-03-23 14:39:38 -0500938 };
939
940};
941
942&cpu_thermal {
943 polling-delay = <500>; /* milliseconds */
Keerthyfb51ae02017-03-09 13:35:56 +0530944 coefficients = <0 2000>;
945};
946
947&gpu_thermal {
948 coefficients = <0 2000>;
949};
950
951&core_thermal {
952 coefficients = <0 2000>;
953};
954
955&dspeve_thermal {
956 coefficients = <0 2000>;
957};
958
959&iva_thermal {
960 coefficients = <0 2000>;
R Sricharan6e58b8f2013-08-14 19:08:20 +0530961};
Tero Kristoee6c7502013-07-18 17:18:33 +0300962
Ravikumar Kattekolabca52382017-05-17 06:51:38 -0700963&cpu_crit {
964 temperature = <120000>; /* milli Celsius */
965};
966
Ravikumar Kattekola64c358b2018-01-11 21:45:39 +0530967&core_crit {
968 temperature = <120000>; /* milli Celsius */
969};
970
971&gpu_crit {
972 temperature = <120000>; /* milli Celsius */
973};
974
975&dspeve_crit {
976 temperature = <120000>; /* milli Celsius */
977};
978
979&iva_crit {
980 temperature = <120000>; /* milli Celsius */
981};
Tony Lindgren4ed0dfe2018-09-27 13:39:07 -0700982
983#include "dra7-l4.dtsi"
984#include "dra7xx-clocks.dtsi"
Tero Kristodb7725d2019-10-10 11:21:04 +0300985
986&prm {
987 prm_dsp1: prm@400 {
988 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
989 reg = <0x400 0x100>;
990 #reset-cells = <1>;
991 };
992
993 prm_ipu: prm@500 {
994 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
995 reg = <0x500 0x100>;
996 #reset-cells = <1>;
997 };
998
999 prm_core: prm@700 {
1000 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1001 reg = <0x700 0x100>;
1002 #reset-cells = <1>;
1003 };
1004
1005 prm_iva: prm@f00 {
1006 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1007 reg = <0xf00 0x100>;
1008 };
1009
1010 prm_dsp2: prm@1b00 {
1011 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1012 reg = <0x1b00 0x40>;
1013 #reset-cells = <1>;
1014 };
1015
1016 prm_eve1: prm@1b40 {
1017 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1018 reg = <0x1b40 0x40>;
1019 };
1020
1021 prm_eve2: prm@1b80 {
1022 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1023 reg = <0x1b80 0x40>;
1024 };
1025
1026 prm_eve3: prm@1bc0 {
1027 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1028 reg = <0x1bc0 0x40>;
1029 };
1030
1031 prm_eve4: prm@1c00 {
1032 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1033 reg = <0x1c00 0x60>;
1034 };
1035};