blob: a2e053e44528bef3aa06269184f3576b1d90cc6a [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 /*
R Sricharan6e58b8f2013-08-14 19:08:20 +0530128 * XXX: Use a flat representation of the SOC interconnect.
129 * The real OMAP interconnect network is quite complex.
Geert Uytterhoevenb7ab5242014-03-28 11:11:39 +0100130 * Since it will not bring real advantage to represent that in DT for
R Sricharan6e58b8f2013-08-14 19:08:20 +0530131 * the moment, just use a fake OCP bus entry to represent the whole bus
132 * hierarchy.
133 */
Suman Annaecdeca62020-02-27 16:28:37 -0600134 ocp: ocp {
Tony Lindgren7f2659c2021-03-10 14:03:46 +0200135 compatible = "simple-bus";
R Sricharan6e58b8f2013-08-14 19:08:20 +0530136 #address-cells = <1>;
137 #size-cells = <1>;
Lokesh Vutladae320e2016-02-24 15:41:04 +0530138 ranges = <0x0 0x0 0x0 0xc0000000>;
Roger Quadroscfb5d652020-03-13 11:47:17 +0200139 dma-ranges = <0x80000000 0x0 0x80000000 0x80000000>;
R Sricharan6e58b8f2013-08-14 19:08:20 +0530140 ti,hwmods = "l3_main_1", "l3_main_2";
Tony Lindgren7f2659c2021-03-10 14:03:46 +0200141
142 l3-noc@44000000 {
143 compatible = "ti,dra7-l3-noc";
144 reg = <0x44000000 0x1000>,
145 <0x45000000 0x1000>;
146 interrupts-extended = <&crossbar_mpu GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
147 <&wakeupgen GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
148 };
R Sricharan6e58b8f2013-08-14 19:08:20 +0530149
Tony Lindgren4ed0dfe2018-09-27 13:39:07 -0700150 l4_cfg: interconnect@4a000000 {
Tero Kristod9195012015-02-12 11:37:13 +0200151 };
Tony Lindgren4ed0dfe2018-09-27 13:39:07 -0700152 l4_wkup: interconnect@4ae00000 {
153 };
154 l4_per1: interconnect@48000000 {
155 };
Tony Lindgrenf5d0aba2021-03-10 14:03:47 +0200156
157 target-module@48210000 {
158 compatible = "ti,sysc-omap4-simple", "ti,sysc";
159 power-domains = <&prm_mpu>;
160 clocks = <&mpu_clkctrl DRA7_MPU_CLKCTRL 0>;
161 clock-names = "fck";
162 #address-cells = <1>;
163 #size-cells = <1>;
164 ranges = <0 0x48210000 0x1f0000>;
165
166 mpu {
167 compatible = "ti,omap5-mpu";
168 };
169 };
170
Tony Lindgren4ed0dfe2018-09-27 13:39:07 -0700171 l4_per2: interconnect@48400000 {
172 };
173 l4_per3: interconnect@48800000 {
Tero Kristoee6c7502013-07-18 17:18:33 +0300174 };
175
Tony Lindgren785d9432021-03-10 14:03:45 +0200176 /*
177 * Register access seems to have complex dependencies and also
178 * seems to need an enabled phy. See the TRM chapter for "Table
179 * 26-678. Main Sequence PCIe Controller Global Initialization"
180 * and also dra7xx_pcie_probe().
181 */
182 axi0: target-module@51000000 {
183 compatible = "ti,sysc-omap4", "ti,sysc";
184 power-domains = <&prm_l3init>;
185 resets = <&prm_l3init 0>;
186 reset-names = "rstctrl";
187 clocks = <&pcie_clkctrl DRA7_PCIE_PCIE1_CLKCTRL 0>,
188 <&pcie_clkctrl DRA7_PCIE_PCIE1_CLKCTRL 9>,
189 <&pcie_clkctrl DRA7_PCIE_PCIE1_CLKCTRL 10>;
190 clock-names = "fck", "phy-clk", "phy-clk-div";
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530191 #size-cells = <1>;
192 #address-cells = <1>;
Tony Lindgrenc7610282021-03-10 14:03:45 +0200193 ranges = <0x51000000 0x51000000 0x3000>,
194 <0x20000000 0x20000000 0x10000000>;
Kishon Vijay Abraham I90d4d3f2020-04-17 12:13:40 +0530195 dma-ranges;
Kishon Vijay Abraham Id23f3832017-08-08 11:10:24 +0530196 /**
197 * To enable PCI endpoint mode, disable the pcie1_rc
198 * node and enable pcie1_ep mode.
199 */
200 pcie1_rc: pcie@51000000 {
Tony Lindgrenc7610282021-03-10 14:03:45 +0200201 reg = <0x51000000 0x2000>,
202 <0x51002000 0x14c>,
203 <0x20001000 0x2000>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530204 reg-names = "rc_dbics", "ti_conf", "config";
205 interrupts = <0 232 0x4>, <0 233 0x4>;
206 #address-cells = <3>;
207 #size-cells = <2>;
208 device_type = "pci";
Tony Lindgrenc7610282021-03-10 14:03:45 +0200209 ranges = <0x81000000 0 0x00000000 0x20003000 0 0x00010000>,
210 <0x82000000 0 0x20013000 0x20013000 0 0x0ffed000>;
Rob Herring7d79f602017-03-21 21:03:01 -0500211 bus-range = <0x00 0xff>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530212 #interrupt-cells = <1>;
213 num-lanes = <1>;
Kishon Vijay Abraham Ibed596d2016-08-10 18:03:18 +0530214 linux,pci-domain = <0>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530215 ti,hwmods = "pcie1";
216 phys = <&pcie1_phy>;
217 phy-names = "pcie-phy0";
Kishon Vijay Abraham Ib5acec02019-03-25 15:15:25 +0530218 ti,syscon-lane-sel = <&scm_conf_pcie 0x18>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530219 interrupt-map-mask = <0 0 0 7>;
220 interrupt-map = <0 0 0 1 &pcie1_intc 1>,
221 <0 0 0 2 &pcie1_intc 2>,
222 <0 0 0 3 &pcie1_intc 3>,
223 <0 0 0 4 &pcie1_intc 4>;
Vignesh Rb8305262018-09-28 11:34:42 +0530224 ti,syscon-unaligned-access = <&scm_conf1 0x14 1>;
Kishon Vijay Abraham Id23f3832017-08-08 11:10:24 +0530225 status = "disabled";
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530226 pcie1_intc: interrupt-controller {
227 interrupt-controller;
228 #address-cells = <0>;
229 #interrupt-cells = <1>;
230 };
231 };
Kishon Vijay Abraham Id23f3832017-08-08 11:10:24 +0530232
233 pcie1_ep: pcie_ep@51000000 {
Tony Lindgrenc7610282021-03-10 14:03:45 +0200234 reg = <0x51000000 0x28>,
235 <0x51002000 0x14c>,
236 <0x51001000 0x28>,
237 <0x20001000 0x10000000>;
Kishon Vijay Abraham Id23f3832017-08-08 11:10:24 +0530238 reg-names = "ep_dbics", "ti_conf", "ep_dbics2", "addr_space";
239 interrupts = <0 232 0x4>;
240 num-lanes = <1>;
241 num-ib-windows = <4>;
242 num-ob-windows = <16>;
243 ti,hwmods = "pcie1";
244 phys = <&pcie1_phy>;
245 phy-names = "pcie-phy0";
Vignesh R6d0af442018-09-25 10:51:51 +0530246 ti,syscon-unaligned-access = <&scm_conf1 0x14 1>;
Kishon Vijay Abraham Ib5acec02019-03-25 15:15:25 +0530247 ti,syscon-lane-sel = <&scm_conf_pcie 0x18>;
Kishon Vijay Abraham Id23f3832017-08-08 11:10:24 +0530248 status = "disabled";
249 };
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530250 };
251
Tony Lindgren785d9432021-03-10 14:03:45 +0200252 /*
253 * Register access seems to have complex dependencies and also
254 * seems to need an enabled phy. See the TRM chapter for "Table
255 * 26-678. Main Sequence PCIe Controller Global Initialization"
256 * and also dra7xx_pcie_probe().
257 */
258 axi1: target-module@51800000 {
259 compatible = "ti,sysc-omap4", "ti,sysc";
260 clocks = <&pcie_clkctrl DRA7_PCIE_PCIE2_CLKCTRL 0>,
261 <&pcie_clkctrl DRA7_PCIE_PCIE2_CLKCTRL 9>,
262 <&pcie_clkctrl DRA7_PCIE_PCIE2_CLKCTRL 10>;
263 clock-names = "fck", "phy-clk", "phy-clk-div";
264 power-domains = <&prm_l3init>;
265 resets = <&prm_l3init 1>;
266 reset-names = "rstctrl";
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530267 #size-cells = <1>;
268 #address-cells = <1>;
Tony Lindgrenc7610282021-03-10 14:03:45 +0200269 ranges = <0x51800000 0x51800000 0x3000>,
270 <0x30000000 0x30000000 0x10000000>;
Kishon Vijay Abraham I90d4d3f2020-04-17 12:13:40 +0530271 dma-ranges;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530272 status = "disabled";
Kishon Vijay Abraham I1ac19c82017-12-19 15:01:28 +0530273 pcie2_rc: pcie@51800000 {
Tony Lindgrenc7610282021-03-10 14:03:45 +0200274 reg = <0x51800000 0x2000>,
275 <0x51802000 0x14c>,
276 <0x30001000 0x2000>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530277 reg-names = "rc_dbics", "ti_conf", "config";
278 interrupts = <0 355 0x4>, <0 356 0x4>;
279 #address-cells = <3>;
280 #size-cells = <2>;
281 device_type = "pci";
Tony Lindgrenc7610282021-03-10 14:03:45 +0200282 ranges = <0x81000000 0 0x00000000 0x30003000 0 0x00010000>,
283 <0x82000000 0 0x30013000 0x30013000 0 0x0ffed000>;
Rob Herring7d79f602017-03-21 21:03:01 -0500284 bus-range = <0x00 0xff>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530285 #interrupt-cells = <1>;
286 num-lanes = <1>;
Kishon Vijay Abraham Ibed596d2016-08-10 18:03:18 +0530287 linux,pci-domain = <1>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530288 ti,hwmods = "pcie2";
289 phys = <&pcie2_phy>;
290 phy-names = "pcie-phy0";
291 interrupt-map-mask = <0 0 0 7>;
292 interrupt-map = <0 0 0 1 &pcie2_intc 1>,
293 <0 0 0 2 &pcie2_intc 2>,
294 <0 0 0 3 &pcie2_intc 3>,
295 <0 0 0 4 &pcie2_intc 4>;
Vignesh Rb8305262018-09-28 11:34:42 +0530296 ti,syscon-unaligned-access = <&scm_conf1 0x14 2>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530297 pcie2_intc: interrupt-controller {
298 interrupt-controller;
299 #address-cells = <0>;
300 #interrupt-cells = <1>;
301 };
302 };
303 };
304
Dave Gerlacha5fa09b2016-05-10 14:49:41 -0500305 ocmcram1: ocmcram@40300000 {
306 compatible = "mmio-sram";
307 reg = <0x40300000 0x80000>;
308 ranges = <0x0 0x40300000 0x80000>;
309 #address-cells = <1>;
310 #size-cells = <1>;
Dave Gerlachfae3a9f2016-05-10 14:49:42 -0500311 /*
312 * This is a placeholder for an optional reserved
313 * region for use by secure software. The size
314 * of this region is not known until runtime so it
315 * is set as zero to either be updated to reserve
316 * space or left unchanged to leave all SRAM for use.
317 * On HS parts that that require the reserved region
318 * either the bootloader can update the size to
319 * the required amount or the node can be overridden
320 * from the board dts file for the secure platform.
321 */
322 sram-hs@0 {
323 compatible = "ti,secure-ram";
324 reg = <0x0 0x0>;
325 };
Dave Gerlacha5fa09b2016-05-10 14:49:41 -0500326 };
327
328 /*
329 * NOTE: ocmcram2 and ocmcram3 are not available on all
330 * DRA7xx and AM57xx variants. Confirm availability in
331 * the data manual for the exact part number in use
332 * before enabling these nodes in the board dts file.
333 */
334 ocmcram2: ocmcram@40400000 {
335 status = "disabled";
336 compatible = "mmio-sram";
337 reg = <0x40400000 0x100000>;
338 ranges = <0x0 0x40400000 0x100000>;
339 #address-cells = <1>;
340 #size-cells = <1>;
341 };
342
343 ocmcram3: ocmcram@40500000 {
344 status = "disabled";
345 compatible = "mmio-sram";
346 reg = <0x40500000 0x100000>;
347 ranges = <0x0 0x40500000 0x100000>;
348 #address-cells = <1>;
349 #size-cells = <1>;
350 };
351
Keerthyf7397ed2015-03-23 14:39:38 -0500352 bandgap: bandgap@4a0021e0 {
353 reg = <0x4a0021e0 0xc
354 0x4a00232c 0xc
355 0x4a002380 0x2c
356 0x4a0023C0 0x3c
357 0x4a002564 0x8
358 0x4a002574 0x50>;
359 compatible = "ti,dra752-bandgap";
360 interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
361 #thermal-sensor-cells = <1>;
362 };
363
Suman Anna99639ac2015-10-02 18:23:22 -0500364 dsp1_system: dsp_system@40d00000 {
365 compatible = "syscon";
366 reg = <0x40d00000 0x100>;
367 };
368
Tony Lindgreneba61302017-06-16 17:24:29 +0530369 dra7_iodelay_core: padconf@4844a000 {
370 compatible = "ti,dra7-iodelay";
371 reg = <0x4844a000 0x0d1c>;
372 #address-cells = <1>;
373 #size-cells = <0>;
374 #pinctrl-cells = <2>;
375 };
376
Tony Lindgren13149bb2020-03-04 07:25:31 -0800377 target-module@43300000 {
378 compatible = "ti,sysc-omap4", "ti,sysc";
Tony Lindgren075249b2021-03-10 14:03:45 +0200379 reg = <0x43300000 0x4>,
380 <0x43300010 0x4>;
381 reg-names = "rev", "sysc";
382 ti,sysc-midle = <SYSC_IDLE_FORCE>,
383 <SYSC_IDLE_NO>,
384 <SYSC_IDLE_SMART>;
385 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
386 <SYSC_IDLE_NO>,
387 <SYSC_IDLE_SMART>;
Tony Lindgren13149bb2020-03-04 07:25:31 -0800388 clocks = <&l3main1_clkctrl DRA7_L3MAIN1_TPCC_CLKCTRL 0>;
389 clock-names = "fck";
390 #address-cells = <1>;
391 #size-cells = <1>;
392 ranges = <0x0 0x43300000 0x100000>;
Peter Ujfalusi248948f2016-03-07 17:17:29 +0200393
Tony Lindgren13149bb2020-03-04 07:25:31 -0800394 edma: dma@0 {
395 compatible = "ti,edma3-tpcc";
396 reg = <0 0x100000>;
397 reg-names = "edma3_cc";
398 interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>,
399 <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>,
400 <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
401 interrupt-names = "edma3_ccint", "edma3_mperr",
402 "edma3_ccerrint";
403 dma-requests = <64>;
404 #dma-cells = <2>;
Peter Ujfalusi248948f2016-03-07 17:17:29 +0200405
Tony Lindgren13149bb2020-03-04 07:25:31 -0800406 ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 0>;
407
408 /*
409 * memcpy is disabled, can be enabled with:
410 * ti,edma-memcpy-channels = <20 21>;
411 * for example. Note that these channels need to be
412 * masked in the xbar as well.
413 */
414 };
Peter Ujfalusi248948f2016-03-07 17:17:29 +0200415 };
416
Tony Lindgren103d2642020-03-04 07:25:31 -0800417 target-module@43400000 {
418 compatible = "ti,sysc-omap4", "ti,sysc";
Tony Lindgren075249b2021-03-10 14:03:45 +0200419 reg = <0x43400000 0x4>,
420 <0x43400010 0x4>;
421 reg-names = "rev", "sysc";
422 ti,sysc-midle = <SYSC_IDLE_FORCE>,
423 <SYSC_IDLE_NO>,
424 <SYSC_IDLE_SMART>;
425 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
426 <SYSC_IDLE_NO>,
427 <SYSC_IDLE_SMART>;
Tony Lindgren103d2642020-03-04 07:25:31 -0800428 clocks = <&l3main1_clkctrl DRA7_L3MAIN1_TPTC0_CLKCTRL 0>;
429 clock-names = "fck";
430 #address-cells = <1>;
431 #size-cells = <1>;
432 ranges = <0x0 0x43400000 0x100000>;
433
434 edma_tptc0: dma@0 {
435 compatible = "ti,edma3-tptc";
436 reg = <0 0x100000>;
437 interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
438 interrupt-names = "edma3_tcerrint";
439 };
Peter Ujfalusi248948f2016-03-07 17:17:29 +0200440 };
441
Tony Lindgren4286b672020-03-04 07:25:31 -0800442 target-module@43500000 {
443 compatible = "ti,sysc-omap4", "ti,sysc";
Tony Lindgren075249b2021-03-10 14:03:45 +0200444 reg = <0x43500000 0x4>,
445 <0x43500010 0x4>;
446 reg-names = "rev", "sysc";
447 ti,sysc-midle = <SYSC_IDLE_FORCE>,
448 <SYSC_IDLE_NO>,
449 <SYSC_IDLE_SMART>;
450 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
451 <SYSC_IDLE_NO>,
452 <SYSC_IDLE_SMART>;
Tony Lindgren4286b672020-03-04 07:25:31 -0800453 clocks = <&l3main1_clkctrl DRA7_L3MAIN1_TPTC1_CLKCTRL 0>;
454 clock-names = "fck";
455 #address-cells = <1>;
456 #size-cells = <1>;
457 ranges = <0x0 0x43500000 0x100000>;
458
459 edma_tptc1: dma@0 {
460 compatible = "ti,edma3-tptc";
461 reg = <0 0x100000>;
462 interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
463 interrupt-names = "edma3_tcerrint";
464 };
Peter Ujfalusi248948f2016-03-07 17:17:29 +0200465 };
466
Archit Taneja1a5fe3c2013-12-17 15:32:21 +0530467 dmm@4e000000 {
468 compatible = "ti,omap5-dmm";
469 reg = <0x4e000000 0x800>;
R Sricharana46631c2014-06-26 12:55:31 +0530470 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
Archit Taneja1a5fe3c2013-12-17 15:32:21 +0530471 ti,hwmods = "dmm";
472 };
473
Suman Anna46ab8232020-04-24 18:12:29 +0300474 ipu1: ipu@58820000 {
475 compatible = "ti,dra7-ipu";
476 reg = <0x58820000 0x10000>;
477 reg-names = "l2ram";
478 iommus = <&mmu_ipu1>;
479 status = "disabled";
480 resets = <&prm_ipu 0>, <&prm_ipu 1>;
481 clocks = <&ipu1_clkctrl DRA7_IPU1_MMU_IPU1_CLKCTRL 0>;
482 firmware-name = "dra7-ipu1-fw.xem4";
483 };
484
485 ipu2: ipu@55020000 {
486 compatible = "ti,dra7-ipu";
487 reg = <0x55020000 0x10000>;
488 reg-names = "l2ram";
489 iommus = <&mmu_ipu2>;
490 status = "disabled";
491 resets = <&prm_core 0>, <&prm_core 1>;
492 clocks = <&ipu2_clkctrl DRA7_IPU2_MMU_IPU2_CLKCTRL 0>;
493 firmware-name = "dra7-ipu2-fw.xem4";
494 };
495
496 dsp1: dsp@40800000 {
497 compatible = "ti,dra7-dsp";
498 reg = <0x40800000 0x48000>,
499 <0x40e00000 0x8000>,
500 <0x40f00000 0x8000>;
501 reg-names = "l2ram", "l1pram", "l1dram";
502 ti,bootreg = <&scm_conf 0x55c 10>;
503 iommus = <&mmu0_dsp1>, <&mmu1_dsp1>;
504 status = "disabled";
505 resets = <&prm_dsp1 0>;
506 clocks = <&dsp1_clkctrl DRA7_DSP1_MMU0_DSP1_CLKCTRL 0>;
507 firmware-name = "dra7-dsp1-fw.xe66";
508 };
509
Tero Kristodbd2d6f2019-12-12 14:51:18 +0200510 target-module@40d01000 {
511 compatible = "ti,sysc-omap2", "ti,sysc";
512 reg = <0x40d01000 0x4>,
513 <0x40d01010 0x4>,
514 <0x40d01014 0x4>;
515 reg-names = "rev", "sysc", "syss";
516 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
517 <SYSC_IDLE_NO>,
518 <SYSC_IDLE_SMART>;
519 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
520 SYSC_OMAP2_SOFTRESET |
521 SYSC_OMAP2_AUTOIDLE)>;
522 clocks = <&dsp1_clkctrl DRA7_DSP1_MMU0_DSP1_CLKCTRL 0>;
523 clock-names = "fck";
524 resets = <&prm_dsp1 1>;
525 reset-names = "rstctrl";
526 ranges = <0x0 0x40d01000 0x1000>;
527 #size-cells = <1>;
528 #address-cells = <1>;
529
530 mmu0_dsp1: mmu@0 {
531 compatible = "ti,dra7-dsp-iommu";
532 reg = <0x0 0x100>;
533 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
534 #iommu-cells = <0>;
535 ti,syscon-mmuconfig = <&dsp1_system 0x0>;
536 };
Suman Anna2c7e07c52015-10-02 18:23:24 -0500537 };
538
Tero Kristodbd2d6f2019-12-12 14:51:18 +0200539 target-module@40d02000 {
540 compatible = "ti,sysc-omap2", "ti,sysc";
541 reg = <0x40d02000 0x4>,
542 <0x40d02010 0x4>,
543 <0x40d02014 0x4>;
544 reg-names = "rev", "sysc", "syss";
545 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
546 <SYSC_IDLE_NO>,
547 <SYSC_IDLE_SMART>;
548 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
549 SYSC_OMAP2_SOFTRESET |
550 SYSC_OMAP2_AUTOIDLE)>;
551 clocks = <&dsp1_clkctrl DRA7_DSP1_MMU0_DSP1_CLKCTRL 0>;
552 clock-names = "fck";
553 resets = <&prm_dsp1 1>;
554 reset-names = "rstctrl";
555 ranges = <0x0 0x40d02000 0x1000>;
556 #size-cells = <1>;
557 #address-cells = <1>;
558
559 mmu1_dsp1: mmu@0 {
560 compatible = "ti,dra7-dsp-iommu";
561 reg = <0x0 0x100>;
562 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
563 #iommu-cells = <0>;
564 ti,syscon-mmuconfig = <&dsp1_system 0x1>;
565 };
Suman Anna2c7e07c52015-10-02 18:23:24 -0500566 };
567
Tero Kristodbd2d6f2019-12-12 14:51:18 +0200568 target-module@58882000 {
569 compatible = "ti,sysc-omap2", "ti,sysc";
570 reg = <0x58882000 0x4>,
571 <0x58882010 0x4>,
572 <0x58882014 0x4>;
573 reg-names = "rev", "sysc", "syss";
574 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
575 <SYSC_IDLE_NO>,
576 <SYSC_IDLE_SMART>;
577 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
578 SYSC_OMAP2_SOFTRESET |
579 SYSC_OMAP2_AUTOIDLE)>;
580 clocks = <&ipu1_clkctrl DRA7_IPU1_MMU_IPU1_CLKCTRL 0>;
581 clock-names = "fck";
582 resets = <&prm_ipu 2>;
583 reset-names = "rstctrl";
584 #address-cells = <1>;
585 #size-cells = <1>;
586 ranges = <0x0 0x58882000 0x100>;
587
588 mmu_ipu1: mmu@0 {
589 compatible = "ti,dra7-iommu";
590 reg = <0x0 0x100>;
591 interrupts = <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>;
592 #iommu-cells = <0>;
593 ti,iommu-bus-err-back;
594 };
Suman Anna2c7e07c52015-10-02 18:23:24 -0500595 };
596
Tero Kristodbd2d6f2019-12-12 14:51:18 +0200597 target-module@55082000 {
598 compatible = "ti,sysc-omap2", "ti,sysc";
599 reg = <0x55082000 0x4>,
600 <0x55082010 0x4>,
601 <0x55082014 0x4>;
602 reg-names = "rev", "sysc", "syss";
603 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
604 <SYSC_IDLE_NO>,
605 <SYSC_IDLE_SMART>;
606 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
607 SYSC_OMAP2_SOFTRESET |
608 SYSC_OMAP2_AUTOIDLE)>;
609 clocks = <&ipu2_clkctrl DRA7_IPU2_MMU_IPU2_CLKCTRL 0>;
610 clock-names = "fck";
611 resets = <&prm_core 2>;
612 reset-names = "rstctrl";
613 #address-cells = <1>;
614 #size-cells = <1>;
615 ranges = <0x0 0x55082000 0x100>;
616
617 mmu_ipu2: mmu@0 {
618 compatible = "ti,dra7-iommu";
619 reg = <0x0 0x100>;
620 interrupts = <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>;
621 #iommu-cells = <0>;
622 ti,iommu-bus-err-back;
623 };
Suman Anna2c7e07c52015-10-02 18:23:24 -0500624 };
625
Nishanth Menona1b8ee12014-03-03 20:20:23 +0530626 abb_mpu: regulator-abb-mpu {
627 compatible = "ti,abb-v3";
628 regulator-name = "abb_mpu";
629 #address-cells = <0>;
630 #size-cells = <0>;
631 clocks = <&sys_clkin1>;
632 ti,settling-time = <50>;
633 ti,clock-cycles = <16>;
634
635 reg = <0x4ae07ddc 0x4>, <0x4ae07de0 0x4>,
Nishanth Menon18227342015-04-16 16:56:33 -0500636 <0x4ae06014 0x4>, <0x4a003b20 0xc>,
Nishanth Menona1b8ee12014-03-03 20:20:23 +0530637 <0x4ae0c158 0x4>;
638 reg-names = "setup-address", "control-address",
639 "int-address", "efuse-address",
640 "ldo-address";
641 ti,tranxdone-status-mask = <0x80>;
642 /* LDOVBBMPU_FBB_MUX_CTRL */
643 ti,ldovbb-override-mask = <0x400>;
644 /* LDOVBBMPU_FBB_VSET_OUT */
645 ti,ldovbb-vset-mask = <0x1F>;
646
647 /*
648 * NOTE: only FBB mode used but actual vset will
649 * determine final biasing
650 */
651 ti,abb_info = <
652 /*uV ABB efuse rbb_m fbb_m vset_m*/
653 1060000 0 0x0 0 0x02000000 0x01F00000
654 1160000 0 0x4 0 0x02000000 0x01F00000
655 1210000 0 0x8 0 0x02000000 0x01F00000
656 >;
657 };
658
659 abb_ivahd: regulator-abb-ivahd {
660 compatible = "ti,abb-v3";
661 regulator-name = "abb_ivahd";
662 #address-cells = <0>;
663 #size-cells = <0>;
664 clocks = <&sys_clkin1>;
665 ti,settling-time = <50>;
666 ti,clock-cycles = <16>;
667
668 reg = <0x4ae07e34 0x4>, <0x4ae07e24 0x4>,
Nishanth Menon18227342015-04-16 16:56:33 -0500669 <0x4ae06010 0x4>, <0x4a0025cc 0xc>,
Nishanth Menona1b8ee12014-03-03 20:20:23 +0530670 <0x4a002470 0x4>;
671 reg-names = "setup-address", "control-address",
672 "int-address", "efuse-address",
673 "ldo-address";
674 ti,tranxdone-status-mask = <0x40000000>;
675 /* LDOVBBIVA_FBB_MUX_CTRL */
676 ti,ldovbb-override-mask = <0x400>;
677 /* LDOVBBIVA_FBB_VSET_OUT */
678 ti,ldovbb-vset-mask = <0x1F>;
679
680 /*
681 * NOTE: only FBB mode used but actual vset will
682 * determine final biasing
683 */
684 ti,abb_info = <
685 /*uV ABB efuse rbb_m fbb_m vset_m*/
686 1055000 0 0x0 0 0x02000000 0x01F00000
687 1150000 0 0x4 0 0x02000000 0x01F00000
688 1250000 0 0x8 0 0x02000000 0x01F00000
689 >;
690 };
691
692 abb_dspeve: regulator-abb-dspeve {
693 compatible = "ti,abb-v3";
694 regulator-name = "abb_dspeve";
695 #address-cells = <0>;
696 #size-cells = <0>;
697 clocks = <&sys_clkin1>;
698 ti,settling-time = <50>;
699 ti,clock-cycles = <16>;
700
701 reg = <0x4ae07e30 0x4>, <0x4ae07e20 0x4>,
Nishanth Menon18227342015-04-16 16:56:33 -0500702 <0x4ae06010 0x4>, <0x4a0025e0 0xc>,
Nishanth Menona1b8ee12014-03-03 20:20:23 +0530703 <0x4a00246c 0x4>;
704 reg-names = "setup-address", "control-address",
705 "int-address", "efuse-address",
706 "ldo-address";
707 ti,tranxdone-status-mask = <0x20000000>;
708 /* LDOVBBDSPEVE_FBB_MUX_CTRL */
709 ti,ldovbb-override-mask = <0x400>;
710 /* LDOVBBDSPEVE_FBB_VSET_OUT */
711 ti,ldovbb-vset-mask = <0x1F>;
712
713 /*
714 * NOTE: only FBB mode used but actual vset will
715 * determine final biasing
716 */
717 ti,abb_info = <
718 /*uV ABB efuse rbb_m fbb_m vset_m*/
719 1055000 0 0x0 0 0x02000000 0x01F00000
720 1150000 0 0x4 0 0x02000000 0x01F00000
721 1250000 0 0x8 0 0x02000000 0x01F00000
722 >;
723 };
724
725 abb_gpu: regulator-abb-gpu {
726 compatible = "ti,abb-v3";
727 regulator-name = "abb_gpu";
728 #address-cells = <0>;
729 #size-cells = <0>;
730 clocks = <&sys_clkin1>;
731 ti,settling-time = <50>;
732 ti,clock-cycles = <16>;
733
734 reg = <0x4ae07de4 0x4>, <0x4ae07de8 0x4>,
Nishanth Menon18227342015-04-16 16:56:33 -0500735 <0x4ae06010 0x4>, <0x4a003b08 0xc>,
Nishanth Menona1b8ee12014-03-03 20:20:23 +0530736 <0x4ae0c154 0x4>;
737 reg-names = "setup-address", "control-address",
738 "int-address", "efuse-address",
739 "ldo-address";
740 ti,tranxdone-status-mask = <0x10000000>;
741 /* LDOVBBGPU_FBB_MUX_CTRL */
742 ti,ldovbb-override-mask = <0x400>;
743 /* LDOVBBGPU_FBB_VSET_OUT */
744 ti,ldovbb-vset-mask = <0x1F>;
745
746 /*
747 * NOTE: only FBB mode used but actual vset will
748 * determine final biasing
749 */
750 ti,abb_info = <
751 /*uV ABB efuse rbb_m fbb_m vset_m*/
752 1090000 0 0x0 0 0x02000000 0x01F00000
753 1210000 0 0x4 0 0x02000000 0x01F00000
754 1280000 0 0x8 0 0x02000000 0x01F00000
755 >;
756 };
757
Tony Lindgrene2d637b2021-03-10 14:03:46 +0200758 target-module@4b300000 {
759 compatible = "ti,sysc-omap4", "ti,sysc";
Sourav Poddardc2dd5b2014-05-06 16:37:24 +0530760 ti,hwmods = "qspi";
Tony Lindgrene2d637b2021-03-10 14:03:46 +0200761 reg = <0x4b300000 0x4>,
762 <0x4b300010 0x4>;
763 reg-names = "rev", "sysc";
764 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
765 <SYSC_IDLE_NO>,
766 <SYSC_IDLE_SMART>,
767 <SYSC_IDLE_SMART_WKUP>;
768 clocks = <&l4per2_clkctrl DRA7_L4PER2_QSPI_CLKCTRL 0>;
Sourav Poddardc2dd5b2014-05-06 16:37:24 +0530769 clock-names = "fck";
Tony Lindgrene2d637b2021-03-10 14:03:46 +0200770 #address-cells = <1>;
771 #size-cells = <1>;
772 ranges = <0x0 0x4b300000 0x1000>,
773 <0x5c000000 0x5c000000 0x4000000>;
774
775 qspi: spi@0 {
776 compatible = "ti,dra7xxx-qspi";
777 reg = <0 0x100>,
778 <0x5c000000 0x4000000>;
779 reg-names = "qspi_base", "qspi_mmap";
780 syscon-chipselects = <&scm_conf 0x558>;
781 #address-cells = <1>;
782 #size-cells = <0>;
783 clocks = <&l4per2_clkctrl DRA7_L4PER2_QSPI_CLKCTRL 25>;
784 clock-names = "fck";
785 num-cs = <4>;
786 interrupts = <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>;
787 status = "disabled";
788 };
Sourav Poddardc2dd5b2014-05-06 16:37:24 +0530789 };
Balaji T K7be80562014-05-07 14:58:58 +0300790
Roger Quadrosfbf3e552014-05-05 12:54:45 +0300791 /* OCP2SCP1 */
Roger Quadrosfbf3e552014-05-05 12:54:45 +0300792 /* IRQ for DWC3_3 and DWC3_4 need IRQ crossbar */
Tony Lindgren11fdf592020-10-19 10:45:58 +0300793
794 target-module@50000000 {
795 compatible = "ti,sysc-omap2", "ti,sysc";
796 reg = <0x50000000 4>,
797 <0x50000010 4>,
798 <0x50000014 4>;
799 reg-names = "rev", "sysc", "syss";
800 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
801 <SYSC_IDLE_NO>,
802 <SYSC_IDLE_SMART>;
803 ti,syss-mask = <1>;
804 clocks = <&l3main1_clkctrl DRA7_L3MAIN1_GPMC_CLKCTRL 0>;
805 clock-names = "fck";
806 #address-cells = <1>;
Minal Shahff66a3c2014-05-19 14:45:47 +0530807 #size-cells = <1>;
Tony Lindgren11fdf592020-10-19 10:45:58 +0300808 ranges = <0x50000000 0x50000000 0x00001000>, /* regs */
809 <0x00000000 0x00000000 0x40000000>; /* data */
810
811 gpmc: gpmc@50000000 {
812 compatible = "ti,am3352-gpmc";
813 reg = <0x50000000 0x37c>; /* device IO registers */
814 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
815 dmas = <&edma_xbar 4 0>;
816 dma-names = "rxtx";
817 gpmc,num-cs = <8>;
818 gpmc,num-waitpins = <2>;
819 #address-cells = <2>;
820 #size-cells = <1>;
821 interrupt-controller;
822 #interrupt-cells = <2>;
823 gpio-controller;
824 #gpio-cells = <2>;
825 status = "disabled";
826 };
Minal Shahff66a3c2014-05-19 14:45:47 +0530827 };
Peter Ujfalusi2ca09452014-05-07 13:20:48 +0300828
Tony Lindgren45e118b2019-11-01 09:31:23 -0700829 target-module@56000000 {
830 compatible = "ti,sysc-omap4", "ti,sysc";
831 reg = <0x5600fe00 0x4>,
832 <0x5600fe10 0x4>;
833 reg-names = "rev", "sysc";
834 ti,sysc-midle = <SYSC_IDLE_FORCE>,
835 <SYSC_IDLE_NO>,
836 <SYSC_IDLE_SMART>;
837 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
838 <SYSC_IDLE_NO>,
839 <SYSC_IDLE_SMART>;
840 clocks = <&gpu_clkctrl DRA7_GPU_CLKCTRL 0>;
841 clock-names = "fck";
842 #address-cells = <1>;
843 #size-cells = <1>;
844 ranges = <0 0x56000000 0x2000000>;
845 };
846
Marc Zyngier783d3182015-03-11 15:43:44 +0000847 crossbar_mpu: crossbar@4a002a48 {
R Sricharana46631c2014-06-26 12:55:31 +0530848 compatible = "ti,irq-crossbar";
849 reg = <0x4a002a48 0x130>;
Marc Zyngier783d3182015-03-11 15:43:44 +0000850 interrupt-controller;
Marc Zyngier7136d452015-03-11 15:43:49 +0000851 interrupt-parent = <&wakeupgen>;
Marc Zyngier783d3182015-03-11 15:43:44 +0000852 #interrupt-cells = <3>;
R Sricharana46631c2014-06-26 12:55:31 +0530853 ti,max-irqs = <160>;
854 ti,max-crossbar-sources = <MAX_SOURCES>;
855 ti,reg-size = <2>;
856 ti,irqs-reserved = <0 1 2 3 5 6 131 132>;
857 ti,irqs-skip = <10 133 139 140>;
858 ti,irqs-safe-map = <0>;
859 };
Mugunthan V Nef9c5b62014-10-21 15:31:00 +0530860
Tony Lindgrena50371f2020-03-04 08:10:41 -0800861 target-module@58000000 {
862 compatible = "ti,sysc-omap2", "ti,sysc";
Tony Lindgrena50371f2020-03-04 08:10:41 -0800863 reg = <0x58000000 4>,
864 <0x58000014 4>;
865 reg-names = "rev", "syss";
866 ti,syss-mask = <1>;
867 clocks = <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 0>,
868 <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 9>,
869 <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 10>,
870 <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 11>;
871 clock-names = "fck", "hdmi_clk", "sys_clk", "tv_clk";
Tomi Valkeinen95c1cd12014-07-09 16:15:18 +0530872 #address-cells = <1>;
873 #size-cells = <1>;
Tony Lindgrena50371f2020-03-04 08:10:41 -0800874 ranges = <0 0x58000000 0x800000>;
Tomi Valkeinen95c1cd12014-07-09 16:15:18 +0530875
Tony Lindgrena50371f2020-03-04 08:10:41 -0800876 dss: dss@0 {
877 compatible = "ti,dra7-dss";
878 /* 'reg' defined in dra72x.dtsi and dra74x.dtsi */
879 /* 'clocks' defined in dra72x.dtsi and dra74x.dtsi */
Tomi Valkeinen95c1cd12014-07-09 16:15:18 +0530880 status = "disabled";
Tony Lindgrena50371f2020-03-04 08:10:41 -0800881 /* CTRL_CORE_DSS_PLL_CONTROL */
882 syscon-pll-ctrl = <&scm_conf 0x538>;
883 #address-cells = <1>;
884 #size-cells = <1>;
885 ranges = <0 0 0x800000>;
886
Tony Lindgren9a951962020-03-04 08:10:42 -0800887 target-module@1000 {
888 compatible = "ti,sysc-omap2", "ti,sysc";
889 reg = <0x1000 0x4>,
890 <0x1010 0x4>,
891 <0x1014 0x4>;
892 reg-names = "rev", "sysc", "syss";
893 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
894 <SYSC_IDLE_NO>,
895 <SYSC_IDLE_SMART>;
896 ti,sysc-midle = <SYSC_IDLE_FORCE>,
897 <SYSC_IDLE_NO>,
898 <SYSC_IDLE_SMART>;
899 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
900 SYSC_OMAP2_ENAWAKEUP |
901 SYSC_OMAP2_SOFTRESET |
902 SYSC_OMAP2_AUTOIDLE)>;
903 ti,syss-mask = <1>;
904 clocks = <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 8>;
Tony Lindgrena50371f2020-03-04 08:10:41 -0800905 clock-names = "fck";
Tony Lindgren9a951962020-03-04 08:10:42 -0800906 #address-cells = <1>;
907 #size-cells = <1>;
908 ranges = <0 0x1000 0x1000>;
909
910 dispc@0 {
911 compatible = "ti,dra7-dispc";
912 reg = <0 0x1000>;
913 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
Tony Lindgren9a951962020-03-04 08:10:42 -0800914 clocks = <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 8>;
915 clock-names = "fck";
916 /* CTRL_CORE_SMA_SW_1 */
917 syscon-pol = <&scm_conf 0x534>;
918 };
Tony Lindgrena50371f2020-03-04 08:10:41 -0800919 };
920
Tony Lindgrenc4f47282020-03-04 08:10:42 -0800921 target-module@40000 {
922 compatible = "ti,sysc-omap4", "ti,sysc";
923 reg = <0x40000 0x4>,
924 <0x40010 0x4>;
925 reg-names = "rev", "sysc";
926 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
927 <SYSC_IDLE_NO>,
928 <SYSC_IDLE_SMART>,
929 <SYSC_IDLE_SMART_WKUP>;
930 ti,sysc-mask = <(SYSC_OMAP4_SOFTRESET)>;
931 clocks = <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 9>,
932 <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 8>;
933 clock-names = "fck", "dss_clk";
934 #address-cells = <1>;
935 #size-cells = <1>;
936 ranges = <0 0x40000 0x40000>;
937
938 hdmi: encoder@0 {
939 compatible = "ti,dra7-hdmi";
940 reg = <0 0x200>,
941 <0x200 0x80>,
942 <0x300 0x80>,
943 <0x20000 0x19000>;
944 reg-names = "wp", "pll", "phy", "core";
945 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
946 status = "disabled";
947 clocks = <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 9>,
948 <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 10>;
949 clock-names = "fck", "sys_clk";
950 dmas = <&sdma_xbar 76>;
951 dma-names = "audio_tx";
952 };
Tony Lindgrena50371f2020-03-04 08:10:41 -0800953 };
Tomi Valkeinen95c1cd12014-07-09 16:15:18 +0530954 };
955 };
Vignesh R34370142016-05-03 10:56:55 -0500956
Tony Lindgren2ea3ce22019-12-12 09:46:16 -0800957 aes1_target: target-module@4b500000 {
958 compatible = "ti,sysc-omap2", "ti,sysc";
Tony Lindgren2ea3ce22019-12-12 09:46:16 -0800959 reg = <0x4b500080 0x4>,
960 <0x4b500084 0x4>,
961 <0x4b500088 0x4>;
962 reg-names = "rev", "sysc", "syss";
963 ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
964 SYSC_OMAP2_AUTOIDLE)>;
965 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
966 <SYSC_IDLE_NO>,
967 <SYSC_IDLE_SMART>,
968 <SYSC_IDLE_SMART_WKUP>;
969 ti,syss-mask = <1>;
970 /* Domains (P, C): per_pwrdm, l4sec_clkdm */
971 clocks = <&l4sec_clkctrl DRA7_L4SEC_AES1_CLKCTRL 0>;
Joel Fernandese7fd15c2016-06-01 12:06:42 +0300972 clock-names = "fck";
Tony Lindgren2ea3ce22019-12-12 09:46:16 -0800973 #address-cells = <1>;
974 #size-cells = <1>;
975 ranges = <0x0 0x4b500000 0x1000>;
976
977 aes1: aes@0 {
978 compatible = "ti,omap4-aes";
979 reg = <0 0xa0>;
980 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
981 dmas = <&edma_xbar 111 0>, <&edma_xbar 110 0>;
982 dma-names = "tx", "rx";
983 clocks = <&l3_iclk_div>;
984 clock-names = "fck";
985 };
Joel Fernandese7fd15c2016-06-01 12:06:42 +0300986 };
987
Tony Lindgren2ea3ce22019-12-12 09:46:16 -0800988 aes2_target: target-module@4b700000 {
989 compatible = "ti,sysc-omap2", "ti,sysc";
Tony Lindgren2ea3ce22019-12-12 09:46:16 -0800990 reg = <0x4b700080 0x4>,
991 <0x4b700084 0x4>,
992 <0x4b700088 0x4>;
993 reg-names = "rev", "sysc", "syss";
994 ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
995 SYSC_OMAP2_AUTOIDLE)>;
996 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
997 <SYSC_IDLE_NO>,
998 <SYSC_IDLE_SMART>,
999 <SYSC_IDLE_SMART_WKUP>;
1000 ti,syss-mask = <1>;
1001 /* Domains (P, C): per_pwrdm, l4sec_clkdm */
1002 clocks = <&l4sec_clkctrl DRA7_L4SEC_AES2_CLKCTRL 0>;
Joel Fernandese7fd15c2016-06-01 12:06:42 +03001003 clock-names = "fck";
Tony Lindgren2ea3ce22019-12-12 09:46:16 -08001004 #address-cells = <1>;
1005 #size-cells = <1>;
1006 ranges = <0x0 0x4b700000 0x1000>;
1007
1008 aes2: aes@0 {
1009 compatible = "ti,omap4-aes";
1010 reg = <0 0xa0>;
1011 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
1012 dmas = <&edma_xbar 114 0>, <&edma_xbar 113 0>;
1013 dma-names = "tx", "rx";
1014 clocks = <&l3_iclk_div>;
1015 clock-names = "fck";
1016 };
Joel Fernandese7fd15c2016-06-01 12:06:42 +03001017 };
1018
Tero Kristobe5cd392020-09-07 12:52:46 +03001019 sham1_target: target-module@4b101000 {
Tony Lindgrene1326812019-12-12 09:46:15 -08001020 compatible = "ti,sysc-omap3-sham", "ti,sysc";
Tony Lindgrene1326812019-12-12 09:46:15 -08001021 reg = <0x4b101100 0x4>,
1022 <0x4b101110 0x4>,
1023 <0x4b101114 0x4>;
1024 reg-names = "rev", "sysc", "syss";
1025 ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
1026 SYSC_OMAP2_AUTOIDLE)>;
1027 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
1028 <SYSC_IDLE_NO>,
1029 <SYSC_IDLE_SMART>;
1030 ti,syss-mask = <1>;
1031 /* Domains (P, C): l4per_pwrdm, l4sec_clkdm */
1032 clocks = <&l4sec_clkctrl DRA7_L4SEC_SHAM_CLKCTRL 0>;
Lokesh Vutlada346092016-06-01 12:06:43 +03001033 clock-names = "fck";
Tony Lindgrene1326812019-12-12 09:46:15 -08001034 #address-cells = <1>;
1035 #size-cells = <1>;
1036 ranges = <0x0 0x4b101000 0x1000>;
1037
Tero Kristobe5cd392020-09-07 12:52:46 +03001038 sham1: sham@0 {
Tony Lindgrene1326812019-12-12 09:46:15 -08001039 compatible = "ti,omap5-sham";
1040 reg = <0 0x300>;
1041 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
1042 dmas = <&edma_xbar 119 0>;
1043 dma-names = "rx";
1044 clocks = <&l3_iclk_div>;
1045 clock-names = "fck";
1046 };
Lokesh Vutlada346092016-06-01 12:06:43 +03001047 };
Lokesh Vutla610e9c42016-06-01 12:06:44 +03001048
Tero Kristobe5cd392020-09-07 12:52:46 +03001049 sham2_target: target-module@42701000 {
1050 compatible = "ti,sysc-omap3-sham", "ti,sysc";
1051 reg = <0x42701100 0x4>,
1052 <0x42701110 0x4>,
1053 <0x42701114 0x4>;
1054 reg-names = "rev", "sysc", "syss";
1055 ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
1056 SYSC_OMAP2_AUTOIDLE)>;
1057 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
1058 <SYSC_IDLE_NO>,
1059 <SYSC_IDLE_SMART>;
1060 ti,syss-mask = <1>;
1061 /* Domains (P, C): l4per_pwrdm, l4sec_clkdm */
1062 clocks = <&l4sec_clkctrl DRA7_L4SEC_SHAM2_CLKCTRL 0>;
1063 clock-names = "fck";
1064 #address-cells = <1>;
1065 #size-cells = <1>;
1066 ranges = <0x0 0x42701000 0x1000>;
1067
1068 sham2: sham@0 {
1069 compatible = "ti,omap5-sham";
1070 reg = <0 0x300>;
1071 interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
1072 dmas = <&edma_xbar 165 0>;
1073 dma-names = "rx";
1074 clocks = <&l3_iclk_div>;
1075 clock-names = "fck";
1076 };
1077 };
1078
Tony Lindgrenae57d152020-11-12 11:57:03 +02001079 iva_hd_target: target-module@5a000000 {
1080 compatible = "ti,sysc-omap4", "ti,sysc";
1081 reg = <0x5a05a400 0x4>,
1082 <0x5a05a410 0x4>;
1083 reg-names = "rev", "sysc";
1084 ti,sysc-midle = <SYSC_IDLE_FORCE>,
1085 <SYSC_IDLE_NO>,
1086 <SYSC_IDLE_SMART>;
1087 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
1088 <SYSC_IDLE_NO>,
1089 <SYSC_IDLE_SMART>;
1090 power-domains = <&prm_iva>;
1091 resets = <&prm_iva 2>;
1092 reset-names = "rstctrl";
1093 clocks = <&iva_clkctrl DRA7_IVA_CLKCTRL 0>;
1094 clock-names = "fck";
1095 #address-cells = <1>;
1096 #size-cells = <1>;
1097 ranges = <0x5a000000 0x5a000000 0x1000000>,
1098 <0x5b000000 0x5b000000 0x1000000>;
1099
1100 iva {
1101 compatible = "ti,ivahd";
1102 };
1103 };
1104
Dave Gerlachdbef1962017-12-19 09:24:20 -06001105 opp_supply_mpu: opp-supply@4a003b20 {
1106 compatible = "ti,omap5-opp-supply";
1107 reg = <0x4a003b20 0xc>;
1108 ti,efuse-settings = <
1109 /* uV offset */
1110 1060000 0x0
1111 1160000 0x4
1112 1210000 0x8
1113 >;
1114 ti,absolute-max-voltage-uv = <1500000>;
1115 };
1116
R Sricharan6e58b8f2013-08-14 19:08:20 +05301117 };
Keerthyf7397ed2015-03-23 14:39:38 -05001118
1119 thermal_zones: thermal-zones {
1120 #include "omap4-cpu-thermal.dtsi"
1121 #include "omap5-gpu-thermal.dtsi"
1122 #include "omap5-core-thermal.dtsi"
Keerthy667f2592016-02-08 14:46:30 +05301123 #include "dra7-dspeve-thermal.dtsi"
1124 #include "dra7-iva-thermal.dtsi"
Keerthyf7397ed2015-03-23 14:39:38 -05001125 };
1126
1127};
1128
1129&cpu_thermal {
1130 polling-delay = <500>; /* milliseconds */
Keerthyfb51ae02017-03-09 13:35:56 +05301131 coefficients = <0 2000>;
1132};
1133
1134&gpu_thermal {
1135 coefficients = <0 2000>;
1136};
1137
1138&core_thermal {
1139 coefficients = <0 2000>;
1140};
1141
1142&dspeve_thermal {
1143 coefficients = <0 2000>;
1144};
1145
1146&iva_thermal {
1147 coefficients = <0 2000>;
R Sricharan6e58b8f2013-08-14 19:08:20 +05301148};
Tero Kristoee6c7502013-07-18 17:18:33 +03001149
Ravikumar Kattekolabca52382017-05-17 06:51:38 -07001150&cpu_crit {
1151 temperature = <120000>; /* milli Celsius */
1152};
1153
Ravikumar Kattekola64c358b2018-01-11 21:45:39 +05301154&core_crit {
1155 temperature = <120000>; /* milli Celsius */
1156};
1157
1158&gpu_crit {
1159 temperature = <120000>; /* milli Celsius */
1160};
1161
1162&dspeve_crit {
1163 temperature = <120000>; /* milli Celsius */
1164};
1165
1166&iva_crit {
1167 temperature = <120000>; /* milli Celsius */
1168};
Tony Lindgren4ed0dfe2018-09-27 13:39:07 -07001169
1170#include "dra7-l4.dtsi"
1171#include "dra7xx-clocks.dtsi"
Tero Kristodb7725d2019-10-10 11:21:04 +03001172
1173&prm {
Tero Kristo1021b372020-11-11 15:57:20 +02001174 prm_mpu: prm@300 {
1175 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1176 reg = <0x300 0x100>;
1177 #power-domain-cells = <0>;
1178 };
1179
Tero Kristodb7725d2019-10-10 11:21:04 +03001180 prm_dsp1: prm@400 {
1181 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1182 reg = <0x400 0x100>;
1183 #reset-cells = <1>;
Tero Kristo1021b372020-11-11 15:57:20 +02001184 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001185 };
1186
1187 prm_ipu: prm@500 {
1188 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1189 reg = <0x500 0x100>;
1190 #reset-cells = <1>;
Tero Kristo1021b372020-11-11 15:57:20 +02001191 #power-domain-cells = <0>;
1192 };
1193
1194 prm_coreaon: prm@628 {
1195 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1196 reg = <0x628 0xd8>;
1197 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001198 };
1199
1200 prm_core: prm@700 {
1201 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1202 reg = <0x700 0x100>;
1203 #reset-cells = <1>;
Tero Kristo1021b372020-11-11 15:57:20 +02001204 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001205 };
1206
1207 prm_iva: prm@f00 {
1208 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1209 reg = <0xf00 0x100>;
Tony Lindgrenae57d152020-11-12 11:57:03 +02001210 #reset-cells = <1>;
Tero Kristo1021b372020-11-11 15:57:20 +02001211 #power-domain-cells = <0>;
1212 };
1213
1214 prm_cam: prm@1000 {
1215 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1216 reg = <0x1000 0x100>;
1217 #power-domain-cells = <0>;
1218 };
1219
1220 prm_dss: prm@1100 {
1221 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1222 reg = <0x1100 0x100>;
1223 #power-domain-cells = <0>;
1224 };
1225
1226 prm_gpu: prm@1200 {
1227 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1228 reg = <0x1200 0x100>;
1229 #power-domain-cells = <0>;
1230 };
1231
1232 prm_l3init: prm@1300 {
1233 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1234 reg = <0x1300 0x100>;
1235 #reset-cells = <1>;
1236 #power-domain-cells = <0>;
1237 };
1238
1239 prm_l4per: prm@1400 {
1240 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1241 reg = <0x1400 0x100>;
1242 #power-domain-cells = <0>;
1243 };
1244
1245 prm_custefuse: prm@1600 {
1246 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1247 reg = <0x1600 0x100>;
1248 #power-domain-cells = <0>;
1249 };
1250
1251 prm_wkupaon: prm@1724 {
1252 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1253 reg = <0x1724 0x100>;
1254 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001255 };
1256
1257 prm_dsp2: prm@1b00 {
1258 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1259 reg = <0x1b00 0x40>;
1260 #reset-cells = <1>;
Tero Kristo1021b372020-11-11 15:57:20 +02001261 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001262 };
1263
1264 prm_eve1: prm@1b40 {
1265 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1266 reg = <0x1b40 0x40>;
Tero Kristo1021b372020-11-11 15:57:20 +02001267 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001268 };
1269
1270 prm_eve2: prm@1b80 {
1271 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1272 reg = <0x1b80 0x40>;
Tero Kristo1021b372020-11-11 15:57:20 +02001273 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001274 };
1275
1276 prm_eve3: prm@1bc0 {
1277 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1278 reg = <0x1bc0 0x40>;
Tero Kristo1021b372020-11-11 15:57:20 +02001279 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001280 };
1281
1282 prm_eve4: prm@1c00 {
1283 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1284 reg = <0x1c00 0x60>;
Tero Kristo1021b372020-11-11 15:57:20 +02001285 #power-domain-cells = <0>;
1286 };
1287
1288 prm_rtc: prm@1c60 {
1289 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1290 reg = <0x1c60 0x20>;
1291 #power-domain-cells = <0>;
1292 };
1293
1294 prm_vpe: prm@1c80 {
1295 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1296 reg = <0x1c80 0x80>;
1297 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001298 };
1299};
Tony Lindgren036a3d42020-05-07 09:59:31 -07001300
1301/* Preferred always-on timer for clockevent */
1302&timer1_target {
1303 ti,no-reset-on-init;
1304 ti,no-idle;
1305 timer@0 {
1306 assigned-clocks = <&wkupaon_clkctrl DRA7_TIMER1_CLKCTRL 24>;
1307 assigned-clock-parents = <&sys_32k_ck>;
1308 };
1309};