blob: 91d5763b09f41de23cd69560e6d971ff23daf56f [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 {
Tony Lindgren7f2659c2021-03-10 14:03:46 +0200147 compatible = "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";
Tony Lindgren7f2659c2021-03-10 14:03:46 +0200153
154 l3-noc@44000000 {
155 compatible = "ti,dra7-l3-noc";
156 reg = <0x44000000 0x1000>,
157 <0x45000000 0x1000>;
158 interrupts-extended = <&crossbar_mpu GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
159 <&wakeupgen GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
160 };
R Sricharan6e58b8f2013-08-14 19:08:20 +0530161
Tony Lindgren4ed0dfe2018-09-27 13:39:07 -0700162 l4_cfg: interconnect@4a000000 {
Tero Kristod9195012015-02-12 11:37:13 +0200163 };
Tony Lindgren4ed0dfe2018-09-27 13:39:07 -0700164 l4_wkup: interconnect@4ae00000 {
165 };
166 l4_per1: interconnect@48000000 {
167 };
168 l4_per2: interconnect@48400000 {
169 };
170 l4_per3: interconnect@48800000 {
Tero Kristoee6c7502013-07-18 17:18:33 +0300171 };
172
Tony Lindgren785d9432021-03-10 14:03:45 +0200173 /*
174 * Register access seems to have complex dependencies and also
175 * seems to need an enabled phy. See the TRM chapter for "Table
176 * 26-678. Main Sequence PCIe Controller Global Initialization"
177 * and also dra7xx_pcie_probe().
178 */
179 axi0: target-module@51000000 {
180 compatible = "ti,sysc-omap4", "ti,sysc";
181 power-domains = <&prm_l3init>;
182 resets = <&prm_l3init 0>;
183 reset-names = "rstctrl";
184 clocks = <&pcie_clkctrl DRA7_PCIE_PCIE1_CLKCTRL 0>,
185 <&pcie_clkctrl DRA7_PCIE_PCIE1_CLKCTRL 9>,
186 <&pcie_clkctrl DRA7_PCIE_PCIE1_CLKCTRL 10>;
187 clock-names = "fck", "phy-clk", "phy-clk-div";
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530188 #size-cells = <1>;
189 #address-cells = <1>;
Tony Lindgrenc7610282021-03-10 14:03:45 +0200190 ranges = <0x51000000 0x51000000 0x3000>,
191 <0x20000000 0x20000000 0x10000000>;
Kishon Vijay Abraham I90d4d3f2020-04-17 12:13:40 +0530192 dma-ranges;
Kishon Vijay Abraham Id23f3832017-08-08 11:10:24 +0530193 /**
194 * To enable PCI endpoint mode, disable the pcie1_rc
195 * node and enable pcie1_ep mode.
196 */
197 pcie1_rc: pcie@51000000 {
Tony Lindgrenc7610282021-03-10 14:03:45 +0200198 reg = <0x51000000 0x2000>,
199 <0x51002000 0x14c>,
200 <0x20001000 0x2000>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530201 reg-names = "rc_dbics", "ti_conf", "config";
202 interrupts = <0 232 0x4>, <0 233 0x4>;
203 #address-cells = <3>;
204 #size-cells = <2>;
205 device_type = "pci";
Tony Lindgrenc7610282021-03-10 14:03:45 +0200206 ranges = <0x81000000 0 0x00000000 0x20003000 0 0x00010000>,
207 <0x82000000 0 0x20013000 0x20013000 0 0x0ffed000>;
Rob Herring7d79f602017-03-21 21:03:01 -0500208 bus-range = <0x00 0xff>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530209 #interrupt-cells = <1>;
210 num-lanes = <1>;
Kishon Vijay Abraham Ibed596d2016-08-10 18:03:18 +0530211 linux,pci-domain = <0>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530212 ti,hwmods = "pcie1";
213 phys = <&pcie1_phy>;
214 phy-names = "pcie-phy0";
Kishon Vijay Abraham Ib5acec02019-03-25 15:15:25 +0530215 ti,syscon-lane-sel = <&scm_conf_pcie 0x18>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530216 interrupt-map-mask = <0 0 0 7>;
217 interrupt-map = <0 0 0 1 &pcie1_intc 1>,
218 <0 0 0 2 &pcie1_intc 2>,
219 <0 0 0 3 &pcie1_intc 3>,
220 <0 0 0 4 &pcie1_intc 4>;
Vignesh Rb8305262018-09-28 11:34:42 +0530221 ti,syscon-unaligned-access = <&scm_conf1 0x14 1>;
Kishon Vijay Abraham Id23f3832017-08-08 11:10:24 +0530222 status = "disabled";
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530223 pcie1_intc: interrupt-controller {
224 interrupt-controller;
225 #address-cells = <0>;
226 #interrupt-cells = <1>;
227 };
228 };
Kishon Vijay Abraham Id23f3832017-08-08 11:10:24 +0530229
230 pcie1_ep: pcie_ep@51000000 {
Tony Lindgrenc7610282021-03-10 14:03:45 +0200231 reg = <0x51000000 0x28>,
232 <0x51002000 0x14c>,
233 <0x51001000 0x28>,
234 <0x20001000 0x10000000>;
Kishon Vijay Abraham Id23f3832017-08-08 11:10:24 +0530235 reg-names = "ep_dbics", "ti_conf", "ep_dbics2", "addr_space";
236 interrupts = <0 232 0x4>;
237 num-lanes = <1>;
238 num-ib-windows = <4>;
239 num-ob-windows = <16>;
240 ti,hwmods = "pcie1";
241 phys = <&pcie1_phy>;
242 phy-names = "pcie-phy0";
Vignesh R6d0af442018-09-25 10:51:51 +0530243 ti,syscon-unaligned-access = <&scm_conf1 0x14 1>;
Kishon Vijay Abraham Ib5acec02019-03-25 15:15:25 +0530244 ti,syscon-lane-sel = <&scm_conf_pcie 0x18>;
Kishon Vijay Abraham Id23f3832017-08-08 11:10:24 +0530245 status = "disabled";
246 };
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530247 };
248
Tony Lindgren785d9432021-03-10 14:03:45 +0200249 /*
250 * Register access seems to have complex dependencies and also
251 * seems to need an enabled phy. See the TRM chapter for "Table
252 * 26-678. Main Sequence PCIe Controller Global Initialization"
253 * and also dra7xx_pcie_probe().
254 */
255 axi1: target-module@51800000 {
256 compatible = "ti,sysc-omap4", "ti,sysc";
257 clocks = <&pcie_clkctrl DRA7_PCIE_PCIE2_CLKCTRL 0>,
258 <&pcie_clkctrl DRA7_PCIE_PCIE2_CLKCTRL 9>,
259 <&pcie_clkctrl DRA7_PCIE_PCIE2_CLKCTRL 10>;
260 clock-names = "fck", "phy-clk", "phy-clk-div";
261 power-domains = <&prm_l3init>;
262 resets = <&prm_l3init 1>;
263 reset-names = "rstctrl";
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530264 #size-cells = <1>;
265 #address-cells = <1>;
Tony Lindgrenc7610282021-03-10 14:03:45 +0200266 ranges = <0x51800000 0x51800000 0x3000>,
267 <0x30000000 0x30000000 0x10000000>;
Kishon Vijay Abraham I90d4d3f2020-04-17 12:13:40 +0530268 dma-ranges;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530269 status = "disabled";
Kishon Vijay Abraham I1ac19c82017-12-19 15:01:28 +0530270 pcie2_rc: pcie@51800000 {
Tony Lindgrenc7610282021-03-10 14:03:45 +0200271 reg = <0x51800000 0x2000>,
272 <0x51802000 0x14c>,
273 <0x30001000 0x2000>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530274 reg-names = "rc_dbics", "ti_conf", "config";
275 interrupts = <0 355 0x4>, <0 356 0x4>;
276 #address-cells = <3>;
277 #size-cells = <2>;
278 device_type = "pci";
Tony Lindgrenc7610282021-03-10 14:03:45 +0200279 ranges = <0x81000000 0 0x00000000 0x30003000 0 0x00010000>,
280 <0x82000000 0 0x30013000 0x30013000 0 0x0ffed000>;
Rob Herring7d79f602017-03-21 21:03:01 -0500281 bus-range = <0x00 0xff>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530282 #interrupt-cells = <1>;
283 num-lanes = <1>;
Kishon Vijay Abraham Ibed596d2016-08-10 18:03:18 +0530284 linux,pci-domain = <1>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530285 ti,hwmods = "pcie2";
286 phys = <&pcie2_phy>;
287 phy-names = "pcie-phy0";
288 interrupt-map-mask = <0 0 0 7>;
289 interrupt-map = <0 0 0 1 &pcie2_intc 1>,
290 <0 0 0 2 &pcie2_intc 2>,
291 <0 0 0 3 &pcie2_intc 3>,
292 <0 0 0 4 &pcie2_intc 4>;
Vignesh Rb8305262018-09-28 11:34:42 +0530293 ti,syscon-unaligned-access = <&scm_conf1 0x14 2>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530294 pcie2_intc: interrupt-controller {
295 interrupt-controller;
296 #address-cells = <0>;
297 #interrupt-cells = <1>;
298 };
299 };
300 };
301
Dave Gerlacha5fa09b2016-05-10 14:49:41 -0500302 ocmcram1: ocmcram@40300000 {
303 compatible = "mmio-sram";
304 reg = <0x40300000 0x80000>;
305 ranges = <0x0 0x40300000 0x80000>;
306 #address-cells = <1>;
307 #size-cells = <1>;
Dave Gerlachfae3a9f2016-05-10 14:49:42 -0500308 /*
309 * This is a placeholder for an optional reserved
310 * region for use by secure software. The size
311 * of this region is not known until runtime so it
312 * is set as zero to either be updated to reserve
313 * space or left unchanged to leave all SRAM for use.
314 * On HS parts that that require the reserved region
315 * either the bootloader can update the size to
316 * the required amount or the node can be overridden
317 * from the board dts file for the secure platform.
318 */
319 sram-hs@0 {
320 compatible = "ti,secure-ram";
321 reg = <0x0 0x0>;
322 };
Dave Gerlacha5fa09b2016-05-10 14:49:41 -0500323 };
324
325 /*
326 * NOTE: ocmcram2 and ocmcram3 are not available on all
327 * DRA7xx and AM57xx variants. Confirm availability in
328 * the data manual for the exact part number in use
329 * before enabling these nodes in the board dts file.
330 */
331 ocmcram2: ocmcram@40400000 {
332 status = "disabled";
333 compatible = "mmio-sram";
334 reg = <0x40400000 0x100000>;
335 ranges = <0x0 0x40400000 0x100000>;
336 #address-cells = <1>;
337 #size-cells = <1>;
338 };
339
340 ocmcram3: ocmcram@40500000 {
341 status = "disabled";
342 compatible = "mmio-sram";
343 reg = <0x40500000 0x100000>;
344 ranges = <0x0 0x40500000 0x100000>;
345 #address-cells = <1>;
346 #size-cells = <1>;
347 };
348
Keerthyf7397ed2015-03-23 14:39:38 -0500349 bandgap: bandgap@4a0021e0 {
350 reg = <0x4a0021e0 0xc
351 0x4a00232c 0xc
352 0x4a002380 0x2c
353 0x4a0023C0 0x3c
354 0x4a002564 0x8
355 0x4a002574 0x50>;
356 compatible = "ti,dra752-bandgap";
357 interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
358 #thermal-sensor-cells = <1>;
359 };
360
Suman Anna99639ac2015-10-02 18:23:22 -0500361 dsp1_system: dsp_system@40d00000 {
362 compatible = "syscon";
363 reg = <0x40d00000 0x100>;
364 };
365
Tony Lindgreneba61302017-06-16 17:24:29 +0530366 dra7_iodelay_core: padconf@4844a000 {
367 compatible = "ti,dra7-iodelay";
368 reg = <0x4844a000 0x0d1c>;
369 #address-cells = <1>;
370 #size-cells = <0>;
371 #pinctrl-cells = <2>;
372 };
373
Tony Lindgren13149bb2020-03-04 07:25:31 -0800374 target-module@43300000 {
375 compatible = "ti,sysc-omap4", "ti,sysc";
Tony Lindgren075249b2021-03-10 14:03:45 +0200376 reg = <0x43300000 0x4>,
377 <0x43300010 0x4>;
378 reg-names = "rev", "sysc";
379 ti,sysc-midle = <SYSC_IDLE_FORCE>,
380 <SYSC_IDLE_NO>,
381 <SYSC_IDLE_SMART>;
382 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
383 <SYSC_IDLE_NO>,
384 <SYSC_IDLE_SMART>;
Tony Lindgren13149bb2020-03-04 07:25:31 -0800385 clocks = <&l3main1_clkctrl DRA7_L3MAIN1_TPCC_CLKCTRL 0>;
386 clock-names = "fck";
387 #address-cells = <1>;
388 #size-cells = <1>;
389 ranges = <0x0 0x43300000 0x100000>;
Peter Ujfalusi248948f2016-03-07 17:17:29 +0200390
Tony Lindgren13149bb2020-03-04 07:25:31 -0800391 edma: dma@0 {
392 compatible = "ti,edma3-tpcc";
393 reg = <0 0x100000>;
394 reg-names = "edma3_cc";
395 interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>,
396 <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>,
397 <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
398 interrupt-names = "edma3_ccint", "edma3_mperr",
399 "edma3_ccerrint";
400 dma-requests = <64>;
401 #dma-cells = <2>;
Peter Ujfalusi248948f2016-03-07 17:17:29 +0200402
Tony Lindgren13149bb2020-03-04 07:25:31 -0800403 ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 0>;
404
405 /*
406 * memcpy is disabled, can be enabled with:
407 * ti,edma-memcpy-channels = <20 21>;
408 * for example. Note that these channels need to be
409 * masked in the xbar as well.
410 */
411 };
Peter Ujfalusi248948f2016-03-07 17:17:29 +0200412 };
413
Tony Lindgren103d2642020-03-04 07:25:31 -0800414 target-module@43400000 {
415 compatible = "ti,sysc-omap4", "ti,sysc";
Tony Lindgren075249b2021-03-10 14:03:45 +0200416 reg = <0x43400000 0x4>,
417 <0x43400010 0x4>;
418 reg-names = "rev", "sysc";
419 ti,sysc-midle = <SYSC_IDLE_FORCE>,
420 <SYSC_IDLE_NO>,
421 <SYSC_IDLE_SMART>;
422 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
423 <SYSC_IDLE_NO>,
424 <SYSC_IDLE_SMART>;
Tony Lindgren103d2642020-03-04 07:25:31 -0800425 clocks = <&l3main1_clkctrl DRA7_L3MAIN1_TPTC0_CLKCTRL 0>;
426 clock-names = "fck";
427 #address-cells = <1>;
428 #size-cells = <1>;
429 ranges = <0x0 0x43400000 0x100000>;
430
431 edma_tptc0: dma@0 {
432 compatible = "ti,edma3-tptc";
433 reg = <0 0x100000>;
434 interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
435 interrupt-names = "edma3_tcerrint";
436 };
Peter Ujfalusi248948f2016-03-07 17:17:29 +0200437 };
438
Tony Lindgren4286b672020-03-04 07:25:31 -0800439 target-module@43500000 {
440 compatible = "ti,sysc-omap4", "ti,sysc";
Tony Lindgren075249b2021-03-10 14:03:45 +0200441 reg = <0x43500000 0x4>,
442 <0x43500010 0x4>;
443 reg-names = "rev", "sysc";
444 ti,sysc-midle = <SYSC_IDLE_FORCE>,
445 <SYSC_IDLE_NO>,
446 <SYSC_IDLE_SMART>;
447 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
448 <SYSC_IDLE_NO>,
449 <SYSC_IDLE_SMART>;
Tony Lindgren4286b672020-03-04 07:25:31 -0800450 clocks = <&l3main1_clkctrl DRA7_L3MAIN1_TPTC1_CLKCTRL 0>;
451 clock-names = "fck";
452 #address-cells = <1>;
453 #size-cells = <1>;
454 ranges = <0x0 0x43500000 0x100000>;
455
456 edma_tptc1: dma@0 {
457 compatible = "ti,edma3-tptc";
458 reg = <0 0x100000>;
459 interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
460 interrupt-names = "edma3_tcerrint";
461 };
Peter Ujfalusi248948f2016-03-07 17:17:29 +0200462 };
463
Archit Taneja1a5fe3c2013-12-17 15:32:21 +0530464 dmm@4e000000 {
465 compatible = "ti,omap5-dmm";
466 reg = <0x4e000000 0x800>;
R Sricharana46631c2014-06-26 12:55:31 +0530467 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
Archit Taneja1a5fe3c2013-12-17 15:32:21 +0530468 ti,hwmods = "dmm";
469 };
470
Suman Anna46ab8232020-04-24 18:12:29 +0300471 ipu1: ipu@58820000 {
472 compatible = "ti,dra7-ipu";
473 reg = <0x58820000 0x10000>;
474 reg-names = "l2ram";
475 iommus = <&mmu_ipu1>;
476 status = "disabled";
477 resets = <&prm_ipu 0>, <&prm_ipu 1>;
478 clocks = <&ipu1_clkctrl DRA7_IPU1_MMU_IPU1_CLKCTRL 0>;
479 firmware-name = "dra7-ipu1-fw.xem4";
480 };
481
482 ipu2: ipu@55020000 {
483 compatible = "ti,dra7-ipu";
484 reg = <0x55020000 0x10000>;
485 reg-names = "l2ram";
486 iommus = <&mmu_ipu2>;
487 status = "disabled";
488 resets = <&prm_core 0>, <&prm_core 1>;
489 clocks = <&ipu2_clkctrl DRA7_IPU2_MMU_IPU2_CLKCTRL 0>;
490 firmware-name = "dra7-ipu2-fw.xem4";
491 };
492
493 dsp1: dsp@40800000 {
494 compatible = "ti,dra7-dsp";
495 reg = <0x40800000 0x48000>,
496 <0x40e00000 0x8000>,
497 <0x40f00000 0x8000>;
498 reg-names = "l2ram", "l1pram", "l1dram";
499 ti,bootreg = <&scm_conf 0x55c 10>;
500 iommus = <&mmu0_dsp1>, <&mmu1_dsp1>;
501 status = "disabled";
502 resets = <&prm_dsp1 0>;
503 clocks = <&dsp1_clkctrl DRA7_DSP1_MMU0_DSP1_CLKCTRL 0>;
504 firmware-name = "dra7-dsp1-fw.xe66";
505 };
506
Tero Kristodbd2d6f2019-12-12 14:51:18 +0200507 target-module@40d01000 {
508 compatible = "ti,sysc-omap2", "ti,sysc";
509 reg = <0x40d01000 0x4>,
510 <0x40d01010 0x4>,
511 <0x40d01014 0x4>;
512 reg-names = "rev", "sysc", "syss";
513 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
514 <SYSC_IDLE_NO>,
515 <SYSC_IDLE_SMART>;
516 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
517 SYSC_OMAP2_SOFTRESET |
518 SYSC_OMAP2_AUTOIDLE)>;
519 clocks = <&dsp1_clkctrl DRA7_DSP1_MMU0_DSP1_CLKCTRL 0>;
520 clock-names = "fck";
521 resets = <&prm_dsp1 1>;
522 reset-names = "rstctrl";
523 ranges = <0x0 0x40d01000 0x1000>;
524 #size-cells = <1>;
525 #address-cells = <1>;
526
527 mmu0_dsp1: mmu@0 {
528 compatible = "ti,dra7-dsp-iommu";
529 reg = <0x0 0x100>;
530 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
531 #iommu-cells = <0>;
532 ti,syscon-mmuconfig = <&dsp1_system 0x0>;
533 };
Suman Anna2c7e07c52015-10-02 18:23:24 -0500534 };
535
Tero Kristodbd2d6f2019-12-12 14:51:18 +0200536 target-module@40d02000 {
537 compatible = "ti,sysc-omap2", "ti,sysc";
538 reg = <0x40d02000 0x4>,
539 <0x40d02010 0x4>,
540 <0x40d02014 0x4>;
541 reg-names = "rev", "sysc", "syss";
542 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
543 <SYSC_IDLE_NO>,
544 <SYSC_IDLE_SMART>;
545 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
546 SYSC_OMAP2_SOFTRESET |
547 SYSC_OMAP2_AUTOIDLE)>;
548 clocks = <&dsp1_clkctrl DRA7_DSP1_MMU0_DSP1_CLKCTRL 0>;
549 clock-names = "fck";
550 resets = <&prm_dsp1 1>;
551 reset-names = "rstctrl";
552 ranges = <0x0 0x40d02000 0x1000>;
553 #size-cells = <1>;
554 #address-cells = <1>;
555
556 mmu1_dsp1: mmu@0 {
557 compatible = "ti,dra7-dsp-iommu";
558 reg = <0x0 0x100>;
559 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
560 #iommu-cells = <0>;
561 ti,syscon-mmuconfig = <&dsp1_system 0x1>;
562 };
Suman Anna2c7e07c52015-10-02 18:23:24 -0500563 };
564
Tero Kristodbd2d6f2019-12-12 14:51:18 +0200565 target-module@58882000 {
566 compatible = "ti,sysc-omap2", "ti,sysc";
567 reg = <0x58882000 0x4>,
568 <0x58882010 0x4>,
569 <0x58882014 0x4>;
570 reg-names = "rev", "sysc", "syss";
571 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
572 <SYSC_IDLE_NO>,
573 <SYSC_IDLE_SMART>;
574 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
575 SYSC_OMAP2_SOFTRESET |
576 SYSC_OMAP2_AUTOIDLE)>;
577 clocks = <&ipu1_clkctrl DRA7_IPU1_MMU_IPU1_CLKCTRL 0>;
578 clock-names = "fck";
579 resets = <&prm_ipu 2>;
580 reset-names = "rstctrl";
581 #address-cells = <1>;
582 #size-cells = <1>;
583 ranges = <0x0 0x58882000 0x100>;
584
585 mmu_ipu1: mmu@0 {
586 compatible = "ti,dra7-iommu";
587 reg = <0x0 0x100>;
588 interrupts = <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>;
589 #iommu-cells = <0>;
590 ti,iommu-bus-err-back;
591 };
Suman Anna2c7e07c52015-10-02 18:23:24 -0500592 };
593
Tero Kristodbd2d6f2019-12-12 14:51:18 +0200594 target-module@55082000 {
595 compatible = "ti,sysc-omap2", "ti,sysc";
596 reg = <0x55082000 0x4>,
597 <0x55082010 0x4>,
598 <0x55082014 0x4>;
599 reg-names = "rev", "sysc", "syss";
600 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
601 <SYSC_IDLE_NO>,
602 <SYSC_IDLE_SMART>;
603 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
604 SYSC_OMAP2_SOFTRESET |
605 SYSC_OMAP2_AUTOIDLE)>;
606 clocks = <&ipu2_clkctrl DRA7_IPU2_MMU_IPU2_CLKCTRL 0>;
607 clock-names = "fck";
608 resets = <&prm_core 2>;
609 reset-names = "rstctrl";
610 #address-cells = <1>;
611 #size-cells = <1>;
612 ranges = <0x0 0x55082000 0x100>;
613
614 mmu_ipu2: mmu@0 {
615 compatible = "ti,dra7-iommu";
616 reg = <0x0 0x100>;
617 interrupts = <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>;
618 #iommu-cells = <0>;
619 ti,iommu-bus-err-back;
620 };
Suman Anna2c7e07c52015-10-02 18:23:24 -0500621 };
622
Nishanth Menona1b8ee12014-03-03 20:20:23 +0530623 abb_mpu: regulator-abb-mpu {
624 compatible = "ti,abb-v3";
625 regulator-name = "abb_mpu";
626 #address-cells = <0>;
627 #size-cells = <0>;
628 clocks = <&sys_clkin1>;
629 ti,settling-time = <50>;
630 ti,clock-cycles = <16>;
631
632 reg = <0x4ae07ddc 0x4>, <0x4ae07de0 0x4>,
Nishanth Menon18227342015-04-16 16:56:33 -0500633 <0x4ae06014 0x4>, <0x4a003b20 0xc>,
Nishanth Menona1b8ee12014-03-03 20:20:23 +0530634 <0x4ae0c158 0x4>;
635 reg-names = "setup-address", "control-address",
636 "int-address", "efuse-address",
637 "ldo-address";
638 ti,tranxdone-status-mask = <0x80>;
639 /* LDOVBBMPU_FBB_MUX_CTRL */
640 ti,ldovbb-override-mask = <0x400>;
641 /* LDOVBBMPU_FBB_VSET_OUT */
642 ti,ldovbb-vset-mask = <0x1F>;
643
644 /*
645 * NOTE: only FBB mode used but actual vset will
646 * determine final biasing
647 */
648 ti,abb_info = <
649 /*uV ABB efuse rbb_m fbb_m vset_m*/
650 1060000 0 0x0 0 0x02000000 0x01F00000
651 1160000 0 0x4 0 0x02000000 0x01F00000
652 1210000 0 0x8 0 0x02000000 0x01F00000
653 >;
654 };
655
656 abb_ivahd: regulator-abb-ivahd {
657 compatible = "ti,abb-v3";
658 regulator-name = "abb_ivahd";
659 #address-cells = <0>;
660 #size-cells = <0>;
661 clocks = <&sys_clkin1>;
662 ti,settling-time = <50>;
663 ti,clock-cycles = <16>;
664
665 reg = <0x4ae07e34 0x4>, <0x4ae07e24 0x4>,
Nishanth Menon18227342015-04-16 16:56:33 -0500666 <0x4ae06010 0x4>, <0x4a0025cc 0xc>,
Nishanth Menona1b8ee12014-03-03 20:20:23 +0530667 <0x4a002470 0x4>;
668 reg-names = "setup-address", "control-address",
669 "int-address", "efuse-address",
670 "ldo-address";
671 ti,tranxdone-status-mask = <0x40000000>;
672 /* LDOVBBIVA_FBB_MUX_CTRL */
673 ti,ldovbb-override-mask = <0x400>;
674 /* LDOVBBIVA_FBB_VSET_OUT */
675 ti,ldovbb-vset-mask = <0x1F>;
676
677 /*
678 * NOTE: only FBB mode used but actual vset will
679 * determine final biasing
680 */
681 ti,abb_info = <
682 /*uV ABB efuse rbb_m fbb_m vset_m*/
683 1055000 0 0x0 0 0x02000000 0x01F00000
684 1150000 0 0x4 0 0x02000000 0x01F00000
685 1250000 0 0x8 0 0x02000000 0x01F00000
686 >;
687 };
688
689 abb_dspeve: regulator-abb-dspeve {
690 compatible = "ti,abb-v3";
691 regulator-name = "abb_dspeve";
692 #address-cells = <0>;
693 #size-cells = <0>;
694 clocks = <&sys_clkin1>;
695 ti,settling-time = <50>;
696 ti,clock-cycles = <16>;
697
698 reg = <0x4ae07e30 0x4>, <0x4ae07e20 0x4>,
Nishanth Menon18227342015-04-16 16:56:33 -0500699 <0x4ae06010 0x4>, <0x4a0025e0 0xc>,
Nishanth Menona1b8ee12014-03-03 20:20:23 +0530700 <0x4a00246c 0x4>;
701 reg-names = "setup-address", "control-address",
702 "int-address", "efuse-address",
703 "ldo-address";
704 ti,tranxdone-status-mask = <0x20000000>;
705 /* LDOVBBDSPEVE_FBB_MUX_CTRL */
706 ti,ldovbb-override-mask = <0x400>;
707 /* LDOVBBDSPEVE_FBB_VSET_OUT */
708 ti,ldovbb-vset-mask = <0x1F>;
709
710 /*
711 * NOTE: only FBB mode used but actual vset will
712 * determine final biasing
713 */
714 ti,abb_info = <
715 /*uV ABB efuse rbb_m fbb_m vset_m*/
716 1055000 0 0x0 0 0x02000000 0x01F00000
717 1150000 0 0x4 0 0x02000000 0x01F00000
718 1250000 0 0x8 0 0x02000000 0x01F00000
719 >;
720 };
721
722 abb_gpu: regulator-abb-gpu {
723 compatible = "ti,abb-v3";
724 regulator-name = "abb_gpu";
725 #address-cells = <0>;
726 #size-cells = <0>;
727 clocks = <&sys_clkin1>;
728 ti,settling-time = <50>;
729 ti,clock-cycles = <16>;
730
731 reg = <0x4ae07de4 0x4>, <0x4ae07de8 0x4>,
Nishanth Menon18227342015-04-16 16:56:33 -0500732 <0x4ae06010 0x4>, <0x4a003b08 0xc>,
Nishanth Menona1b8ee12014-03-03 20:20:23 +0530733 <0x4ae0c154 0x4>;
734 reg-names = "setup-address", "control-address",
735 "int-address", "efuse-address",
736 "ldo-address";
737 ti,tranxdone-status-mask = <0x10000000>;
738 /* LDOVBBGPU_FBB_MUX_CTRL */
739 ti,ldovbb-override-mask = <0x400>;
740 /* LDOVBBGPU_FBB_VSET_OUT */
741 ti,ldovbb-vset-mask = <0x1F>;
742
743 /*
744 * NOTE: only FBB mode used but actual vset will
745 * determine final biasing
746 */
747 ti,abb_info = <
748 /*uV ABB efuse rbb_m fbb_m vset_m*/
749 1090000 0 0x0 0 0x02000000 0x01F00000
750 1210000 0 0x4 0 0x02000000 0x01F00000
751 1280000 0 0x8 0 0x02000000 0x01F00000
752 >;
753 };
754
Tony Lindgrene2d637b2021-03-10 14:03:46 +0200755 target-module@4b300000 {
756 compatible = "ti,sysc-omap4", "ti,sysc";
Sourav Poddardc2dd5b2014-05-06 16:37:24 +0530757 ti,hwmods = "qspi";
Tony Lindgrene2d637b2021-03-10 14:03:46 +0200758 reg = <0x4b300000 0x4>,
759 <0x4b300010 0x4>;
760 reg-names = "rev", "sysc";
761 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
762 <SYSC_IDLE_NO>,
763 <SYSC_IDLE_SMART>,
764 <SYSC_IDLE_SMART_WKUP>;
765 clocks = <&l4per2_clkctrl DRA7_L4PER2_QSPI_CLKCTRL 0>;
Sourav Poddardc2dd5b2014-05-06 16:37:24 +0530766 clock-names = "fck";
Tony Lindgrene2d637b2021-03-10 14:03:46 +0200767 #address-cells = <1>;
768 #size-cells = <1>;
769 ranges = <0x0 0x4b300000 0x1000>,
770 <0x5c000000 0x5c000000 0x4000000>;
771
772 qspi: spi@0 {
773 compatible = "ti,dra7xxx-qspi";
774 reg = <0 0x100>,
775 <0x5c000000 0x4000000>;
776 reg-names = "qspi_base", "qspi_mmap";
777 syscon-chipselects = <&scm_conf 0x558>;
778 #address-cells = <1>;
779 #size-cells = <0>;
780 clocks = <&l4per2_clkctrl DRA7_L4PER2_QSPI_CLKCTRL 25>;
781 clock-names = "fck";
782 num-cs = <4>;
783 interrupts = <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>;
784 status = "disabled";
785 };
Sourav Poddardc2dd5b2014-05-06 16:37:24 +0530786 };
Balaji T K7be80562014-05-07 14:58:58 +0300787
Balaji T K7be80562014-05-07 14:58:58 +0300788 /* OCP2SCP3 */
Balaji T K7be80562014-05-07 14:58:58 +0300789 sata: sata@4a141100 {
790 compatible = "snps,dwc-ahci";
791 reg = <0x4a140000 0x1100>, <0x4a141100 0x7>;
R Sricharana46631c2014-06-26 12:55:31 +0530792 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
Balaji T K7be80562014-05-07 14:58:58 +0300793 phys = <&sata_phy>;
794 phy-names = "sata-phy";
Tero Kristob5f8ffb2018-08-31 18:14:51 +0300795 clocks = <&l3init_clkctrl DRA7_L3INIT_SATA_CLKCTRL 8>;
Balaji T K7be80562014-05-07 14:58:58 +0300796 ti,hwmods = "sata";
Jean-Jacques Hiblot87cb1292017-01-09 13:22:15 +0100797 ports-implemented = <0x1>;
Balaji T K7be80562014-05-07 14:58:58 +0300798 };
Roger Quadrosfbf3e552014-05-05 12:54:45 +0300799
Roger Quadrosfbf3e552014-05-05 12:54:45 +0300800 /* OCP2SCP1 */
Roger Quadrosfbf3e552014-05-05 12:54:45 +0300801 /* IRQ for DWC3_3 and DWC3_4 need IRQ crossbar */
Tony Lindgren11fdf592020-10-19 10:45:58 +0300802
803 target-module@50000000 {
804 compatible = "ti,sysc-omap2", "ti,sysc";
805 reg = <0x50000000 4>,
806 <0x50000010 4>,
807 <0x50000014 4>;
808 reg-names = "rev", "sysc", "syss";
809 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
810 <SYSC_IDLE_NO>,
811 <SYSC_IDLE_SMART>;
812 ti,syss-mask = <1>;
813 clocks = <&l3main1_clkctrl DRA7_L3MAIN1_GPMC_CLKCTRL 0>;
814 clock-names = "fck";
815 #address-cells = <1>;
Minal Shahff66a3c2014-05-19 14:45:47 +0530816 #size-cells = <1>;
Tony Lindgren11fdf592020-10-19 10:45:58 +0300817 ranges = <0x50000000 0x50000000 0x00001000>, /* regs */
818 <0x00000000 0x00000000 0x40000000>; /* data */
819
820 gpmc: gpmc@50000000 {
821 compatible = "ti,am3352-gpmc";
822 reg = <0x50000000 0x37c>; /* device IO registers */
823 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
824 dmas = <&edma_xbar 4 0>;
825 dma-names = "rxtx";
826 gpmc,num-cs = <8>;
827 gpmc,num-waitpins = <2>;
828 #address-cells = <2>;
829 #size-cells = <1>;
830 interrupt-controller;
831 #interrupt-cells = <2>;
832 gpio-controller;
833 #gpio-cells = <2>;
834 status = "disabled";
835 };
Minal Shahff66a3c2014-05-19 14:45:47 +0530836 };
Peter Ujfalusi2ca09452014-05-07 13:20:48 +0300837
Tony Lindgren45e118b2019-11-01 09:31:23 -0700838 target-module@56000000 {
839 compatible = "ti,sysc-omap4", "ti,sysc";
840 reg = <0x5600fe00 0x4>,
841 <0x5600fe10 0x4>;
842 reg-names = "rev", "sysc";
843 ti,sysc-midle = <SYSC_IDLE_FORCE>,
844 <SYSC_IDLE_NO>,
845 <SYSC_IDLE_SMART>;
846 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
847 <SYSC_IDLE_NO>,
848 <SYSC_IDLE_SMART>;
849 clocks = <&gpu_clkctrl DRA7_GPU_CLKCTRL 0>;
850 clock-names = "fck";
851 #address-cells = <1>;
852 #size-cells = <1>;
853 ranges = <0 0x56000000 0x2000000>;
854 };
855
Marc Zyngier783d3182015-03-11 15:43:44 +0000856 crossbar_mpu: crossbar@4a002a48 {
R Sricharana46631c2014-06-26 12:55:31 +0530857 compatible = "ti,irq-crossbar";
858 reg = <0x4a002a48 0x130>;
Marc Zyngier783d3182015-03-11 15:43:44 +0000859 interrupt-controller;
Marc Zyngier7136d452015-03-11 15:43:49 +0000860 interrupt-parent = <&wakeupgen>;
Marc Zyngier783d3182015-03-11 15:43:44 +0000861 #interrupt-cells = <3>;
R Sricharana46631c2014-06-26 12:55:31 +0530862 ti,max-irqs = <160>;
863 ti,max-crossbar-sources = <MAX_SOURCES>;
864 ti,reg-size = <2>;
865 ti,irqs-reserved = <0 1 2 3 5 6 131 132>;
866 ti,irqs-skip = <10 133 139 140>;
867 ti,irqs-safe-map = <0>;
868 };
Mugunthan V Nef9c5b62014-10-21 15:31:00 +0530869
Tony Lindgrena50371f2020-03-04 08:10:41 -0800870 target-module@58000000 {
871 compatible = "ti,sysc-omap2", "ti,sysc";
Tony Lindgrena50371f2020-03-04 08:10:41 -0800872 reg = <0x58000000 4>,
873 <0x58000014 4>;
874 reg-names = "rev", "syss";
875 ti,syss-mask = <1>;
876 clocks = <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 0>,
877 <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 9>,
878 <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 10>,
879 <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 11>;
880 clock-names = "fck", "hdmi_clk", "sys_clk", "tv_clk";
Tomi Valkeinen95c1cd12014-07-09 16:15:18 +0530881 #address-cells = <1>;
882 #size-cells = <1>;
Tony Lindgrena50371f2020-03-04 08:10:41 -0800883 ranges = <0 0x58000000 0x800000>;
Tomi Valkeinen95c1cd12014-07-09 16:15:18 +0530884
Tony Lindgrena50371f2020-03-04 08:10:41 -0800885 dss: dss@0 {
886 compatible = "ti,dra7-dss";
887 /* 'reg' defined in dra72x.dtsi and dra74x.dtsi */
888 /* 'clocks' defined in dra72x.dtsi and dra74x.dtsi */
Tomi Valkeinen95c1cd12014-07-09 16:15:18 +0530889 status = "disabled";
Tony Lindgrena50371f2020-03-04 08:10:41 -0800890 /* CTRL_CORE_DSS_PLL_CONTROL */
891 syscon-pll-ctrl = <&scm_conf 0x538>;
892 #address-cells = <1>;
893 #size-cells = <1>;
894 ranges = <0 0 0x800000>;
895
Tony Lindgren9a951962020-03-04 08:10:42 -0800896 target-module@1000 {
897 compatible = "ti,sysc-omap2", "ti,sysc";
898 reg = <0x1000 0x4>,
899 <0x1010 0x4>,
900 <0x1014 0x4>;
901 reg-names = "rev", "sysc", "syss";
902 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
903 <SYSC_IDLE_NO>,
904 <SYSC_IDLE_SMART>;
905 ti,sysc-midle = <SYSC_IDLE_FORCE>,
906 <SYSC_IDLE_NO>,
907 <SYSC_IDLE_SMART>;
908 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
909 SYSC_OMAP2_ENAWAKEUP |
910 SYSC_OMAP2_SOFTRESET |
911 SYSC_OMAP2_AUTOIDLE)>;
912 ti,syss-mask = <1>;
913 clocks = <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 8>;
Tony Lindgrena50371f2020-03-04 08:10:41 -0800914 clock-names = "fck";
Tony Lindgren9a951962020-03-04 08:10:42 -0800915 #address-cells = <1>;
916 #size-cells = <1>;
917 ranges = <0 0x1000 0x1000>;
918
919 dispc@0 {
920 compatible = "ti,dra7-dispc";
921 reg = <0 0x1000>;
922 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
Tony Lindgren9a951962020-03-04 08:10:42 -0800923 clocks = <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 8>;
924 clock-names = "fck";
925 /* CTRL_CORE_SMA_SW_1 */
926 syscon-pol = <&scm_conf 0x534>;
927 };
Tony Lindgrena50371f2020-03-04 08:10:41 -0800928 };
929
Tony Lindgrenc4f47282020-03-04 08:10:42 -0800930 target-module@40000 {
931 compatible = "ti,sysc-omap4", "ti,sysc";
932 reg = <0x40000 0x4>,
933 <0x40010 0x4>;
934 reg-names = "rev", "sysc";
935 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
936 <SYSC_IDLE_NO>,
937 <SYSC_IDLE_SMART>,
938 <SYSC_IDLE_SMART_WKUP>;
939 ti,sysc-mask = <(SYSC_OMAP4_SOFTRESET)>;
940 clocks = <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 9>,
941 <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 8>;
942 clock-names = "fck", "dss_clk";
943 #address-cells = <1>;
944 #size-cells = <1>;
945 ranges = <0 0x40000 0x40000>;
946
947 hdmi: encoder@0 {
948 compatible = "ti,dra7-hdmi";
949 reg = <0 0x200>,
950 <0x200 0x80>,
951 <0x300 0x80>,
952 <0x20000 0x19000>;
953 reg-names = "wp", "pll", "phy", "core";
954 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
955 status = "disabled";
956 clocks = <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 9>,
957 <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 10>;
958 clock-names = "fck", "sys_clk";
959 dmas = <&sdma_xbar 76>;
960 dma-names = "audio_tx";
961 };
Tony Lindgrena50371f2020-03-04 08:10:41 -0800962 };
Tomi Valkeinen95c1cd12014-07-09 16:15:18 +0530963 };
964 };
Vignesh R34370142016-05-03 10:56:55 -0500965
Tony Lindgren2ea3ce22019-12-12 09:46:16 -0800966 aes1_target: target-module@4b500000 {
967 compatible = "ti,sysc-omap2", "ti,sysc";
Tony Lindgren2ea3ce22019-12-12 09:46:16 -0800968 reg = <0x4b500080 0x4>,
969 <0x4b500084 0x4>,
970 <0x4b500088 0x4>;
971 reg-names = "rev", "sysc", "syss";
972 ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
973 SYSC_OMAP2_AUTOIDLE)>;
974 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
975 <SYSC_IDLE_NO>,
976 <SYSC_IDLE_SMART>,
977 <SYSC_IDLE_SMART_WKUP>;
978 ti,syss-mask = <1>;
979 /* Domains (P, C): per_pwrdm, l4sec_clkdm */
980 clocks = <&l4sec_clkctrl DRA7_L4SEC_AES1_CLKCTRL 0>;
Joel Fernandese7fd15c2016-06-01 12:06:42 +0300981 clock-names = "fck";
Tony Lindgren2ea3ce22019-12-12 09:46:16 -0800982 #address-cells = <1>;
983 #size-cells = <1>;
984 ranges = <0x0 0x4b500000 0x1000>;
985
986 aes1: aes@0 {
987 compatible = "ti,omap4-aes";
988 reg = <0 0xa0>;
989 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
990 dmas = <&edma_xbar 111 0>, <&edma_xbar 110 0>;
991 dma-names = "tx", "rx";
992 clocks = <&l3_iclk_div>;
993 clock-names = "fck";
994 };
Joel Fernandese7fd15c2016-06-01 12:06:42 +0300995 };
996
Tony Lindgren2ea3ce22019-12-12 09:46:16 -0800997 aes2_target: target-module@4b700000 {
998 compatible = "ti,sysc-omap2", "ti,sysc";
Tony Lindgren2ea3ce22019-12-12 09:46:16 -0800999 reg = <0x4b700080 0x4>,
1000 <0x4b700084 0x4>,
1001 <0x4b700088 0x4>;
1002 reg-names = "rev", "sysc", "syss";
1003 ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
1004 SYSC_OMAP2_AUTOIDLE)>;
1005 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
1006 <SYSC_IDLE_NO>,
1007 <SYSC_IDLE_SMART>,
1008 <SYSC_IDLE_SMART_WKUP>;
1009 ti,syss-mask = <1>;
1010 /* Domains (P, C): per_pwrdm, l4sec_clkdm */
1011 clocks = <&l4sec_clkctrl DRA7_L4SEC_AES2_CLKCTRL 0>;
Joel Fernandese7fd15c2016-06-01 12:06:42 +03001012 clock-names = "fck";
Tony Lindgren2ea3ce22019-12-12 09:46:16 -08001013 #address-cells = <1>;
1014 #size-cells = <1>;
1015 ranges = <0x0 0x4b700000 0x1000>;
1016
1017 aes2: aes@0 {
1018 compatible = "ti,omap4-aes";
1019 reg = <0 0xa0>;
1020 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
1021 dmas = <&edma_xbar 114 0>, <&edma_xbar 113 0>;
1022 dma-names = "tx", "rx";
1023 clocks = <&l3_iclk_div>;
1024 clock-names = "fck";
1025 };
Joel Fernandese7fd15c2016-06-01 12:06:42 +03001026 };
1027
Tero Kristobe5cd392020-09-07 12:52:46 +03001028 sham1_target: target-module@4b101000 {
Tony Lindgrene1326812019-12-12 09:46:15 -08001029 compatible = "ti,sysc-omap3-sham", "ti,sysc";
Tony Lindgrene1326812019-12-12 09:46:15 -08001030 reg = <0x4b101100 0x4>,
1031 <0x4b101110 0x4>,
1032 <0x4b101114 0x4>;
1033 reg-names = "rev", "sysc", "syss";
1034 ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
1035 SYSC_OMAP2_AUTOIDLE)>;
1036 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
1037 <SYSC_IDLE_NO>,
1038 <SYSC_IDLE_SMART>;
1039 ti,syss-mask = <1>;
1040 /* Domains (P, C): l4per_pwrdm, l4sec_clkdm */
1041 clocks = <&l4sec_clkctrl DRA7_L4SEC_SHAM_CLKCTRL 0>;
Lokesh Vutlada346092016-06-01 12:06:43 +03001042 clock-names = "fck";
Tony Lindgrene1326812019-12-12 09:46:15 -08001043 #address-cells = <1>;
1044 #size-cells = <1>;
1045 ranges = <0x0 0x4b101000 0x1000>;
1046
Tero Kristobe5cd392020-09-07 12:52:46 +03001047 sham1: sham@0 {
Tony Lindgrene1326812019-12-12 09:46:15 -08001048 compatible = "ti,omap5-sham";
1049 reg = <0 0x300>;
1050 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
1051 dmas = <&edma_xbar 119 0>;
1052 dma-names = "rx";
1053 clocks = <&l3_iclk_div>;
1054 clock-names = "fck";
1055 };
Lokesh Vutlada346092016-06-01 12:06:43 +03001056 };
Lokesh Vutla610e9c42016-06-01 12:06:44 +03001057
Tero Kristobe5cd392020-09-07 12:52:46 +03001058 sham2_target: target-module@42701000 {
1059 compatible = "ti,sysc-omap3-sham", "ti,sysc";
1060 reg = <0x42701100 0x4>,
1061 <0x42701110 0x4>,
1062 <0x42701114 0x4>;
1063 reg-names = "rev", "sysc", "syss";
1064 ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
1065 SYSC_OMAP2_AUTOIDLE)>;
1066 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
1067 <SYSC_IDLE_NO>,
1068 <SYSC_IDLE_SMART>;
1069 ti,syss-mask = <1>;
1070 /* Domains (P, C): l4per_pwrdm, l4sec_clkdm */
1071 clocks = <&l4sec_clkctrl DRA7_L4SEC_SHAM2_CLKCTRL 0>;
1072 clock-names = "fck";
1073 #address-cells = <1>;
1074 #size-cells = <1>;
1075 ranges = <0x0 0x42701000 0x1000>;
1076
1077 sham2: sham@0 {
1078 compatible = "ti,omap5-sham";
1079 reg = <0 0x300>;
1080 interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
1081 dmas = <&edma_xbar 165 0>;
1082 dma-names = "rx";
1083 clocks = <&l3_iclk_div>;
1084 clock-names = "fck";
1085 };
1086 };
1087
Tony Lindgrenae57d152020-11-12 11:57:03 +02001088 iva_hd_target: target-module@5a000000 {
1089 compatible = "ti,sysc-omap4", "ti,sysc";
1090 reg = <0x5a05a400 0x4>,
1091 <0x5a05a410 0x4>;
1092 reg-names = "rev", "sysc";
1093 ti,sysc-midle = <SYSC_IDLE_FORCE>,
1094 <SYSC_IDLE_NO>,
1095 <SYSC_IDLE_SMART>;
1096 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
1097 <SYSC_IDLE_NO>,
1098 <SYSC_IDLE_SMART>;
1099 power-domains = <&prm_iva>;
1100 resets = <&prm_iva 2>;
1101 reset-names = "rstctrl";
1102 clocks = <&iva_clkctrl DRA7_IVA_CLKCTRL 0>;
1103 clock-names = "fck";
1104 #address-cells = <1>;
1105 #size-cells = <1>;
1106 ranges = <0x5a000000 0x5a000000 0x1000000>,
1107 <0x5b000000 0x5b000000 0x1000000>;
1108
1109 iva {
1110 compatible = "ti,ivahd";
1111 };
1112 };
1113
Dave Gerlachdbef1962017-12-19 09:24:20 -06001114 opp_supply_mpu: opp-supply@4a003b20 {
1115 compatible = "ti,omap5-opp-supply";
1116 reg = <0x4a003b20 0xc>;
1117 ti,efuse-settings = <
1118 /* uV offset */
1119 1060000 0x0
1120 1160000 0x4
1121 1210000 0x8
1122 >;
1123 ti,absolute-max-voltage-uv = <1500000>;
1124 };
1125
R Sricharan6e58b8f2013-08-14 19:08:20 +05301126 };
Keerthyf7397ed2015-03-23 14:39:38 -05001127
1128 thermal_zones: thermal-zones {
1129 #include "omap4-cpu-thermal.dtsi"
1130 #include "omap5-gpu-thermal.dtsi"
1131 #include "omap5-core-thermal.dtsi"
Keerthy667f2592016-02-08 14:46:30 +05301132 #include "dra7-dspeve-thermal.dtsi"
1133 #include "dra7-iva-thermal.dtsi"
Keerthyf7397ed2015-03-23 14:39:38 -05001134 };
1135
1136};
1137
1138&cpu_thermal {
1139 polling-delay = <500>; /* milliseconds */
Keerthyfb51ae02017-03-09 13:35:56 +05301140 coefficients = <0 2000>;
1141};
1142
1143&gpu_thermal {
1144 coefficients = <0 2000>;
1145};
1146
1147&core_thermal {
1148 coefficients = <0 2000>;
1149};
1150
1151&dspeve_thermal {
1152 coefficients = <0 2000>;
1153};
1154
1155&iva_thermal {
1156 coefficients = <0 2000>;
R Sricharan6e58b8f2013-08-14 19:08:20 +05301157};
Tero Kristoee6c7502013-07-18 17:18:33 +03001158
Ravikumar Kattekolabca52382017-05-17 06:51:38 -07001159&cpu_crit {
1160 temperature = <120000>; /* milli Celsius */
1161};
1162
Ravikumar Kattekola64c358b2018-01-11 21:45:39 +05301163&core_crit {
1164 temperature = <120000>; /* milli Celsius */
1165};
1166
1167&gpu_crit {
1168 temperature = <120000>; /* milli Celsius */
1169};
1170
1171&dspeve_crit {
1172 temperature = <120000>; /* milli Celsius */
1173};
1174
1175&iva_crit {
1176 temperature = <120000>; /* milli Celsius */
1177};
Tony Lindgren4ed0dfe2018-09-27 13:39:07 -07001178
1179#include "dra7-l4.dtsi"
1180#include "dra7xx-clocks.dtsi"
Tero Kristodb7725d2019-10-10 11:21:04 +03001181
1182&prm {
Tero Kristo1021b372020-11-11 15:57:20 +02001183 prm_mpu: prm@300 {
1184 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1185 reg = <0x300 0x100>;
1186 #power-domain-cells = <0>;
1187 };
1188
Tero Kristodb7725d2019-10-10 11:21:04 +03001189 prm_dsp1: prm@400 {
1190 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1191 reg = <0x400 0x100>;
1192 #reset-cells = <1>;
Tero Kristo1021b372020-11-11 15:57:20 +02001193 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001194 };
1195
1196 prm_ipu: prm@500 {
1197 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1198 reg = <0x500 0x100>;
1199 #reset-cells = <1>;
Tero Kristo1021b372020-11-11 15:57:20 +02001200 #power-domain-cells = <0>;
1201 };
1202
1203 prm_coreaon: prm@628 {
1204 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1205 reg = <0x628 0xd8>;
1206 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001207 };
1208
1209 prm_core: prm@700 {
1210 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1211 reg = <0x700 0x100>;
1212 #reset-cells = <1>;
Tero Kristo1021b372020-11-11 15:57:20 +02001213 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001214 };
1215
1216 prm_iva: prm@f00 {
1217 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1218 reg = <0xf00 0x100>;
Tony Lindgrenae57d152020-11-12 11:57:03 +02001219 #reset-cells = <1>;
Tero Kristo1021b372020-11-11 15:57:20 +02001220 #power-domain-cells = <0>;
1221 };
1222
1223 prm_cam: prm@1000 {
1224 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1225 reg = <0x1000 0x100>;
1226 #power-domain-cells = <0>;
1227 };
1228
1229 prm_dss: prm@1100 {
1230 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1231 reg = <0x1100 0x100>;
1232 #power-domain-cells = <0>;
1233 };
1234
1235 prm_gpu: prm@1200 {
1236 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1237 reg = <0x1200 0x100>;
1238 #power-domain-cells = <0>;
1239 };
1240
1241 prm_l3init: prm@1300 {
1242 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1243 reg = <0x1300 0x100>;
1244 #reset-cells = <1>;
1245 #power-domain-cells = <0>;
1246 };
1247
1248 prm_l4per: prm@1400 {
1249 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1250 reg = <0x1400 0x100>;
1251 #power-domain-cells = <0>;
1252 };
1253
1254 prm_custefuse: prm@1600 {
1255 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1256 reg = <0x1600 0x100>;
1257 #power-domain-cells = <0>;
1258 };
1259
1260 prm_wkupaon: prm@1724 {
1261 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1262 reg = <0x1724 0x100>;
1263 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001264 };
1265
1266 prm_dsp2: prm@1b00 {
1267 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1268 reg = <0x1b00 0x40>;
1269 #reset-cells = <1>;
Tero Kristo1021b372020-11-11 15:57:20 +02001270 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001271 };
1272
1273 prm_eve1: prm@1b40 {
1274 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1275 reg = <0x1b40 0x40>;
Tero Kristo1021b372020-11-11 15:57:20 +02001276 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001277 };
1278
1279 prm_eve2: prm@1b80 {
1280 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1281 reg = <0x1b80 0x40>;
Tero Kristo1021b372020-11-11 15:57:20 +02001282 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001283 };
1284
1285 prm_eve3: prm@1bc0 {
1286 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1287 reg = <0x1bc0 0x40>;
Tero Kristo1021b372020-11-11 15:57:20 +02001288 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001289 };
1290
1291 prm_eve4: prm@1c00 {
1292 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1293 reg = <0x1c00 0x60>;
Tero Kristo1021b372020-11-11 15:57:20 +02001294 #power-domain-cells = <0>;
1295 };
1296
1297 prm_rtc: prm@1c60 {
1298 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1299 reg = <0x1c60 0x20>;
1300 #power-domain-cells = <0>;
1301 };
1302
1303 prm_vpe: prm@1c80 {
1304 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1305 reg = <0x1c80 0x80>;
1306 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001307 };
1308};
Tony Lindgren036a3d42020-05-07 09:59:31 -07001309
1310/* Preferred always-on timer for clockevent */
1311&timer1_target {
1312 ti,no-reset-on-init;
1313 ti,no-idle;
1314 timer@0 {
1315 assigned-clocks = <&wkupaon_clkctrl DRA7_TIMER1_CLKCTRL 24>;
1316 assigned-clock-parents = <&sys_32k_ck>;
1317 };
1318};