blob: f7e40227d7de490c118317883339579ec4aae691 [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001// SPDX-License-Identifier: GPL-2.0-only
R Sricharan6e58b8f2013-08-14 19:08:20 +05302/*
Alexander A. Klimov75f66812020-07-08 11:34:51 +02003 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
R Sricharan6e58b8f2013-08-14 19:08:20 +05304 *
R Sricharan6e58b8f2013-08-14 19:08:20 +05305 * Based on "omap4.dtsi"
6 */
7
Tony Lindgrene14d7e52018-01-11 16:04:03 -08008#include <dt-bindings/bus/ti-sysc.h>
9#include <dt-bindings/clock/dra7.h>
R Sricharan6e58b8f2013-08-14 19:08:20 +053010#include <dt-bindings/interrupt-controller/arm-gic.h>
11#include <dt-bindings/pinctrl/dra.h>
Tero Kristo18395332017-12-08 17:17:29 +020012#include <dt-bindings/clock/dra7.h>
R Sricharan6e58b8f2013-08-14 19:08:20 +053013
R Sricharana46631c2014-06-26 12:55:31 +053014#define MAX_SOURCES 400
R Sricharana46631c2014-06-26 12:55:31 +053015
R Sricharan6e58b8f2013-08-14 19:08:20 +053016/ {
Lokesh Vutladae320e2016-02-24 15:41:04 +053017 #address-cells = <2>;
18 #size-cells = <2>;
R Sricharan6e58b8f2013-08-14 19:08:20 +053019
20 compatible = "ti,dra7xx";
Marc Zyngier783d3182015-03-11 15:43:44 +000021 interrupt-parent = <&crossbar_mpu>;
Javier Martinez Canillas7f6c8572016-12-19 11:44:41 -030022 chosen { };
R Sricharan6e58b8f2013-08-14 19:08:20 +053023
24 aliases {
Nishanth Menon20b80942013-10-16 15:21:03 -050025 i2c0 = &i2c1;
26 i2c1 = &i2c2;
27 i2c2 = &i2c3;
28 i2c3 = &i2c4;
29 i2c4 = &i2c5;
R Sricharan6e58b8f2013-08-14 19:08:20 +053030 serial0 = &uart1;
31 serial1 = &uart2;
32 serial2 = &uart3;
33 serial3 = &uart4;
34 serial4 = &uart5;
35 serial5 = &uart6;
Nishanth Menon065bd7f2014-10-21 11:18:15 -050036 serial6 = &uart7;
37 serial7 = &uart8;
38 serial8 = &uart9;
39 serial9 = &uart10;
Grygorii Strashkoec9bc5b2020-09-07 23:21:25 +030040 ethernet0 = &cpsw_port1;
41 ethernet1 = &cpsw_port2;
Roger Quadros9ec49b92014-08-15 16:08:36 +030042 d_can0 = &dcan1;
43 d_can1 = &dcan2;
Mugunthan V N480b2b32015-11-19 12:31:01 +053044 spi0 = &qspi;
R Sricharan6e58b8f2013-08-14 19:08:20 +053045 };
46
R Sricharan6e58b8f2013-08-14 19:08:20 +053047 timer {
48 compatible = "arm,armv7-timer";
49 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
50 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
51 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
52 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
Marc Zyngier783d3182015-03-11 15:43:44 +000053 interrupt-parent = <&gic>;
R Sricharan6e58b8f2013-08-14 19:08:20 +053054 };
55
56 gic: interrupt-controller@48211000 {
57 compatible = "arm,cortex-a15-gic";
58 interrupt-controller;
59 #interrupt-cells = <3>;
Lokesh Vutladae320e2016-02-24 15:41:04 +053060 reg = <0x0 0x48211000 0x0 0x1000>,
Marc Zyngier387720c2017-01-18 09:27:28 +000061 <0x0 0x48212000 0x0 0x2000>,
Lokesh Vutladae320e2016-02-24 15:41:04 +053062 <0x0 0x48214000 0x0 0x2000>,
63 <0x0 0x48216000 0x0 0x2000>;
R Sricharan6e58b8f2013-08-14 19:08:20 +053064 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
Marc Zyngier783d3182015-03-11 15:43:44 +000065 interrupt-parent = <&gic>;
R Sricharan6e58b8f2013-08-14 19:08:20 +053066 };
67
Marc Zyngier7136d452015-03-11 15:43:49 +000068 wakeupgen: interrupt-controller@48281000 {
69 compatible = "ti,omap5-wugen-mpu", "ti,omap4-wugen-mpu";
70 interrupt-controller;
71 #interrupt-cells = <3>;
Lokesh Vutladae320e2016-02-24 15:41:04 +053072 reg = <0x0 0x48281000 0x0 0x1000>;
Marc Zyngier7136d452015-03-11 15:43:49 +000073 interrupt-parent = <&gic>;
R Sricharan6e58b8f2013-08-14 19:08:20 +053074 };
75
Dave Gerlachb82ffb32016-05-18 18:36:32 -050076 cpus {
77 #address-cells = <1>;
78 #size-cells = <0>;
79
80 cpu0: cpu@0 {
81 device_type = "cpu";
82 compatible = "arm,cortex-a15";
83 reg = <0>;
84
Dave Gerlacha4e5e9f2017-03-06 09:23:41 -060085 operating-points-v2 = <&cpu0_opp_table>;
Dave Gerlachb82ffb32016-05-18 18:36:32 -050086
87 clocks = <&dpll_mpu_ck>;
88 clock-names = "cpu";
89
90 clock-latency = <300000>; /* From omap-cpufreq driver */
91
92 /* cooling options */
Dave Gerlachb82ffb32016-05-18 18:36:32 -050093 #cooling-cells = <2>; /* min followed by max */
Dave Gerlach000fb7a2017-12-19 09:24:19 -060094
95 vbb-supply = <&abb_mpu>;
Dave Gerlachb82ffb32016-05-18 18:36:32 -050096 };
97 };
98
Dave Gerlacha4e5e9f2017-03-06 09:23:41 -060099 cpu0_opp_table: opp-table {
100 compatible = "operating-points-v2-ti-cpu";
101 syscon = <&scm_wkup>;
102
Viresh Kumarb9cb2ba2017-04-20 16:25:06 +0530103 opp_nom-1000000000 {
Dave Gerlacha4e5e9f2017-03-06 09:23:41 -0600104 opp-hz = /bits/ 64 <1000000000>;
Dave Gerlach000fb7a2017-12-19 09:24:19 -0600105 opp-microvolt = <1060000 850000 1150000>,
106 <1060000 850000 1150000>;
Dave Gerlacha4e5e9f2017-03-06 09:23:41 -0600107 opp-supported-hw = <0xFF 0x01>;
108 opp-suspend;
109 };
110
Viresh Kumarb9cb2ba2017-04-20 16:25:06 +0530111 opp_od-1176000000 {
Dave Gerlacha4e5e9f2017-03-06 09:23:41 -0600112 opp-hz = /bits/ 64 <1176000000>;
Dave Gerlach000fb7a2017-12-19 09:24:19 -0600113 opp-microvolt = <1160000 885000 1160000>,
114 <1160000 885000 1160000>;
115
Dave Gerlacha4e5e9f2017-03-06 09:23:41 -0600116 opp-supported-hw = <0xFF 0x02>;
117 };
Dave Gerlachbc69fed2017-12-19 09:24:21 -0600118
119 opp_high@1500000000 {
120 opp-hz = /bits/ 64 <1500000000>;
121 opp-microvolt = <1210000 950000 1250000>,
122 <1210000 950000 1250000>;
123 opp-supported-hw = <0xFF 0x04>;
124 };
Dave Gerlacha4e5e9f2017-03-06 09:23:41 -0600125 };
126
R Sricharan6e58b8f2013-08-14 19:08:20 +0530127 /*
Geert Uytterhoeven5c5be9d2014-03-28 11:11:37 +0100128 * The soc node represents the soc top level view. It is used for IPs
R Sricharan6e58b8f2013-08-14 19:08:20 +0530129 * that are not memory mapped in the MPU view or for the MPU itself.
130 */
131 soc {
132 compatible = "ti,omap-infra";
133 mpu {
134 compatible = "ti,omap5-mpu";
135 ti,hwmods = "mpu";
136 };
137 };
138
139 /*
140 * XXX: Use a flat representation of the SOC interconnect.
141 * The real OMAP interconnect network is quite complex.
Geert Uytterhoevenb7ab5242014-03-28 11:11:39 +0100142 * Since it will not bring real advantage to represent that in DT for
R Sricharan6e58b8f2013-08-14 19:08:20 +0530143 * the moment, just use a fake OCP bus entry to represent the whole bus
144 * hierarchy.
145 */
Suman Annaecdeca62020-02-27 16:28:37 -0600146 ocp: ocp {
Rajendra Nayakfba387a2014-04-10 11:34:32 -0500147 compatible = "ti,dra7-l3-noc", "simple-bus";
R Sricharan6e58b8f2013-08-14 19:08:20 +0530148 #address-cells = <1>;
149 #size-cells = <1>;
Lokesh Vutladae320e2016-02-24 15:41:04 +0530150 ranges = <0x0 0x0 0x0 0xc0000000>;
Roger Quadroscfb5d652020-03-13 11:47:17 +0200151 dma-ranges = <0x80000000 0x0 0x80000000 0x80000000>;
R Sricharan6e58b8f2013-08-14 19:08:20 +0530152 ti,hwmods = "l3_main_1", "l3_main_2";
Lokesh Vutladae320e2016-02-24 15:41:04 +0530153 reg = <0x0 0x44000000 0x0 0x1000000>,
154 <0x0 0x45000000 0x0 0x1000>;
Marc Zyngier783d3182015-03-11 15:43:44 +0000155 interrupts-extended = <&crossbar_mpu GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
Marc Zyngier7136d452015-03-11 15:43:49 +0000156 <&wakeupgen GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
R Sricharan6e58b8f2013-08-14 19:08:20 +0530157
Tony Lindgren4ed0dfe2018-09-27 13:39:07 -0700158 l4_cfg: interconnect@4a000000 {
Tero Kristod9195012015-02-12 11:37:13 +0200159 };
Tony Lindgren4ed0dfe2018-09-27 13:39:07 -0700160 l4_wkup: interconnect@4ae00000 {
161 };
162 l4_per1: interconnect@48000000 {
163 };
164 l4_per2: interconnect@48400000 {
165 };
166 l4_per3: interconnect@48800000 {
Tero Kristoee6c7502013-07-18 17:18:33 +0300167 };
168
Tony Lindgren785d9432021-03-10 14:03:45 +0200169 /*
170 * Register access seems to have complex dependencies and also
171 * seems to need an enabled phy. See the TRM chapter for "Table
172 * 26-678. Main Sequence PCIe Controller Global Initialization"
173 * and also dra7xx_pcie_probe().
174 */
175 axi0: target-module@51000000 {
176 compatible = "ti,sysc-omap4", "ti,sysc";
177 power-domains = <&prm_l3init>;
178 resets = <&prm_l3init 0>;
179 reset-names = "rstctrl";
180 clocks = <&pcie_clkctrl DRA7_PCIE_PCIE1_CLKCTRL 0>,
181 <&pcie_clkctrl DRA7_PCIE_PCIE1_CLKCTRL 9>,
182 <&pcie_clkctrl DRA7_PCIE_PCIE1_CLKCTRL 10>;
183 clock-names = "fck", "phy-clk", "phy-clk-div";
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530184 #size-cells = <1>;
185 #address-cells = <1>;
Tony Lindgrenc7610282021-03-10 14:03:45 +0200186 ranges = <0x51000000 0x51000000 0x3000>,
187 <0x20000000 0x20000000 0x10000000>;
Kishon Vijay Abraham I90d4d3f2020-04-17 12:13:40 +0530188 dma-ranges;
Kishon Vijay Abraham Id23f3832017-08-08 11:10:24 +0530189 /**
190 * To enable PCI endpoint mode, disable the pcie1_rc
191 * node and enable pcie1_ep mode.
192 */
193 pcie1_rc: pcie@51000000 {
Tony Lindgrenc7610282021-03-10 14:03:45 +0200194 reg = <0x51000000 0x2000>,
195 <0x51002000 0x14c>,
196 <0x20001000 0x2000>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530197 reg-names = "rc_dbics", "ti_conf", "config";
198 interrupts = <0 232 0x4>, <0 233 0x4>;
199 #address-cells = <3>;
200 #size-cells = <2>;
201 device_type = "pci";
Tony Lindgrenc7610282021-03-10 14:03:45 +0200202 ranges = <0x81000000 0 0x00000000 0x20003000 0 0x00010000>,
203 <0x82000000 0 0x20013000 0x20013000 0 0x0ffed000>;
Rob Herring7d79f602017-03-21 21:03:01 -0500204 bus-range = <0x00 0xff>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530205 #interrupt-cells = <1>;
206 num-lanes = <1>;
Kishon Vijay Abraham Ibed596d2016-08-10 18:03:18 +0530207 linux,pci-domain = <0>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530208 ti,hwmods = "pcie1";
209 phys = <&pcie1_phy>;
210 phy-names = "pcie-phy0";
Kishon Vijay Abraham Ib5acec02019-03-25 15:15:25 +0530211 ti,syscon-lane-sel = <&scm_conf_pcie 0x18>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530212 interrupt-map-mask = <0 0 0 7>;
213 interrupt-map = <0 0 0 1 &pcie1_intc 1>,
214 <0 0 0 2 &pcie1_intc 2>,
215 <0 0 0 3 &pcie1_intc 3>,
216 <0 0 0 4 &pcie1_intc 4>;
Vignesh Rb8305262018-09-28 11:34:42 +0530217 ti,syscon-unaligned-access = <&scm_conf1 0x14 1>;
Kishon Vijay Abraham Id23f3832017-08-08 11:10:24 +0530218 status = "disabled";
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530219 pcie1_intc: interrupt-controller {
220 interrupt-controller;
221 #address-cells = <0>;
222 #interrupt-cells = <1>;
223 };
224 };
Kishon Vijay Abraham Id23f3832017-08-08 11:10:24 +0530225
226 pcie1_ep: pcie_ep@51000000 {
Tony Lindgrenc7610282021-03-10 14:03:45 +0200227 reg = <0x51000000 0x28>,
228 <0x51002000 0x14c>,
229 <0x51001000 0x28>,
230 <0x20001000 0x10000000>;
Kishon Vijay Abraham Id23f3832017-08-08 11:10:24 +0530231 reg-names = "ep_dbics", "ti_conf", "ep_dbics2", "addr_space";
232 interrupts = <0 232 0x4>;
233 num-lanes = <1>;
234 num-ib-windows = <4>;
235 num-ob-windows = <16>;
236 ti,hwmods = "pcie1";
237 phys = <&pcie1_phy>;
238 phy-names = "pcie-phy0";
Vignesh R6d0af442018-09-25 10:51:51 +0530239 ti,syscon-unaligned-access = <&scm_conf1 0x14 1>;
Kishon Vijay Abraham Ib5acec02019-03-25 15:15:25 +0530240 ti,syscon-lane-sel = <&scm_conf_pcie 0x18>;
Kishon Vijay Abraham Id23f3832017-08-08 11:10:24 +0530241 status = "disabled";
242 };
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530243 };
244
Tony Lindgren785d9432021-03-10 14:03:45 +0200245 /*
246 * Register access seems to have complex dependencies and also
247 * seems to need an enabled phy. See the TRM chapter for "Table
248 * 26-678. Main Sequence PCIe Controller Global Initialization"
249 * and also dra7xx_pcie_probe().
250 */
251 axi1: target-module@51800000 {
252 compatible = "ti,sysc-omap4", "ti,sysc";
253 clocks = <&pcie_clkctrl DRA7_PCIE_PCIE2_CLKCTRL 0>,
254 <&pcie_clkctrl DRA7_PCIE_PCIE2_CLKCTRL 9>,
255 <&pcie_clkctrl DRA7_PCIE_PCIE2_CLKCTRL 10>;
256 clock-names = "fck", "phy-clk", "phy-clk-div";
257 power-domains = <&prm_l3init>;
258 resets = <&prm_l3init 1>;
259 reset-names = "rstctrl";
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530260 #size-cells = <1>;
261 #address-cells = <1>;
Tony Lindgrenc7610282021-03-10 14:03:45 +0200262 ranges = <0x51800000 0x51800000 0x3000>,
263 <0x30000000 0x30000000 0x10000000>;
Kishon Vijay Abraham I90d4d3f2020-04-17 12:13:40 +0530264 dma-ranges;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530265 status = "disabled";
Kishon Vijay Abraham I1ac19c82017-12-19 15:01:28 +0530266 pcie2_rc: pcie@51800000 {
Tony Lindgrenc7610282021-03-10 14:03:45 +0200267 reg = <0x51800000 0x2000>,
268 <0x51802000 0x14c>,
269 <0x30001000 0x2000>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530270 reg-names = "rc_dbics", "ti_conf", "config";
271 interrupts = <0 355 0x4>, <0 356 0x4>;
272 #address-cells = <3>;
273 #size-cells = <2>;
274 device_type = "pci";
Tony Lindgrenc7610282021-03-10 14:03:45 +0200275 ranges = <0x81000000 0 0x00000000 0x30003000 0 0x00010000>,
276 <0x82000000 0 0x30013000 0x30013000 0 0x0ffed000>;
Rob Herring7d79f602017-03-21 21:03:01 -0500277 bus-range = <0x00 0xff>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530278 #interrupt-cells = <1>;
279 num-lanes = <1>;
Kishon Vijay Abraham Ibed596d2016-08-10 18:03:18 +0530280 linux,pci-domain = <1>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530281 ti,hwmods = "pcie2";
282 phys = <&pcie2_phy>;
283 phy-names = "pcie-phy0";
284 interrupt-map-mask = <0 0 0 7>;
285 interrupt-map = <0 0 0 1 &pcie2_intc 1>,
286 <0 0 0 2 &pcie2_intc 2>,
287 <0 0 0 3 &pcie2_intc 3>,
288 <0 0 0 4 &pcie2_intc 4>;
Vignesh Rb8305262018-09-28 11:34:42 +0530289 ti,syscon-unaligned-access = <&scm_conf1 0x14 2>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530290 pcie2_intc: interrupt-controller {
291 interrupt-controller;
292 #address-cells = <0>;
293 #interrupt-cells = <1>;
294 };
295 };
296 };
297
Dave Gerlacha5fa09b2016-05-10 14:49:41 -0500298 ocmcram1: ocmcram@40300000 {
299 compatible = "mmio-sram";
300 reg = <0x40300000 0x80000>;
301 ranges = <0x0 0x40300000 0x80000>;
302 #address-cells = <1>;
303 #size-cells = <1>;
Dave Gerlachfae3a9f2016-05-10 14:49:42 -0500304 /*
305 * This is a placeholder for an optional reserved
306 * region for use by secure software. The size
307 * of this region is not known until runtime so it
308 * is set as zero to either be updated to reserve
309 * space or left unchanged to leave all SRAM for use.
310 * On HS parts that that require the reserved region
311 * either the bootloader can update the size to
312 * the required amount or the node can be overridden
313 * from the board dts file for the secure platform.
314 */
315 sram-hs@0 {
316 compatible = "ti,secure-ram";
317 reg = <0x0 0x0>;
318 };
Dave Gerlacha5fa09b2016-05-10 14:49:41 -0500319 };
320
321 /*
322 * NOTE: ocmcram2 and ocmcram3 are not available on all
323 * DRA7xx and AM57xx variants. Confirm availability in
324 * the data manual for the exact part number in use
325 * before enabling these nodes in the board dts file.
326 */
327 ocmcram2: ocmcram@40400000 {
328 status = "disabled";
329 compatible = "mmio-sram";
330 reg = <0x40400000 0x100000>;
331 ranges = <0x0 0x40400000 0x100000>;
332 #address-cells = <1>;
333 #size-cells = <1>;
334 };
335
336 ocmcram3: ocmcram@40500000 {
337 status = "disabled";
338 compatible = "mmio-sram";
339 reg = <0x40500000 0x100000>;
340 ranges = <0x0 0x40500000 0x100000>;
341 #address-cells = <1>;
342 #size-cells = <1>;
343 };
344
Keerthyf7397ed2015-03-23 14:39:38 -0500345 bandgap: bandgap@4a0021e0 {
346 reg = <0x4a0021e0 0xc
347 0x4a00232c 0xc
348 0x4a002380 0x2c
349 0x4a0023C0 0x3c
350 0x4a002564 0x8
351 0x4a002574 0x50>;
352 compatible = "ti,dra752-bandgap";
353 interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
354 #thermal-sensor-cells = <1>;
355 };
356
Suman Anna99639ac2015-10-02 18:23:22 -0500357 dsp1_system: dsp_system@40d00000 {
358 compatible = "syscon";
359 reg = <0x40d00000 0x100>;
360 };
361
Tony Lindgreneba61302017-06-16 17:24:29 +0530362 dra7_iodelay_core: padconf@4844a000 {
363 compatible = "ti,dra7-iodelay";
364 reg = <0x4844a000 0x0d1c>;
365 #address-cells = <1>;
366 #size-cells = <0>;
367 #pinctrl-cells = <2>;
368 };
369
Tony Lindgren13149bb2020-03-04 07:25:31 -0800370 target-module@43300000 {
371 compatible = "ti,sysc-omap4", "ti,sysc";
Tony Lindgren13149bb2020-03-04 07:25:31 -0800372 reg = <0x43300000 0x4>;
373 reg-names = "rev";
374 clocks = <&l3main1_clkctrl DRA7_L3MAIN1_TPCC_CLKCTRL 0>;
375 clock-names = "fck";
376 #address-cells = <1>;
377 #size-cells = <1>;
378 ranges = <0x0 0x43300000 0x100000>;
Peter Ujfalusi248948f2016-03-07 17:17:29 +0200379
Tony Lindgren13149bb2020-03-04 07:25:31 -0800380 edma: dma@0 {
381 compatible = "ti,edma3-tpcc";
382 reg = <0 0x100000>;
383 reg-names = "edma3_cc";
384 interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>,
385 <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>,
386 <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
387 interrupt-names = "edma3_ccint", "edma3_mperr",
388 "edma3_ccerrint";
389 dma-requests = <64>;
390 #dma-cells = <2>;
Peter Ujfalusi248948f2016-03-07 17:17:29 +0200391
Tony Lindgren13149bb2020-03-04 07:25:31 -0800392 ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 0>;
393
394 /*
395 * memcpy is disabled, can be enabled with:
396 * ti,edma-memcpy-channels = <20 21>;
397 * for example. Note that these channels need to be
398 * masked in the xbar as well.
399 */
400 };
Peter Ujfalusi248948f2016-03-07 17:17:29 +0200401 };
402
Tony Lindgren103d2642020-03-04 07:25:31 -0800403 target-module@43400000 {
404 compatible = "ti,sysc-omap4", "ti,sysc";
Tony Lindgren103d2642020-03-04 07:25:31 -0800405 reg = <0x43400000 0x4>;
406 reg-names = "rev";
407 clocks = <&l3main1_clkctrl DRA7_L3MAIN1_TPTC0_CLKCTRL 0>;
408 clock-names = "fck";
409 #address-cells = <1>;
410 #size-cells = <1>;
411 ranges = <0x0 0x43400000 0x100000>;
412
413 edma_tptc0: dma@0 {
414 compatible = "ti,edma3-tptc";
415 reg = <0 0x100000>;
416 interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
417 interrupt-names = "edma3_tcerrint";
418 };
Peter Ujfalusi248948f2016-03-07 17:17:29 +0200419 };
420
Tony Lindgren4286b672020-03-04 07:25:31 -0800421 target-module@43500000 {
422 compatible = "ti,sysc-omap4", "ti,sysc";
Tony Lindgren4286b672020-03-04 07:25:31 -0800423 reg = <0x43500000 0x4>;
424 reg-names = "rev";
425 clocks = <&l3main1_clkctrl DRA7_L3MAIN1_TPTC1_CLKCTRL 0>;
426 clock-names = "fck";
427 #address-cells = <1>;
428 #size-cells = <1>;
429 ranges = <0x0 0x43500000 0x100000>;
430
431 edma_tptc1: dma@0 {
432 compatible = "ti,edma3-tptc";
433 reg = <0 0x100000>;
434 interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
435 interrupt-names = "edma3_tcerrint";
436 };
Peter Ujfalusi248948f2016-03-07 17:17:29 +0200437 };
438
Archit Taneja1a5fe3c2013-12-17 15:32:21 +0530439 dmm@4e000000 {
440 compatible = "ti,omap5-dmm";
441 reg = <0x4e000000 0x800>;
R Sricharana46631c2014-06-26 12:55:31 +0530442 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
Archit Taneja1a5fe3c2013-12-17 15:32:21 +0530443 ti,hwmods = "dmm";
444 };
445
Suman Anna46ab8232020-04-24 18:12:29 +0300446 ipu1: ipu@58820000 {
447 compatible = "ti,dra7-ipu";
448 reg = <0x58820000 0x10000>;
449 reg-names = "l2ram";
450 iommus = <&mmu_ipu1>;
451 status = "disabled";
452 resets = <&prm_ipu 0>, <&prm_ipu 1>;
453 clocks = <&ipu1_clkctrl DRA7_IPU1_MMU_IPU1_CLKCTRL 0>;
454 firmware-name = "dra7-ipu1-fw.xem4";
455 };
456
457 ipu2: ipu@55020000 {
458 compatible = "ti,dra7-ipu";
459 reg = <0x55020000 0x10000>;
460 reg-names = "l2ram";
461 iommus = <&mmu_ipu2>;
462 status = "disabled";
463 resets = <&prm_core 0>, <&prm_core 1>;
464 clocks = <&ipu2_clkctrl DRA7_IPU2_MMU_IPU2_CLKCTRL 0>;
465 firmware-name = "dra7-ipu2-fw.xem4";
466 };
467
468 dsp1: dsp@40800000 {
469 compatible = "ti,dra7-dsp";
470 reg = <0x40800000 0x48000>,
471 <0x40e00000 0x8000>,
472 <0x40f00000 0x8000>;
473 reg-names = "l2ram", "l1pram", "l1dram";
474 ti,bootreg = <&scm_conf 0x55c 10>;
475 iommus = <&mmu0_dsp1>, <&mmu1_dsp1>;
476 status = "disabled";
477 resets = <&prm_dsp1 0>;
478 clocks = <&dsp1_clkctrl DRA7_DSP1_MMU0_DSP1_CLKCTRL 0>;
479 firmware-name = "dra7-dsp1-fw.xe66";
480 };
481
Tero Kristodbd2d6f2019-12-12 14:51:18 +0200482 target-module@40d01000 {
483 compatible = "ti,sysc-omap2", "ti,sysc";
484 reg = <0x40d01000 0x4>,
485 <0x40d01010 0x4>,
486 <0x40d01014 0x4>;
487 reg-names = "rev", "sysc", "syss";
488 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
489 <SYSC_IDLE_NO>,
490 <SYSC_IDLE_SMART>;
491 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
492 SYSC_OMAP2_SOFTRESET |
493 SYSC_OMAP2_AUTOIDLE)>;
494 clocks = <&dsp1_clkctrl DRA7_DSP1_MMU0_DSP1_CLKCTRL 0>;
495 clock-names = "fck";
496 resets = <&prm_dsp1 1>;
497 reset-names = "rstctrl";
498 ranges = <0x0 0x40d01000 0x1000>;
499 #size-cells = <1>;
500 #address-cells = <1>;
501
502 mmu0_dsp1: mmu@0 {
503 compatible = "ti,dra7-dsp-iommu";
504 reg = <0x0 0x100>;
505 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
506 #iommu-cells = <0>;
507 ti,syscon-mmuconfig = <&dsp1_system 0x0>;
508 };
Suman Anna2c7e07c52015-10-02 18:23:24 -0500509 };
510
Tero Kristodbd2d6f2019-12-12 14:51:18 +0200511 target-module@40d02000 {
512 compatible = "ti,sysc-omap2", "ti,sysc";
513 reg = <0x40d02000 0x4>,
514 <0x40d02010 0x4>,
515 <0x40d02014 0x4>;
516 reg-names = "rev", "sysc", "syss";
517 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
518 <SYSC_IDLE_NO>,
519 <SYSC_IDLE_SMART>;
520 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
521 SYSC_OMAP2_SOFTRESET |
522 SYSC_OMAP2_AUTOIDLE)>;
523 clocks = <&dsp1_clkctrl DRA7_DSP1_MMU0_DSP1_CLKCTRL 0>;
524 clock-names = "fck";
525 resets = <&prm_dsp1 1>;
526 reset-names = "rstctrl";
527 ranges = <0x0 0x40d02000 0x1000>;
528 #size-cells = <1>;
529 #address-cells = <1>;
530
531 mmu1_dsp1: mmu@0 {
532 compatible = "ti,dra7-dsp-iommu";
533 reg = <0x0 0x100>;
534 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
535 #iommu-cells = <0>;
536 ti,syscon-mmuconfig = <&dsp1_system 0x1>;
537 };
Suman Anna2c7e07c52015-10-02 18:23:24 -0500538 };
539
Tero Kristodbd2d6f2019-12-12 14:51:18 +0200540 target-module@58882000 {
541 compatible = "ti,sysc-omap2", "ti,sysc";
542 reg = <0x58882000 0x4>,
543 <0x58882010 0x4>,
544 <0x58882014 0x4>;
545 reg-names = "rev", "sysc", "syss";
546 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
547 <SYSC_IDLE_NO>,
548 <SYSC_IDLE_SMART>;
549 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
550 SYSC_OMAP2_SOFTRESET |
551 SYSC_OMAP2_AUTOIDLE)>;
552 clocks = <&ipu1_clkctrl DRA7_IPU1_MMU_IPU1_CLKCTRL 0>;
553 clock-names = "fck";
554 resets = <&prm_ipu 2>;
555 reset-names = "rstctrl";
556 #address-cells = <1>;
557 #size-cells = <1>;
558 ranges = <0x0 0x58882000 0x100>;
559
560 mmu_ipu1: mmu@0 {
561 compatible = "ti,dra7-iommu";
562 reg = <0x0 0x100>;
563 interrupts = <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>;
564 #iommu-cells = <0>;
565 ti,iommu-bus-err-back;
566 };
Suman Anna2c7e07c52015-10-02 18:23:24 -0500567 };
568
Tero Kristodbd2d6f2019-12-12 14:51:18 +0200569 target-module@55082000 {
570 compatible = "ti,sysc-omap2", "ti,sysc";
571 reg = <0x55082000 0x4>,
572 <0x55082010 0x4>,
573 <0x55082014 0x4>;
574 reg-names = "rev", "sysc", "syss";
575 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
576 <SYSC_IDLE_NO>,
577 <SYSC_IDLE_SMART>;
578 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
579 SYSC_OMAP2_SOFTRESET |
580 SYSC_OMAP2_AUTOIDLE)>;
581 clocks = <&ipu2_clkctrl DRA7_IPU2_MMU_IPU2_CLKCTRL 0>;
582 clock-names = "fck";
583 resets = <&prm_core 2>;
584 reset-names = "rstctrl";
585 #address-cells = <1>;
586 #size-cells = <1>;
587 ranges = <0x0 0x55082000 0x100>;
588
589 mmu_ipu2: mmu@0 {
590 compatible = "ti,dra7-iommu";
591 reg = <0x0 0x100>;
592 interrupts = <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>;
593 #iommu-cells = <0>;
594 ti,iommu-bus-err-back;
595 };
Suman Anna2c7e07c52015-10-02 18:23:24 -0500596 };
597
Nishanth Menona1b8ee12014-03-03 20:20:23 +0530598 abb_mpu: regulator-abb-mpu {
599 compatible = "ti,abb-v3";
600 regulator-name = "abb_mpu";
601 #address-cells = <0>;
602 #size-cells = <0>;
603 clocks = <&sys_clkin1>;
604 ti,settling-time = <50>;
605 ti,clock-cycles = <16>;
606
607 reg = <0x4ae07ddc 0x4>, <0x4ae07de0 0x4>,
Nishanth Menon18227342015-04-16 16:56:33 -0500608 <0x4ae06014 0x4>, <0x4a003b20 0xc>,
Nishanth Menona1b8ee12014-03-03 20:20:23 +0530609 <0x4ae0c158 0x4>;
610 reg-names = "setup-address", "control-address",
611 "int-address", "efuse-address",
612 "ldo-address";
613 ti,tranxdone-status-mask = <0x80>;
614 /* LDOVBBMPU_FBB_MUX_CTRL */
615 ti,ldovbb-override-mask = <0x400>;
616 /* LDOVBBMPU_FBB_VSET_OUT */
617 ti,ldovbb-vset-mask = <0x1F>;
618
619 /*
620 * NOTE: only FBB mode used but actual vset will
621 * determine final biasing
622 */
623 ti,abb_info = <
624 /*uV ABB efuse rbb_m fbb_m vset_m*/
625 1060000 0 0x0 0 0x02000000 0x01F00000
626 1160000 0 0x4 0 0x02000000 0x01F00000
627 1210000 0 0x8 0 0x02000000 0x01F00000
628 >;
629 };
630
631 abb_ivahd: regulator-abb-ivahd {
632 compatible = "ti,abb-v3";
633 regulator-name = "abb_ivahd";
634 #address-cells = <0>;
635 #size-cells = <0>;
636 clocks = <&sys_clkin1>;
637 ti,settling-time = <50>;
638 ti,clock-cycles = <16>;
639
640 reg = <0x4ae07e34 0x4>, <0x4ae07e24 0x4>,
Nishanth Menon18227342015-04-16 16:56:33 -0500641 <0x4ae06010 0x4>, <0x4a0025cc 0xc>,
Nishanth Menona1b8ee12014-03-03 20:20:23 +0530642 <0x4a002470 0x4>;
643 reg-names = "setup-address", "control-address",
644 "int-address", "efuse-address",
645 "ldo-address";
646 ti,tranxdone-status-mask = <0x40000000>;
647 /* LDOVBBIVA_FBB_MUX_CTRL */
648 ti,ldovbb-override-mask = <0x400>;
649 /* LDOVBBIVA_FBB_VSET_OUT */
650 ti,ldovbb-vset-mask = <0x1F>;
651
652 /*
653 * NOTE: only FBB mode used but actual vset will
654 * determine final biasing
655 */
656 ti,abb_info = <
657 /*uV ABB efuse rbb_m fbb_m vset_m*/
658 1055000 0 0x0 0 0x02000000 0x01F00000
659 1150000 0 0x4 0 0x02000000 0x01F00000
660 1250000 0 0x8 0 0x02000000 0x01F00000
661 >;
662 };
663
664 abb_dspeve: regulator-abb-dspeve {
665 compatible = "ti,abb-v3";
666 regulator-name = "abb_dspeve";
667 #address-cells = <0>;
668 #size-cells = <0>;
669 clocks = <&sys_clkin1>;
670 ti,settling-time = <50>;
671 ti,clock-cycles = <16>;
672
673 reg = <0x4ae07e30 0x4>, <0x4ae07e20 0x4>,
Nishanth Menon18227342015-04-16 16:56:33 -0500674 <0x4ae06010 0x4>, <0x4a0025e0 0xc>,
Nishanth Menona1b8ee12014-03-03 20:20:23 +0530675 <0x4a00246c 0x4>;
676 reg-names = "setup-address", "control-address",
677 "int-address", "efuse-address",
678 "ldo-address";
679 ti,tranxdone-status-mask = <0x20000000>;
680 /* LDOVBBDSPEVE_FBB_MUX_CTRL */
681 ti,ldovbb-override-mask = <0x400>;
682 /* LDOVBBDSPEVE_FBB_VSET_OUT */
683 ti,ldovbb-vset-mask = <0x1F>;
684
685 /*
686 * NOTE: only FBB mode used but actual vset will
687 * determine final biasing
688 */
689 ti,abb_info = <
690 /*uV ABB efuse rbb_m fbb_m vset_m*/
691 1055000 0 0x0 0 0x02000000 0x01F00000
692 1150000 0 0x4 0 0x02000000 0x01F00000
693 1250000 0 0x8 0 0x02000000 0x01F00000
694 >;
695 };
696
697 abb_gpu: regulator-abb-gpu {
698 compatible = "ti,abb-v3";
699 regulator-name = "abb_gpu";
700 #address-cells = <0>;
701 #size-cells = <0>;
702 clocks = <&sys_clkin1>;
703 ti,settling-time = <50>;
704 ti,clock-cycles = <16>;
705
706 reg = <0x4ae07de4 0x4>, <0x4ae07de8 0x4>,
Nishanth Menon18227342015-04-16 16:56:33 -0500707 <0x4ae06010 0x4>, <0x4a003b08 0xc>,
Nishanth Menona1b8ee12014-03-03 20:20:23 +0530708 <0x4ae0c154 0x4>;
709 reg-names = "setup-address", "control-address",
710 "int-address", "efuse-address",
711 "ldo-address";
712 ti,tranxdone-status-mask = <0x10000000>;
713 /* LDOVBBGPU_FBB_MUX_CTRL */
714 ti,ldovbb-override-mask = <0x400>;
715 /* LDOVBBGPU_FBB_VSET_OUT */
716 ti,ldovbb-vset-mask = <0x1F>;
717
718 /*
719 * NOTE: only FBB mode used but actual vset will
720 * determine final biasing
721 */
722 ti,abb_info = <
723 /*uV ABB efuse rbb_m fbb_m vset_m*/
724 1090000 0 0x0 0 0x02000000 0x01F00000
725 1210000 0 0x4 0 0x02000000 0x01F00000
726 1280000 0 0x8 0 0x02000000 0x01F00000
727 >;
728 };
729
Rob Herringcc893872018-09-13 13:12:25 -0500730 qspi: spi@4b300000 {
Sourav Poddardc2dd5b2014-05-06 16:37:24 +0530731 compatible = "ti,dra7xxx-qspi";
Vignesh R1929d0b2015-12-11 09:39:59 +0530732 reg = <0x4b300000 0x100>,
733 <0x5c000000 0x4000000>;
734 reg-names = "qspi_base", "qspi_mmap";
735 syscon-chipselects = <&scm_conf 0x558>;
Sourav Poddardc2dd5b2014-05-06 16:37:24 +0530736 #address-cells = <1>;
737 #size-cells = <0>;
738 ti,hwmods = "qspi";
Tero Kristob5f8ffb2018-08-31 18:14:51 +0300739 clocks = <&l4per2_clkctrl DRA7_L4PER2_QSPI_CLKCTRL 25>;
Sourav Poddardc2dd5b2014-05-06 16:37:24 +0530740 clock-names = "fck";
741 num-cs = <4>;
R Sricharana46631c2014-06-26 12:55:31 +0530742 interrupts = <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>;
Sourav Poddardc2dd5b2014-05-06 16:37:24 +0530743 status = "disabled";
744 };
Balaji T K7be80562014-05-07 14:58:58 +0300745
Balaji T K7be80562014-05-07 14:58:58 +0300746 /* OCP2SCP3 */
Balaji T K7be80562014-05-07 14:58:58 +0300747 sata: sata@4a141100 {
748 compatible = "snps,dwc-ahci";
749 reg = <0x4a140000 0x1100>, <0x4a141100 0x7>;
R Sricharana46631c2014-06-26 12:55:31 +0530750 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
Balaji T K7be80562014-05-07 14:58:58 +0300751 phys = <&sata_phy>;
752 phy-names = "sata-phy";
Tero Kristob5f8ffb2018-08-31 18:14:51 +0300753 clocks = <&l3init_clkctrl DRA7_L3INIT_SATA_CLKCTRL 8>;
Balaji T K7be80562014-05-07 14:58:58 +0300754 ti,hwmods = "sata";
Jean-Jacques Hiblot87cb1292017-01-09 13:22:15 +0100755 ports-implemented = <0x1>;
Balaji T K7be80562014-05-07 14:58:58 +0300756 };
Roger Quadrosfbf3e552014-05-05 12:54:45 +0300757
Roger Quadrosfbf3e552014-05-05 12:54:45 +0300758 /* OCP2SCP1 */
Roger Quadrosfbf3e552014-05-05 12:54:45 +0300759 /* IRQ for DWC3_3 and DWC3_4 need IRQ crossbar */
Tony Lindgren11fdf592020-10-19 10:45:58 +0300760
761 target-module@50000000 {
762 compatible = "ti,sysc-omap2", "ti,sysc";
763 reg = <0x50000000 4>,
764 <0x50000010 4>,
765 <0x50000014 4>;
766 reg-names = "rev", "sysc", "syss";
767 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
768 <SYSC_IDLE_NO>,
769 <SYSC_IDLE_SMART>;
770 ti,syss-mask = <1>;
771 clocks = <&l3main1_clkctrl DRA7_L3MAIN1_GPMC_CLKCTRL 0>;
772 clock-names = "fck";
773 #address-cells = <1>;
Minal Shahff66a3c2014-05-19 14:45:47 +0530774 #size-cells = <1>;
Tony Lindgren11fdf592020-10-19 10:45:58 +0300775 ranges = <0x50000000 0x50000000 0x00001000>, /* regs */
776 <0x00000000 0x00000000 0x40000000>; /* data */
777
778 gpmc: gpmc@50000000 {
779 compatible = "ti,am3352-gpmc";
780 reg = <0x50000000 0x37c>; /* device IO registers */
781 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
782 dmas = <&edma_xbar 4 0>;
783 dma-names = "rxtx";
784 gpmc,num-cs = <8>;
785 gpmc,num-waitpins = <2>;
786 #address-cells = <2>;
787 #size-cells = <1>;
788 interrupt-controller;
789 #interrupt-cells = <2>;
790 gpio-controller;
791 #gpio-cells = <2>;
792 status = "disabled";
793 };
Minal Shahff66a3c2014-05-19 14:45:47 +0530794 };
Peter Ujfalusi2ca09452014-05-07 13:20:48 +0300795
Tony Lindgren45e118b2019-11-01 09:31:23 -0700796 target-module@56000000 {
797 compatible = "ti,sysc-omap4", "ti,sysc";
798 reg = <0x5600fe00 0x4>,
799 <0x5600fe10 0x4>;
800 reg-names = "rev", "sysc";
801 ti,sysc-midle = <SYSC_IDLE_FORCE>,
802 <SYSC_IDLE_NO>,
803 <SYSC_IDLE_SMART>;
804 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
805 <SYSC_IDLE_NO>,
806 <SYSC_IDLE_SMART>;
807 clocks = <&gpu_clkctrl DRA7_GPU_CLKCTRL 0>;
808 clock-names = "fck";
809 #address-cells = <1>;
810 #size-cells = <1>;
811 ranges = <0 0x56000000 0x2000000>;
812 };
813
Marc Zyngier783d3182015-03-11 15:43:44 +0000814 crossbar_mpu: crossbar@4a002a48 {
R Sricharana46631c2014-06-26 12:55:31 +0530815 compatible = "ti,irq-crossbar";
816 reg = <0x4a002a48 0x130>;
Marc Zyngier783d3182015-03-11 15:43:44 +0000817 interrupt-controller;
Marc Zyngier7136d452015-03-11 15:43:49 +0000818 interrupt-parent = <&wakeupgen>;
Marc Zyngier783d3182015-03-11 15:43:44 +0000819 #interrupt-cells = <3>;
R Sricharana46631c2014-06-26 12:55:31 +0530820 ti,max-irqs = <160>;
821 ti,max-crossbar-sources = <MAX_SOURCES>;
822 ti,reg-size = <2>;
823 ti,irqs-reserved = <0 1 2 3 5 6 131 132>;
824 ti,irqs-skip = <10 133 139 140>;
825 ti,irqs-safe-map = <0>;
826 };
Mugunthan V Nef9c5b62014-10-21 15:31:00 +0530827
Tony Lindgrena50371f2020-03-04 08:10:41 -0800828 target-module@58000000 {
829 compatible = "ti,sysc-omap2", "ti,sysc";
Tony Lindgrena50371f2020-03-04 08:10:41 -0800830 reg = <0x58000000 4>,
831 <0x58000014 4>;
832 reg-names = "rev", "syss";
833 ti,syss-mask = <1>;
834 clocks = <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 0>,
835 <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 9>,
836 <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 10>,
837 <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 11>;
838 clock-names = "fck", "hdmi_clk", "sys_clk", "tv_clk";
Tomi Valkeinen95c1cd12014-07-09 16:15:18 +0530839 #address-cells = <1>;
840 #size-cells = <1>;
Tony Lindgrena50371f2020-03-04 08:10:41 -0800841 ranges = <0 0x58000000 0x800000>;
Tomi Valkeinen95c1cd12014-07-09 16:15:18 +0530842
Tony Lindgrena50371f2020-03-04 08:10:41 -0800843 dss: dss@0 {
844 compatible = "ti,dra7-dss";
845 /* 'reg' defined in dra72x.dtsi and dra74x.dtsi */
846 /* 'clocks' defined in dra72x.dtsi and dra74x.dtsi */
Tomi Valkeinen95c1cd12014-07-09 16:15:18 +0530847 status = "disabled";
Tony Lindgrena50371f2020-03-04 08:10:41 -0800848 /* CTRL_CORE_DSS_PLL_CONTROL */
849 syscon-pll-ctrl = <&scm_conf 0x538>;
850 #address-cells = <1>;
851 #size-cells = <1>;
852 ranges = <0 0 0x800000>;
853
Tony Lindgren9a951962020-03-04 08:10:42 -0800854 target-module@1000 {
855 compatible = "ti,sysc-omap2", "ti,sysc";
856 reg = <0x1000 0x4>,
857 <0x1010 0x4>,
858 <0x1014 0x4>;
859 reg-names = "rev", "sysc", "syss";
860 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
861 <SYSC_IDLE_NO>,
862 <SYSC_IDLE_SMART>;
863 ti,sysc-midle = <SYSC_IDLE_FORCE>,
864 <SYSC_IDLE_NO>,
865 <SYSC_IDLE_SMART>;
866 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
867 SYSC_OMAP2_ENAWAKEUP |
868 SYSC_OMAP2_SOFTRESET |
869 SYSC_OMAP2_AUTOIDLE)>;
870 ti,syss-mask = <1>;
871 clocks = <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 8>;
Tony Lindgrena50371f2020-03-04 08:10:41 -0800872 clock-names = "fck";
Tony Lindgren9a951962020-03-04 08:10:42 -0800873 #address-cells = <1>;
874 #size-cells = <1>;
875 ranges = <0 0x1000 0x1000>;
876
877 dispc@0 {
878 compatible = "ti,dra7-dispc";
879 reg = <0 0x1000>;
880 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
Tony Lindgren9a951962020-03-04 08:10:42 -0800881 clocks = <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 8>;
882 clock-names = "fck";
883 /* CTRL_CORE_SMA_SW_1 */
884 syscon-pol = <&scm_conf 0x534>;
885 };
Tony Lindgrena50371f2020-03-04 08:10:41 -0800886 };
887
Tony Lindgrenc4f47282020-03-04 08:10:42 -0800888 target-module@40000 {
889 compatible = "ti,sysc-omap4", "ti,sysc";
890 reg = <0x40000 0x4>,
891 <0x40010 0x4>;
892 reg-names = "rev", "sysc";
893 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
894 <SYSC_IDLE_NO>,
895 <SYSC_IDLE_SMART>,
896 <SYSC_IDLE_SMART_WKUP>;
897 ti,sysc-mask = <(SYSC_OMAP4_SOFTRESET)>;
898 clocks = <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 9>,
899 <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 8>;
900 clock-names = "fck", "dss_clk";
901 #address-cells = <1>;
902 #size-cells = <1>;
903 ranges = <0 0x40000 0x40000>;
904
905 hdmi: encoder@0 {
906 compatible = "ti,dra7-hdmi";
907 reg = <0 0x200>,
908 <0x200 0x80>,
909 <0x300 0x80>,
910 <0x20000 0x19000>;
911 reg-names = "wp", "pll", "phy", "core";
912 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
913 status = "disabled";
914 clocks = <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 9>,
915 <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 10>;
916 clock-names = "fck", "sys_clk";
917 dmas = <&sdma_xbar 76>;
918 dma-names = "audio_tx";
919 };
Tony Lindgrena50371f2020-03-04 08:10:41 -0800920 };
Tomi Valkeinen95c1cd12014-07-09 16:15:18 +0530921 };
922 };
Vignesh R34370142016-05-03 10:56:55 -0500923
Tony Lindgren2ea3ce22019-12-12 09:46:16 -0800924 aes1_target: target-module@4b500000 {
925 compatible = "ti,sysc-omap2", "ti,sysc";
Tony Lindgren2ea3ce22019-12-12 09:46:16 -0800926 reg = <0x4b500080 0x4>,
927 <0x4b500084 0x4>,
928 <0x4b500088 0x4>;
929 reg-names = "rev", "sysc", "syss";
930 ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
931 SYSC_OMAP2_AUTOIDLE)>;
932 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
933 <SYSC_IDLE_NO>,
934 <SYSC_IDLE_SMART>,
935 <SYSC_IDLE_SMART_WKUP>;
936 ti,syss-mask = <1>;
937 /* Domains (P, C): per_pwrdm, l4sec_clkdm */
938 clocks = <&l4sec_clkctrl DRA7_L4SEC_AES1_CLKCTRL 0>;
Joel Fernandese7fd15c2016-06-01 12:06:42 +0300939 clock-names = "fck";
Tony Lindgren2ea3ce22019-12-12 09:46:16 -0800940 #address-cells = <1>;
941 #size-cells = <1>;
942 ranges = <0x0 0x4b500000 0x1000>;
943
944 aes1: aes@0 {
945 compatible = "ti,omap4-aes";
946 reg = <0 0xa0>;
947 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
948 dmas = <&edma_xbar 111 0>, <&edma_xbar 110 0>;
949 dma-names = "tx", "rx";
950 clocks = <&l3_iclk_div>;
951 clock-names = "fck";
952 };
Joel Fernandese7fd15c2016-06-01 12:06:42 +0300953 };
954
Tony Lindgren2ea3ce22019-12-12 09:46:16 -0800955 aes2_target: target-module@4b700000 {
956 compatible = "ti,sysc-omap2", "ti,sysc";
Tony Lindgren2ea3ce22019-12-12 09:46:16 -0800957 reg = <0x4b700080 0x4>,
958 <0x4b700084 0x4>,
959 <0x4b700088 0x4>;
960 reg-names = "rev", "sysc", "syss";
961 ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
962 SYSC_OMAP2_AUTOIDLE)>;
963 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
964 <SYSC_IDLE_NO>,
965 <SYSC_IDLE_SMART>,
966 <SYSC_IDLE_SMART_WKUP>;
967 ti,syss-mask = <1>;
968 /* Domains (P, C): per_pwrdm, l4sec_clkdm */
969 clocks = <&l4sec_clkctrl DRA7_L4SEC_AES2_CLKCTRL 0>;
Joel Fernandese7fd15c2016-06-01 12:06:42 +0300970 clock-names = "fck";
Tony Lindgren2ea3ce22019-12-12 09:46:16 -0800971 #address-cells = <1>;
972 #size-cells = <1>;
973 ranges = <0x0 0x4b700000 0x1000>;
974
975 aes2: aes@0 {
976 compatible = "ti,omap4-aes";
977 reg = <0 0xa0>;
978 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
979 dmas = <&edma_xbar 114 0>, <&edma_xbar 113 0>;
980 dma-names = "tx", "rx";
981 clocks = <&l3_iclk_div>;
982 clock-names = "fck";
983 };
Joel Fernandese7fd15c2016-06-01 12:06:42 +0300984 };
985
Tero Kristobe5cd392020-09-07 12:52:46 +0300986 sham1_target: target-module@4b101000 {
Tony Lindgrene1326812019-12-12 09:46:15 -0800987 compatible = "ti,sysc-omap3-sham", "ti,sysc";
Tony Lindgrene1326812019-12-12 09:46:15 -0800988 reg = <0x4b101100 0x4>,
989 <0x4b101110 0x4>,
990 <0x4b101114 0x4>;
991 reg-names = "rev", "sysc", "syss";
992 ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
993 SYSC_OMAP2_AUTOIDLE)>;
994 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
995 <SYSC_IDLE_NO>,
996 <SYSC_IDLE_SMART>;
997 ti,syss-mask = <1>;
998 /* Domains (P, C): l4per_pwrdm, l4sec_clkdm */
999 clocks = <&l4sec_clkctrl DRA7_L4SEC_SHAM_CLKCTRL 0>;
Lokesh Vutlada346092016-06-01 12:06:43 +03001000 clock-names = "fck";
Tony Lindgrene1326812019-12-12 09:46:15 -08001001 #address-cells = <1>;
1002 #size-cells = <1>;
1003 ranges = <0x0 0x4b101000 0x1000>;
1004
Tero Kristobe5cd392020-09-07 12:52:46 +03001005 sham1: sham@0 {
Tony Lindgrene1326812019-12-12 09:46:15 -08001006 compatible = "ti,omap5-sham";
1007 reg = <0 0x300>;
1008 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
1009 dmas = <&edma_xbar 119 0>;
1010 dma-names = "rx";
1011 clocks = <&l3_iclk_div>;
1012 clock-names = "fck";
1013 };
Lokesh Vutlada346092016-06-01 12:06:43 +03001014 };
Lokesh Vutla610e9c42016-06-01 12:06:44 +03001015
Tero Kristobe5cd392020-09-07 12:52:46 +03001016 sham2_target: target-module@42701000 {
1017 compatible = "ti,sysc-omap3-sham", "ti,sysc";
1018 reg = <0x42701100 0x4>,
1019 <0x42701110 0x4>,
1020 <0x42701114 0x4>;
1021 reg-names = "rev", "sysc", "syss";
1022 ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
1023 SYSC_OMAP2_AUTOIDLE)>;
1024 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
1025 <SYSC_IDLE_NO>,
1026 <SYSC_IDLE_SMART>;
1027 ti,syss-mask = <1>;
1028 /* Domains (P, C): l4per_pwrdm, l4sec_clkdm */
1029 clocks = <&l4sec_clkctrl DRA7_L4SEC_SHAM2_CLKCTRL 0>;
1030 clock-names = "fck";
1031 #address-cells = <1>;
1032 #size-cells = <1>;
1033 ranges = <0x0 0x42701000 0x1000>;
1034
1035 sham2: sham@0 {
1036 compatible = "ti,omap5-sham";
1037 reg = <0 0x300>;
1038 interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
1039 dmas = <&edma_xbar 165 0>;
1040 dma-names = "rx";
1041 clocks = <&l3_iclk_div>;
1042 clock-names = "fck";
1043 };
1044 };
1045
Tony Lindgrenae57d152020-11-12 11:57:03 +02001046 iva_hd_target: target-module@5a000000 {
1047 compatible = "ti,sysc-omap4", "ti,sysc";
1048 reg = <0x5a05a400 0x4>,
1049 <0x5a05a410 0x4>;
1050 reg-names = "rev", "sysc";
1051 ti,sysc-midle = <SYSC_IDLE_FORCE>,
1052 <SYSC_IDLE_NO>,
1053 <SYSC_IDLE_SMART>;
1054 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
1055 <SYSC_IDLE_NO>,
1056 <SYSC_IDLE_SMART>;
1057 power-domains = <&prm_iva>;
1058 resets = <&prm_iva 2>;
1059 reset-names = "rstctrl";
1060 clocks = <&iva_clkctrl DRA7_IVA_CLKCTRL 0>;
1061 clock-names = "fck";
1062 #address-cells = <1>;
1063 #size-cells = <1>;
1064 ranges = <0x5a000000 0x5a000000 0x1000000>,
1065 <0x5b000000 0x5b000000 0x1000000>;
1066
1067 iva {
1068 compatible = "ti,ivahd";
1069 };
1070 };
1071
Dave Gerlachdbef1962017-12-19 09:24:20 -06001072 opp_supply_mpu: opp-supply@4a003b20 {
1073 compatible = "ti,omap5-opp-supply";
1074 reg = <0x4a003b20 0xc>;
1075 ti,efuse-settings = <
1076 /* uV offset */
1077 1060000 0x0
1078 1160000 0x4
1079 1210000 0x8
1080 >;
1081 ti,absolute-max-voltage-uv = <1500000>;
1082 };
1083
R Sricharan6e58b8f2013-08-14 19:08:20 +05301084 };
Keerthyf7397ed2015-03-23 14:39:38 -05001085
1086 thermal_zones: thermal-zones {
1087 #include "omap4-cpu-thermal.dtsi"
1088 #include "omap5-gpu-thermal.dtsi"
1089 #include "omap5-core-thermal.dtsi"
Keerthy667f2592016-02-08 14:46:30 +05301090 #include "dra7-dspeve-thermal.dtsi"
1091 #include "dra7-iva-thermal.dtsi"
Keerthyf7397ed2015-03-23 14:39:38 -05001092 };
1093
1094};
1095
1096&cpu_thermal {
1097 polling-delay = <500>; /* milliseconds */
Keerthyfb51ae02017-03-09 13:35:56 +05301098 coefficients = <0 2000>;
1099};
1100
1101&gpu_thermal {
1102 coefficients = <0 2000>;
1103};
1104
1105&core_thermal {
1106 coefficients = <0 2000>;
1107};
1108
1109&dspeve_thermal {
1110 coefficients = <0 2000>;
1111};
1112
1113&iva_thermal {
1114 coefficients = <0 2000>;
R Sricharan6e58b8f2013-08-14 19:08:20 +05301115};
Tero Kristoee6c7502013-07-18 17:18:33 +03001116
Ravikumar Kattekolabca52382017-05-17 06:51:38 -07001117&cpu_crit {
1118 temperature = <120000>; /* milli Celsius */
1119};
1120
Ravikumar Kattekola64c358b2018-01-11 21:45:39 +05301121&core_crit {
1122 temperature = <120000>; /* milli Celsius */
1123};
1124
1125&gpu_crit {
1126 temperature = <120000>; /* milli Celsius */
1127};
1128
1129&dspeve_crit {
1130 temperature = <120000>; /* milli Celsius */
1131};
1132
1133&iva_crit {
1134 temperature = <120000>; /* milli Celsius */
1135};
Tony Lindgren4ed0dfe2018-09-27 13:39:07 -07001136
1137#include "dra7-l4.dtsi"
1138#include "dra7xx-clocks.dtsi"
Tero Kristodb7725d2019-10-10 11:21:04 +03001139
1140&prm {
Tero Kristo1021b372020-11-11 15:57:20 +02001141 prm_mpu: prm@300 {
1142 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1143 reg = <0x300 0x100>;
1144 #power-domain-cells = <0>;
1145 };
1146
Tero Kristodb7725d2019-10-10 11:21:04 +03001147 prm_dsp1: prm@400 {
1148 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1149 reg = <0x400 0x100>;
1150 #reset-cells = <1>;
Tero Kristo1021b372020-11-11 15:57:20 +02001151 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001152 };
1153
1154 prm_ipu: prm@500 {
1155 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1156 reg = <0x500 0x100>;
1157 #reset-cells = <1>;
Tero Kristo1021b372020-11-11 15:57:20 +02001158 #power-domain-cells = <0>;
1159 };
1160
1161 prm_coreaon: prm@628 {
1162 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1163 reg = <0x628 0xd8>;
1164 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001165 };
1166
1167 prm_core: prm@700 {
1168 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1169 reg = <0x700 0x100>;
1170 #reset-cells = <1>;
Tero Kristo1021b372020-11-11 15:57:20 +02001171 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001172 };
1173
1174 prm_iva: prm@f00 {
1175 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1176 reg = <0xf00 0x100>;
Tony Lindgrenae57d152020-11-12 11:57:03 +02001177 #reset-cells = <1>;
Tero Kristo1021b372020-11-11 15:57:20 +02001178 #power-domain-cells = <0>;
1179 };
1180
1181 prm_cam: prm@1000 {
1182 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1183 reg = <0x1000 0x100>;
1184 #power-domain-cells = <0>;
1185 };
1186
1187 prm_dss: prm@1100 {
1188 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1189 reg = <0x1100 0x100>;
1190 #power-domain-cells = <0>;
1191 };
1192
1193 prm_gpu: prm@1200 {
1194 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1195 reg = <0x1200 0x100>;
1196 #power-domain-cells = <0>;
1197 };
1198
1199 prm_l3init: prm@1300 {
1200 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1201 reg = <0x1300 0x100>;
1202 #reset-cells = <1>;
1203 #power-domain-cells = <0>;
1204 };
1205
1206 prm_l4per: prm@1400 {
1207 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1208 reg = <0x1400 0x100>;
1209 #power-domain-cells = <0>;
1210 };
1211
1212 prm_custefuse: prm@1600 {
1213 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1214 reg = <0x1600 0x100>;
1215 #power-domain-cells = <0>;
1216 };
1217
1218 prm_wkupaon: prm@1724 {
1219 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1220 reg = <0x1724 0x100>;
1221 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001222 };
1223
1224 prm_dsp2: prm@1b00 {
1225 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1226 reg = <0x1b00 0x40>;
1227 #reset-cells = <1>;
Tero Kristo1021b372020-11-11 15:57:20 +02001228 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001229 };
1230
1231 prm_eve1: prm@1b40 {
1232 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1233 reg = <0x1b40 0x40>;
Tero Kristo1021b372020-11-11 15:57:20 +02001234 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001235 };
1236
1237 prm_eve2: prm@1b80 {
1238 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1239 reg = <0x1b80 0x40>;
Tero Kristo1021b372020-11-11 15:57:20 +02001240 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001241 };
1242
1243 prm_eve3: prm@1bc0 {
1244 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1245 reg = <0x1bc0 0x40>;
Tero Kristo1021b372020-11-11 15:57:20 +02001246 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001247 };
1248
1249 prm_eve4: prm@1c00 {
1250 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1251 reg = <0x1c00 0x60>;
Tero Kristo1021b372020-11-11 15:57:20 +02001252 #power-domain-cells = <0>;
1253 };
1254
1255 prm_rtc: prm@1c60 {
1256 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1257 reg = <0x1c60 0x20>;
1258 #power-domain-cells = <0>;
1259 };
1260
1261 prm_vpe: prm@1c80 {
1262 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1263 reg = <0x1c80 0x80>;
1264 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001265 };
1266};
Tony Lindgren036a3d42020-05-07 09:59:31 -07001267
1268/* Preferred always-on timer for clockevent */
1269&timer1_target {
1270 ti,no-reset-on-init;
1271 ti,no-idle;
1272 timer@0 {
1273 assigned-clocks = <&wkupaon_clkctrl DRA7_TIMER1_CLKCTRL 24>;
1274 assigned-clock-parents = <&sys_32k_ck>;
1275 };
1276};