blob: c988f1d039cf0602221a1170694ef2048447db3e [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001// SPDX-License-Identifier: GPL-2.0-only
R Sricharan6e58b8f2013-08-14 19:08:20 +05302/*
Alexander A. Klimov75f66812020-07-08 11:34:51 +02003 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
R Sricharan6e58b8f2013-08-14 19:08:20 +05304 *
R Sricharan6e58b8f2013-08-14 19:08:20 +05305 * Based on "omap4.dtsi"
6 */
7
Tony Lindgrene14d7e52018-01-11 16:04:03 -08008#include <dt-bindings/bus/ti-sysc.h>
9#include <dt-bindings/clock/dra7.h>
R Sricharan6e58b8f2013-08-14 19:08:20 +053010#include <dt-bindings/interrupt-controller/arm-gic.h>
11#include <dt-bindings/pinctrl/dra.h>
Tero Kristo18395332017-12-08 17:17:29 +020012#include <dt-bindings/clock/dra7.h>
R Sricharan6e58b8f2013-08-14 19:08:20 +053013
R Sricharana46631c2014-06-26 12:55:31 +053014#define MAX_SOURCES 400
R Sricharana46631c2014-06-26 12:55:31 +053015
R Sricharan6e58b8f2013-08-14 19:08:20 +053016/ {
Lokesh Vutladae320e2016-02-24 15:41:04 +053017 #address-cells = <2>;
18 #size-cells = <2>;
R Sricharan6e58b8f2013-08-14 19:08:20 +053019
20 compatible = "ti,dra7xx";
Marc Zyngier783d3182015-03-11 15:43:44 +000021 interrupt-parent = <&crossbar_mpu>;
Javier Martinez Canillas7f6c8572016-12-19 11:44:41 -030022 chosen { };
R Sricharan6e58b8f2013-08-14 19:08:20 +053023
24 aliases {
Nishanth Menon20b80942013-10-16 15:21:03 -050025 i2c0 = &i2c1;
26 i2c1 = &i2c2;
27 i2c2 = &i2c3;
28 i2c3 = &i2c4;
29 i2c4 = &i2c5;
R Sricharan6e58b8f2013-08-14 19:08:20 +053030 serial0 = &uart1;
31 serial1 = &uart2;
32 serial2 = &uart3;
33 serial3 = &uart4;
34 serial4 = &uart5;
35 serial5 = &uart6;
Nishanth Menon065bd7f2014-10-21 11:18:15 -050036 serial6 = &uart7;
37 serial7 = &uart8;
38 serial8 = &uart9;
39 serial9 = &uart10;
Grygorii Strashkoec9bc5b2020-09-07 23:21:25 +030040 ethernet0 = &cpsw_port1;
41 ethernet1 = &cpsw_port2;
Roger Quadros9ec49b92014-08-15 16:08:36 +030042 d_can0 = &dcan1;
43 d_can1 = &dcan2;
Mugunthan V N480b2b32015-11-19 12:31:01 +053044 spi0 = &qspi;
R Sricharan6e58b8f2013-08-14 19:08:20 +053045 };
46
R Sricharan6e58b8f2013-08-14 19:08:20 +053047 timer {
48 compatible = "arm,armv7-timer";
49 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
50 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
51 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
52 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
Marc Zyngier783d3182015-03-11 15:43:44 +000053 interrupt-parent = <&gic>;
R Sricharan6e58b8f2013-08-14 19:08:20 +053054 };
55
56 gic: interrupt-controller@48211000 {
57 compatible = "arm,cortex-a15-gic";
58 interrupt-controller;
59 #interrupt-cells = <3>;
Lokesh Vutladae320e2016-02-24 15:41:04 +053060 reg = <0x0 0x48211000 0x0 0x1000>,
Marc Zyngier387720c2017-01-18 09:27:28 +000061 <0x0 0x48212000 0x0 0x2000>,
Lokesh Vutladae320e2016-02-24 15:41:04 +053062 <0x0 0x48214000 0x0 0x2000>,
63 <0x0 0x48216000 0x0 0x2000>;
R Sricharan6e58b8f2013-08-14 19:08:20 +053064 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
Marc Zyngier783d3182015-03-11 15:43:44 +000065 interrupt-parent = <&gic>;
R Sricharan6e58b8f2013-08-14 19:08:20 +053066 };
67
Marc Zyngier7136d452015-03-11 15:43:49 +000068 wakeupgen: interrupt-controller@48281000 {
69 compatible = "ti,omap5-wugen-mpu", "ti,omap4-wugen-mpu";
70 interrupt-controller;
71 #interrupt-cells = <3>;
Lokesh Vutladae320e2016-02-24 15:41:04 +053072 reg = <0x0 0x48281000 0x0 0x1000>;
Marc Zyngier7136d452015-03-11 15:43:49 +000073 interrupt-parent = <&gic>;
R Sricharan6e58b8f2013-08-14 19:08:20 +053074 };
75
Dave Gerlachb82ffb32016-05-18 18:36:32 -050076 cpus {
77 #address-cells = <1>;
78 #size-cells = <0>;
79
80 cpu0: cpu@0 {
81 device_type = "cpu";
82 compatible = "arm,cortex-a15";
83 reg = <0>;
84
Dave Gerlacha4e5e9f2017-03-06 09:23:41 -060085 operating-points-v2 = <&cpu0_opp_table>;
Dave Gerlachb82ffb32016-05-18 18:36:32 -050086
87 clocks = <&dpll_mpu_ck>;
88 clock-names = "cpu";
89
90 clock-latency = <300000>; /* From omap-cpufreq driver */
91
92 /* cooling options */
Dave Gerlachb82ffb32016-05-18 18:36:32 -050093 #cooling-cells = <2>; /* min followed by max */
Dave Gerlach000fb7a2017-12-19 09:24:19 -060094
95 vbb-supply = <&abb_mpu>;
Dave Gerlachb82ffb32016-05-18 18:36:32 -050096 };
97 };
98
Dave Gerlacha4e5e9f2017-03-06 09:23:41 -060099 cpu0_opp_table: opp-table {
100 compatible = "operating-points-v2-ti-cpu";
101 syscon = <&scm_wkup>;
102
Viresh Kumarb9cb2ba2017-04-20 16:25:06 +0530103 opp_nom-1000000000 {
Dave Gerlacha4e5e9f2017-03-06 09:23:41 -0600104 opp-hz = /bits/ 64 <1000000000>;
Dave Gerlach000fb7a2017-12-19 09:24:19 -0600105 opp-microvolt = <1060000 850000 1150000>,
106 <1060000 850000 1150000>;
Dave Gerlacha4e5e9f2017-03-06 09:23:41 -0600107 opp-supported-hw = <0xFF 0x01>;
108 opp-suspend;
109 };
110
Viresh Kumarb9cb2ba2017-04-20 16:25:06 +0530111 opp_od-1176000000 {
Dave Gerlacha4e5e9f2017-03-06 09:23:41 -0600112 opp-hz = /bits/ 64 <1176000000>;
Dave Gerlach000fb7a2017-12-19 09:24:19 -0600113 opp-microvolt = <1160000 885000 1160000>,
114 <1160000 885000 1160000>;
115
Dave Gerlacha4e5e9f2017-03-06 09:23:41 -0600116 opp-supported-hw = <0xFF 0x02>;
117 };
Dave Gerlachbc69fed2017-12-19 09:24:21 -0600118
119 opp_high@1500000000 {
120 opp-hz = /bits/ 64 <1500000000>;
121 opp-microvolt = <1210000 950000 1250000>,
122 <1210000 950000 1250000>;
123 opp-supported-hw = <0xFF 0x04>;
124 };
Dave Gerlacha4e5e9f2017-03-06 09:23:41 -0600125 };
126
R Sricharan6e58b8f2013-08-14 19:08:20 +0530127 /*
R Sricharan6e58b8f2013-08-14 19:08:20 +0530128 * XXX: Use a flat representation of the SOC interconnect.
129 * The real OMAP interconnect network is quite complex.
Geert Uytterhoevenb7ab5242014-03-28 11:11:39 +0100130 * Since it will not bring real advantage to represent that in DT for
R Sricharan6e58b8f2013-08-14 19:08:20 +0530131 * the moment, just use a fake OCP bus entry to represent the whole bus
132 * hierarchy.
133 */
Suman Annaecdeca62020-02-27 16:28:37 -0600134 ocp: ocp {
Tony Lindgrenecb4c5c2021-03-10 14:03:50 +0200135 compatible = "simple-pm-bus";
136 power-domains = <&prm_core>;
137 clocks = <&l3main1_clkctrl DRA7_L3MAIN1_L3_MAIN_1_CLKCTRL 0>,
138 <&l3instr_clkctrl DRA7_L3INSTR_L3_MAIN_2_CLKCTRL 0>;
R Sricharan6e58b8f2013-08-14 19:08:20 +0530139 #address-cells = <1>;
140 #size-cells = <1>;
Lokesh Vutladae320e2016-02-24 15:41:04 +0530141 ranges = <0x0 0x0 0x0 0xc0000000>;
Roger Quadroscfb5d652020-03-13 11:47:17 +0200142 dma-ranges = <0x80000000 0x0 0x80000000 0x80000000>;
Tony Lindgren7f2659c2021-03-10 14:03:46 +0200143
144 l3-noc@44000000 {
145 compatible = "ti,dra7-l3-noc";
146 reg = <0x44000000 0x1000>,
147 <0x45000000 0x1000>;
148 interrupts-extended = <&crossbar_mpu GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
149 <&wakeupgen GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
150 };
R Sricharan6e58b8f2013-08-14 19:08:20 +0530151
Tony Lindgren4ed0dfe2018-09-27 13:39:07 -0700152 l4_cfg: interconnect@4a000000 {
Tero Kristod9195012015-02-12 11:37:13 +0200153 };
Tony Lindgren4ed0dfe2018-09-27 13:39:07 -0700154 l4_wkup: interconnect@4ae00000 {
155 };
156 l4_per1: interconnect@48000000 {
157 };
Tony Lindgrenf5d0aba2021-03-10 14:03:47 +0200158
159 target-module@48210000 {
160 compatible = "ti,sysc-omap4-simple", "ti,sysc";
161 power-domains = <&prm_mpu>;
162 clocks = <&mpu_clkctrl DRA7_MPU_CLKCTRL 0>;
163 clock-names = "fck";
164 #address-cells = <1>;
165 #size-cells = <1>;
166 ranges = <0 0x48210000 0x1f0000>;
167
168 mpu {
169 compatible = "ti,omap5-mpu";
170 };
171 };
172
Tony Lindgren4ed0dfe2018-09-27 13:39:07 -0700173 l4_per2: interconnect@48400000 {
174 };
175 l4_per3: interconnect@48800000 {
Tero Kristoee6c7502013-07-18 17:18:33 +0300176 };
177
Tony Lindgren785d9432021-03-10 14:03:45 +0200178 /*
179 * Register access seems to have complex dependencies and also
180 * seems to need an enabled phy. See the TRM chapter for "Table
181 * 26-678. Main Sequence PCIe Controller Global Initialization"
182 * and also dra7xx_pcie_probe().
183 */
184 axi0: target-module@51000000 {
185 compatible = "ti,sysc-omap4", "ti,sysc";
186 power-domains = <&prm_l3init>;
187 resets = <&prm_l3init 0>;
188 reset-names = "rstctrl";
189 clocks = <&pcie_clkctrl DRA7_PCIE_PCIE1_CLKCTRL 0>,
190 <&pcie_clkctrl DRA7_PCIE_PCIE1_CLKCTRL 9>,
191 <&pcie_clkctrl DRA7_PCIE_PCIE1_CLKCTRL 10>;
192 clock-names = "fck", "phy-clk", "phy-clk-div";
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530193 #size-cells = <1>;
194 #address-cells = <1>;
Tony Lindgrenc7610282021-03-10 14:03:45 +0200195 ranges = <0x51000000 0x51000000 0x3000>,
196 <0x20000000 0x20000000 0x10000000>;
Kishon Vijay Abraham I90d4d3f2020-04-17 12:13:40 +0530197 dma-ranges;
Kishon Vijay Abraham Id23f3832017-08-08 11:10:24 +0530198 /**
199 * To enable PCI endpoint mode, disable the pcie1_rc
200 * node and enable pcie1_ep mode.
201 */
202 pcie1_rc: pcie@51000000 {
Tony Lindgrenc7610282021-03-10 14:03:45 +0200203 reg = <0x51000000 0x2000>,
204 <0x51002000 0x14c>,
205 <0x20001000 0x2000>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530206 reg-names = "rc_dbics", "ti_conf", "config";
207 interrupts = <0 232 0x4>, <0 233 0x4>;
208 #address-cells = <3>;
209 #size-cells = <2>;
210 device_type = "pci";
Tony Lindgrenc7610282021-03-10 14:03:45 +0200211 ranges = <0x81000000 0 0x00000000 0x20003000 0 0x00010000>,
212 <0x82000000 0 0x20013000 0x20013000 0 0x0ffed000>;
Rob Herring7d79f602017-03-21 21:03:01 -0500213 bus-range = <0x00 0xff>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530214 #interrupt-cells = <1>;
215 num-lanes = <1>;
Kishon Vijay Abraham Ibed596d2016-08-10 18:03:18 +0530216 linux,pci-domain = <0>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530217 ti,hwmods = "pcie1";
218 phys = <&pcie1_phy>;
219 phy-names = "pcie-phy0";
Kishon Vijay Abraham Ib5acec02019-03-25 15:15:25 +0530220 ti,syscon-lane-sel = <&scm_conf_pcie 0x18>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530221 interrupt-map-mask = <0 0 0 7>;
222 interrupt-map = <0 0 0 1 &pcie1_intc 1>,
223 <0 0 0 2 &pcie1_intc 2>,
224 <0 0 0 3 &pcie1_intc 3>,
225 <0 0 0 4 &pcie1_intc 4>;
Vignesh Rb8305262018-09-28 11:34:42 +0530226 ti,syscon-unaligned-access = <&scm_conf1 0x14 1>;
Kishon Vijay Abraham Id23f3832017-08-08 11:10:24 +0530227 status = "disabled";
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530228 pcie1_intc: interrupt-controller {
229 interrupt-controller;
230 #address-cells = <0>;
231 #interrupt-cells = <1>;
232 };
233 };
Kishon Vijay Abraham Id23f3832017-08-08 11:10:24 +0530234
235 pcie1_ep: pcie_ep@51000000 {
Tony Lindgrenc7610282021-03-10 14:03:45 +0200236 reg = <0x51000000 0x28>,
237 <0x51002000 0x14c>,
238 <0x51001000 0x28>,
239 <0x20001000 0x10000000>;
Kishon Vijay Abraham Id23f3832017-08-08 11:10:24 +0530240 reg-names = "ep_dbics", "ti_conf", "ep_dbics2", "addr_space";
241 interrupts = <0 232 0x4>;
242 num-lanes = <1>;
243 num-ib-windows = <4>;
244 num-ob-windows = <16>;
245 ti,hwmods = "pcie1";
246 phys = <&pcie1_phy>;
247 phy-names = "pcie-phy0";
Vignesh R6d0af442018-09-25 10:51:51 +0530248 ti,syscon-unaligned-access = <&scm_conf1 0x14 1>;
Kishon Vijay Abraham Ib5acec02019-03-25 15:15:25 +0530249 ti,syscon-lane-sel = <&scm_conf_pcie 0x18>;
Kishon Vijay Abraham Id23f3832017-08-08 11:10:24 +0530250 status = "disabled";
251 };
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530252 };
253
Tony Lindgren785d9432021-03-10 14:03:45 +0200254 /*
255 * Register access seems to have complex dependencies and also
256 * seems to need an enabled phy. See the TRM chapter for "Table
257 * 26-678. Main Sequence PCIe Controller Global Initialization"
258 * and also dra7xx_pcie_probe().
259 */
260 axi1: target-module@51800000 {
261 compatible = "ti,sysc-omap4", "ti,sysc";
262 clocks = <&pcie_clkctrl DRA7_PCIE_PCIE2_CLKCTRL 0>,
263 <&pcie_clkctrl DRA7_PCIE_PCIE2_CLKCTRL 9>,
264 <&pcie_clkctrl DRA7_PCIE_PCIE2_CLKCTRL 10>;
265 clock-names = "fck", "phy-clk", "phy-clk-div";
266 power-domains = <&prm_l3init>;
267 resets = <&prm_l3init 1>;
268 reset-names = "rstctrl";
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530269 #size-cells = <1>;
270 #address-cells = <1>;
Tony Lindgrenc7610282021-03-10 14:03:45 +0200271 ranges = <0x51800000 0x51800000 0x3000>,
272 <0x30000000 0x30000000 0x10000000>;
Kishon Vijay Abraham I90d4d3f2020-04-17 12:13:40 +0530273 dma-ranges;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530274 status = "disabled";
Kishon Vijay Abraham I1ac19c82017-12-19 15:01:28 +0530275 pcie2_rc: pcie@51800000 {
Tony Lindgrenc7610282021-03-10 14:03:45 +0200276 reg = <0x51800000 0x2000>,
277 <0x51802000 0x14c>,
278 <0x30001000 0x2000>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530279 reg-names = "rc_dbics", "ti_conf", "config";
280 interrupts = <0 355 0x4>, <0 356 0x4>;
281 #address-cells = <3>;
282 #size-cells = <2>;
283 device_type = "pci";
Tony Lindgrenc7610282021-03-10 14:03:45 +0200284 ranges = <0x81000000 0 0x00000000 0x30003000 0 0x00010000>,
285 <0x82000000 0 0x30013000 0x30013000 0 0x0ffed000>;
Rob Herring7d79f602017-03-21 21:03:01 -0500286 bus-range = <0x00 0xff>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530287 #interrupt-cells = <1>;
288 num-lanes = <1>;
Kishon Vijay Abraham Ibed596d2016-08-10 18:03:18 +0530289 linux,pci-domain = <1>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530290 ti,hwmods = "pcie2";
291 phys = <&pcie2_phy>;
292 phy-names = "pcie-phy0";
293 interrupt-map-mask = <0 0 0 7>;
294 interrupt-map = <0 0 0 1 &pcie2_intc 1>,
295 <0 0 0 2 &pcie2_intc 2>,
296 <0 0 0 3 &pcie2_intc 3>,
297 <0 0 0 4 &pcie2_intc 4>;
Vignesh Rb8305262018-09-28 11:34:42 +0530298 ti,syscon-unaligned-access = <&scm_conf1 0x14 2>;
Kishon Vijay Abraham I18dcd792014-07-14 16:12:23 +0530299 pcie2_intc: interrupt-controller {
300 interrupt-controller;
301 #address-cells = <0>;
302 #interrupt-cells = <1>;
303 };
304 };
305 };
306
Dave Gerlacha5fa09b2016-05-10 14:49:41 -0500307 ocmcram1: ocmcram@40300000 {
308 compatible = "mmio-sram";
309 reg = <0x40300000 0x80000>;
310 ranges = <0x0 0x40300000 0x80000>;
311 #address-cells = <1>;
312 #size-cells = <1>;
Dave Gerlachfae3a9f2016-05-10 14:49:42 -0500313 /*
314 * This is a placeholder for an optional reserved
315 * region for use by secure software. The size
316 * of this region is not known until runtime so it
317 * is set as zero to either be updated to reserve
318 * space or left unchanged to leave all SRAM for use.
319 * On HS parts that that require the reserved region
320 * either the bootloader can update the size to
321 * the required amount or the node can be overridden
322 * from the board dts file for the secure platform.
323 */
324 sram-hs@0 {
325 compatible = "ti,secure-ram";
326 reg = <0x0 0x0>;
327 };
Dave Gerlacha5fa09b2016-05-10 14:49:41 -0500328 };
329
330 /*
331 * NOTE: ocmcram2 and ocmcram3 are not available on all
332 * DRA7xx and AM57xx variants. Confirm availability in
333 * the data manual for the exact part number in use
334 * before enabling these nodes in the board dts file.
335 */
336 ocmcram2: ocmcram@40400000 {
337 status = "disabled";
338 compatible = "mmio-sram";
339 reg = <0x40400000 0x100000>;
340 ranges = <0x0 0x40400000 0x100000>;
341 #address-cells = <1>;
342 #size-cells = <1>;
343 };
344
345 ocmcram3: ocmcram@40500000 {
346 status = "disabled";
347 compatible = "mmio-sram";
348 reg = <0x40500000 0x100000>;
349 ranges = <0x0 0x40500000 0x100000>;
350 #address-cells = <1>;
351 #size-cells = <1>;
352 };
353
Keerthyf7397ed2015-03-23 14:39:38 -0500354 bandgap: bandgap@4a0021e0 {
355 reg = <0x4a0021e0 0xc
356 0x4a00232c 0xc
357 0x4a002380 0x2c
358 0x4a0023C0 0x3c
359 0x4a002564 0x8
360 0x4a002574 0x50>;
361 compatible = "ti,dra752-bandgap";
362 interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
363 #thermal-sensor-cells = <1>;
364 };
365
Suman Anna99639ac2015-10-02 18:23:22 -0500366 dsp1_system: dsp_system@40d00000 {
367 compatible = "syscon";
368 reg = <0x40d00000 0x100>;
369 };
370
Tony Lindgreneba61302017-06-16 17:24:29 +0530371 dra7_iodelay_core: padconf@4844a000 {
372 compatible = "ti,dra7-iodelay";
373 reg = <0x4844a000 0x0d1c>;
374 #address-cells = <1>;
375 #size-cells = <0>;
376 #pinctrl-cells = <2>;
377 };
378
Tony Lindgren13149bb2020-03-04 07:25:31 -0800379 target-module@43300000 {
380 compatible = "ti,sysc-omap4", "ti,sysc";
Tony Lindgren075249b2021-03-10 14:03:45 +0200381 reg = <0x43300000 0x4>,
382 <0x43300010 0x4>;
383 reg-names = "rev", "sysc";
384 ti,sysc-midle = <SYSC_IDLE_FORCE>,
385 <SYSC_IDLE_NO>,
386 <SYSC_IDLE_SMART>;
387 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
388 <SYSC_IDLE_NO>,
389 <SYSC_IDLE_SMART>;
Tony Lindgren13149bb2020-03-04 07:25:31 -0800390 clocks = <&l3main1_clkctrl DRA7_L3MAIN1_TPCC_CLKCTRL 0>;
391 clock-names = "fck";
392 #address-cells = <1>;
393 #size-cells = <1>;
394 ranges = <0x0 0x43300000 0x100000>;
Peter Ujfalusi248948f2016-03-07 17:17:29 +0200395
Tony Lindgren13149bb2020-03-04 07:25:31 -0800396 edma: dma@0 {
397 compatible = "ti,edma3-tpcc";
398 reg = <0 0x100000>;
399 reg-names = "edma3_cc";
400 interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>,
401 <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>,
402 <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
403 interrupt-names = "edma3_ccint", "edma3_mperr",
404 "edma3_ccerrint";
405 dma-requests = <64>;
406 #dma-cells = <2>;
Peter Ujfalusi248948f2016-03-07 17:17:29 +0200407
Tony Lindgren13149bb2020-03-04 07:25:31 -0800408 ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 0>;
409
410 /*
411 * memcpy is disabled, can be enabled with:
412 * ti,edma-memcpy-channels = <20 21>;
413 * for example. Note that these channels need to be
414 * masked in the xbar as well.
415 */
416 };
Peter Ujfalusi248948f2016-03-07 17:17:29 +0200417 };
418
Tony Lindgren103d2642020-03-04 07:25:31 -0800419 target-module@43400000 {
420 compatible = "ti,sysc-omap4", "ti,sysc";
Tony Lindgren075249b2021-03-10 14:03:45 +0200421 reg = <0x43400000 0x4>,
422 <0x43400010 0x4>;
423 reg-names = "rev", "sysc";
424 ti,sysc-midle = <SYSC_IDLE_FORCE>,
425 <SYSC_IDLE_NO>,
426 <SYSC_IDLE_SMART>;
427 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
428 <SYSC_IDLE_NO>,
429 <SYSC_IDLE_SMART>;
Tony Lindgren103d2642020-03-04 07:25:31 -0800430 clocks = <&l3main1_clkctrl DRA7_L3MAIN1_TPTC0_CLKCTRL 0>;
431 clock-names = "fck";
432 #address-cells = <1>;
433 #size-cells = <1>;
434 ranges = <0x0 0x43400000 0x100000>;
435
436 edma_tptc0: dma@0 {
437 compatible = "ti,edma3-tptc";
438 reg = <0 0x100000>;
439 interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
440 interrupt-names = "edma3_tcerrint";
441 };
Peter Ujfalusi248948f2016-03-07 17:17:29 +0200442 };
443
Tony Lindgren4286b672020-03-04 07:25:31 -0800444 target-module@43500000 {
445 compatible = "ti,sysc-omap4", "ti,sysc";
Tony Lindgren075249b2021-03-10 14:03:45 +0200446 reg = <0x43500000 0x4>,
447 <0x43500010 0x4>;
448 reg-names = "rev", "sysc";
449 ti,sysc-midle = <SYSC_IDLE_FORCE>,
450 <SYSC_IDLE_NO>,
451 <SYSC_IDLE_SMART>;
452 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
453 <SYSC_IDLE_NO>,
454 <SYSC_IDLE_SMART>;
Tony Lindgren4286b672020-03-04 07:25:31 -0800455 clocks = <&l3main1_clkctrl DRA7_L3MAIN1_TPTC1_CLKCTRL 0>;
456 clock-names = "fck";
457 #address-cells = <1>;
458 #size-cells = <1>;
459 ranges = <0x0 0x43500000 0x100000>;
460
461 edma_tptc1: dma@0 {
462 compatible = "ti,edma3-tptc";
463 reg = <0 0x100000>;
464 interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
465 interrupt-names = "edma3_tcerrint";
466 };
Peter Ujfalusi248948f2016-03-07 17:17:29 +0200467 };
468
Tony Lindgren27559a82021-03-10 14:03:47 +0200469 target-module@4e000000 {
470 compatible = "ti,sysc-omap2", "ti,sysc";
Archit Taneja1a5fe3c2013-12-17 15:32:21 +0530471 ti,hwmods = "dmm";
Tony Lindgren27559a82021-03-10 14:03:47 +0200472 reg = <0x4e000000 0x4>,
473 <0x4e000010 0x4>;
474 reg-names = "rev", "sysc";
475 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
476 <SYSC_IDLE_NO>,
477 <SYSC_IDLE_SMART>;
478 ranges = <0x0 0x4e000000 0x2000000>;
479 #size-cells = <1>;
480 #address-cells = <1>;
481
482 dmm@0 {
483 compatible = "ti,omap5-dmm";
484 reg = <0 0x800>;
485 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
486 };
Archit Taneja1a5fe3c2013-12-17 15:32:21 +0530487 };
488
Suman Anna46ab8232020-04-24 18:12:29 +0300489 ipu1: ipu@58820000 {
490 compatible = "ti,dra7-ipu";
491 reg = <0x58820000 0x10000>;
492 reg-names = "l2ram";
493 iommus = <&mmu_ipu1>;
494 status = "disabled";
495 resets = <&prm_ipu 0>, <&prm_ipu 1>;
496 clocks = <&ipu1_clkctrl DRA7_IPU1_MMU_IPU1_CLKCTRL 0>;
497 firmware-name = "dra7-ipu1-fw.xem4";
498 };
499
500 ipu2: ipu@55020000 {
501 compatible = "ti,dra7-ipu";
502 reg = <0x55020000 0x10000>;
503 reg-names = "l2ram";
504 iommus = <&mmu_ipu2>;
505 status = "disabled";
506 resets = <&prm_core 0>, <&prm_core 1>;
507 clocks = <&ipu2_clkctrl DRA7_IPU2_MMU_IPU2_CLKCTRL 0>;
508 firmware-name = "dra7-ipu2-fw.xem4";
509 };
510
511 dsp1: dsp@40800000 {
512 compatible = "ti,dra7-dsp";
513 reg = <0x40800000 0x48000>,
514 <0x40e00000 0x8000>,
515 <0x40f00000 0x8000>;
516 reg-names = "l2ram", "l1pram", "l1dram";
517 ti,bootreg = <&scm_conf 0x55c 10>;
518 iommus = <&mmu0_dsp1>, <&mmu1_dsp1>;
519 status = "disabled";
520 resets = <&prm_dsp1 0>;
521 clocks = <&dsp1_clkctrl DRA7_DSP1_MMU0_DSP1_CLKCTRL 0>;
522 firmware-name = "dra7-dsp1-fw.xe66";
523 };
524
Tero Kristodbd2d6f2019-12-12 14:51:18 +0200525 target-module@40d01000 {
526 compatible = "ti,sysc-omap2", "ti,sysc";
527 reg = <0x40d01000 0x4>,
528 <0x40d01010 0x4>,
529 <0x40d01014 0x4>;
530 reg-names = "rev", "sysc", "syss";
531 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
532 <SYSC_IDLE_NO>,
533 <SYSC_IDLE_SMART>;
534 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
535 SYSC_OMAP2_SOFTRESET |
536 SYSC_OMAP2_AUTOIDLE)>;
537 clocks = <&dsp1_clkctrl DRA7_DSP1_MMU0_DSP1_CLKCTRL 0>;
538 clock-names = "fck";
539 resets = <&prm_dsp1 1>;
540 reset-names = "rstctrl";
541 ranges = <0x0 0x40d01000 0x1000>;
542 #size-cells = <1>;
543 #address-cells = <1>;
544
545 mmu0_dsp1: mmu@0 {
546 compatible = "ti,dra7-dsp-iommu";
547 reg = <0x0 0x100>;
548 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
549 #iommu-cells = <0>;
550 ti,syscon-mmuconfig = <&dsp1_system 0x0>;
551 };
Suman Anna2c7e07c52015-10-02 18:23:24 -0500552 };
553
Tero Kristodbd2d6f2019-12-12 14:51:18 +0200554 target-module@40d02000 {
555 compatible = "ti,sysc-omap2", "ti,sysc";
556 reg = <0x40d02000 0x4>,
557 <0x40d02010 0x4>,
558 <0x40d02014 0x4>;
559 reg-names = "rev", "sysc", "syss";
560 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
561 <SYSC_IDLE_NO>,
562 <SYSC_IDLE_SMART>;
563 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
564 SYSC_OMAP2_SOFTRESET |
565 SYSC_OMAP2_AUTOIDLE)>;
566 clocks = <&dsp1_clkctrl DRA7_DSP1_MMU0_DSP1_CLKCTRL 0>;
567 clock-names = "fck";
568 resets = <&prm_dsp1 1>;
569 reset-names = "rstctrl";
570 ranges = <0x0 0x40d02000 0x1000>;
571 #size-cells = <1>;
572 #address-cells = <1>;
573
574 mmu1_dsp1: mmu@0 {
575 compatible = "ti,dra7-dsp-iommu";
576 reg = <0x0 0x100>;
577 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
578 #iommu-cells = <0>;
579 ti,syscon-mmuconfig = <&dsp1_system 0x1>;
580 };
Suman Anna2c7e07c52015-10-02 18:23:24 -0500581 };
582
Tero Kristodbd2d6f2019-12-12 14:51:18 +0200583 target-module@58882000 {
584 compatible = "ti,sysc-omap2", "ti,sysc";
585 reg = <0x58882000 0x4>,
586 <0x58882010 0x4>,
587 <0x58882014 0x4>;
588 reg-names = "rev", "sysc", "syss";
589 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
590 <SYSC_IDLE_NO>,
591 <SYSC_IDLE_SMART>;
592 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
593 SYSC_OMAP2_SOFTRESET |
594 SYSC_OMAP2_AUTOIDLE)>;
595 clocks = <&ipu1_clkctrl DRA7_IPU1_MMU_IPU1_CLKCTRL 0>;
596 clock-names = "fck";
597 resets = <&prm_ipu 2>;
598 reset-names = "rstctrl";
599 #address-cells = <1>;
600 #size-cells = <1>;
601 ranges = <0x0 0x58882000 0x100>;
602
603 mmu_ipu1: mmu@0 {
604 compatible = "ti,dra7-iommu";
605 reg = <0x0 0x100>;
606 interrupts = <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>;
607 #iommu-cells = <0>;
608 ti,iommu-bus-err-back;
609 };
Suman Anna2c7e07c52015-10-02 18:23:24 -0500610 };
611
Tero Kristodbd2d6f2019-12-12 14:51:18 +0200612 target-module@55082000 {
613 compatible = "ti,sysc-omap2", "ti,sysc";
614 reg = <0x55082000 0x4>,
615 <0x55082010 0x4>,
616 <0x55082014 0x4>;
617 reg-names = "rev", "sysc", "syss";
618 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
619 <SYSC_IDLE_NO>,
620 <SYSC_IDLE_SMART>;
621 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
622 SYSC_OMAP2_SOFTRESET |
623 SYSC_OMAP2_AUTOIDLE)>;
624 clocks = <&ipu2_clkctrl DRA7_IPU2_MMU_IPU2_CLKCTRL 0>;
625 clock-names = "fck";
626 resets = <&prm_core 2>;
627 reset-names = "rstctrl";
628 #address-cells = <1>;
629 #size-cells = <1>;
630 ranges = <0x0 0x55082000 0x100>;
631
632 mmu_ipu2: mmu@0 {
633 compatible = "ti,dra7-iommu";
634 reg = <0x0 0x100>;
635 interrupts = <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>;
636 #iommu-cells = <0>;
637 ti,iommu-bus-err-back;
638 };
Suman Anna2c7e07c52015-10-02 18:23:24 -0500639 };
640
Nishanth Menona1b8ee12014-03-03 20:20:23 +0530641 abb_mpu: regulator-abb-mpu {
642 compatible = "ti,abb-v3";
643 regulator-name = "abb_mpu";
644 #address-cells = <0>;
645 #size-cells = <0>;
646 clocks = <&sys_clkin1>;
647 ti,settling-time = <50>;
648 ti,clock-cycles = <16>;
649
650 reg = <0x4ae07ddc 0x4>, <0x4ae07de0 0x4>,
Nishanth Menon18227342015-04-16 16:56:33 -0500651 <0x4ae06014 0x4>, <0x4a003b20 0xc>,
Nishanth Menona1b8ee12014-03-03 20:20:23 +0530652 <0x4ae0c158 0x4>;
653 reg-names = "setup-address", "control-address",
654 "int-address", "efuse-address",
655 "ldo-address";
656 ti,tranxdone-status-mask = <0x80>;
657 /* LDOVBBMPU_FBB_MUX_CTRL */
658 ti,ldovbb-override-mask = <0x400>;
659 /* LDOVBBMPU_FBB_VSET_OUT */
660 ti,ldovbb-vset-mask = <0x1F>;
661
662 /*
663 * NOTE: only FBB mode used but actual vset will
664 * determine final biasing
665 */
666 ti,abb_info = <
667 /*uV ABB efuse rbb_m fbb_m vset_m*/
668 1060000 0 0x0 0 0x02000000 0x01F00000
669 1160000 0 0x4 0 0x02000000 0x01F00000
670 1210000 0 0x8 0 0x02000000 0x01F00000
671 >;
672 };
673
674 abb_ivahd: regulator-abb-ivahd {
675 compatible = "ti,abb-v3";
676 regulator-name = "abb_ivahd";
677 #address-cells = <0>;
678 #size-cells = <0>;
679 clocks = <&sys_clkin1>;
680 ti,settling-time = <50>;
681 ti,clock-cycles = <16>;
682
683 reg = <0x4ae07e34 0x4>, <0x4ae07e24 0x4>,
Nishanth Menon18227342015-04-16 16:56:33 -0500684 <0x4ae06010 0x4>, <0x4a0025cc 0xc>,
Nishanth Menona1b8ee12014-03-03 20:20:23 +0530685 <0x4a002470 0x4>;
686 reg-names = "setup-address", "control-address",
687 "int-address", "efuse-address",
688 "ldo-address";
689 ti,tranxdone-status-mask = <0x40000000>;
690 /* LDOVBBIVA_FBB_MUX_CTRL */
691 ti,ldovbb-override-mask = <0x400>;
692 /* LDOVBBIVA_FBB_VSET_OUT */
693 ti,ldovbb-vset-mask = <0x1F>;
694
695 /*
696 * NOTE: only FBB mode used but actual vset will
697 * determine final biasing
698 */
699 ti,abb_info = <
700 /*uV ABB efuse rbb_m fbb_m vset_m*/
701 1055000 0 0x0 0 0x02000000 0x01F00000
702 1150000 0 0x4 0 0x02000000 0x01F00000
703 1250000 0 0x8 0 0x02000000 0x01F00000
704 >;
705 };
706
707 abb_dspeve: regulator-abb-dspeve {
708 compatible = "ti,abb-v3";
709 regulator-name = "abb_dspeve";
710 #address-cells = <0>;
711 #size-cells = <0>;
712 clocks = <&sys_clkin1>;
713 ti,settling-time = <50>;
714 ti,clock-cycles = <16>;
715
716 reg = <0x4ae07e30 0x4>, <0x4ae07e20 0x4>,
Nishanth Menon18227342015-04-16 16:56:33 -0500717 <0x4ae06010 0x4>, <0x4a0025e0 0xc>,
Nishanth Menona1b8ee12014-03-03 20:20:23 +0530718 <0x4a00246c 0x4>;
719 reg-names = "setup-address", "control-address",
720 "int-address", "efuse-address",
721 "ldo-address";
722 ti,tranxdone-status-mask = <0x20000000>;
723 /* LDOVBBDSPEVE_FBB_MUX_CTRL */
724 ti,ldovbb-override-mask = <0x400>;
725 /* LDOVBBDSPEVE_FBB_VSET_OUT */
726 ti,ldovbb-vset-mask = <0x1F>;
727
728 /*
729 * NOTE: only FBB mode used but actual vset will
730 * determine final biasing
731 */
732 ti,abb_info = <
733 /*uV ABB efuse rbb_m fbb_m vset_m*/
734 1055000 0 0x0 0 0x02000000 0x01F00000
735 1150000 0 0x4 0 0x02000000 0x01F00000
736 1250000 0 0x8 0 0x02000000 0x01F00000
737 >;
738 };
739
740 abb_gpu: regulator-abb-gpu {
741 compatible = "ti,abb-v3";
742 regulator-name = "abb_gpu";
743 #address-cells = <0>;
744 #size-cells = <0>;
745 clocks = <&sys_clkin1>;
746 ti,settling-time = <50>;
747 ti,clock-cycles = <16>;
748
749 reg = <0x4ae07de4 0x4>, <0x4ae07de8 0x4>,
Nishanth Menon18227342015-04-16 16:56:33 -0500750 <0x4ae06010 0x4>, <0x4a003b08 0xc>,
Nishanth Menona1b8ee12014-03-03 20:20:23 +0530751 <0x4ae0c154 0x4>;
752 reg-names = "setup-address", "control-address",
753 "int-address", "efuse-address",
754 "ldo-address";
755 ti,tranxdone-status-mask = <0x10000000>;
756 /* LDOVBBGPU_FBB_MUX_CTRL */
757 ti,ldovbb-override-mask = <0x400>;
758 /* LDOVBBGPU_FBB_VSET_OUT */
759 ti,ldovbb-vset-mask = <0x1F>;
760
761 /*
762 * NOTE: only FBB mode used but actual vset will
763 * determine final biasing
764 */
765 ti,abb_info = <
766 /*uV ABB efuse rbb_m fbb_m vset_m*/
767 1090000 0 0x0 0 0x02000000 0x01F00000
768 1210000 0 0x4 0 0x02000000 0x01F00000
769 1280000 0 0x8 0 0x02000000 0x01F00000
770 >;
771 };
772
Tony Lindgrene2d637b2021-03-10 14:03:46 +0200773 target-module@4b300000 {
774 compatible = "ti,sysc-omap4", "ti,sysc";
Sourav Poddardc2dd5b2014-05-06 16:37:24 +0530775 ti,hwmods = "qspi";
Tony Lindgrene2d637b2021-03-10 14:03:46 +0200776 reg = <0x4b300000 0x4>,
777 <0x4b300010 0x4>;
778 reg-names = "rev", "sysc";
779 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
780 <SYSC_IDLE_NO>,
781 <SYSC_IDLE_SMART>,
782 <SYSC_IDLE_SMART_WKUP>;
783 clocks = <&l4per2_clkctrl DRA7_L4PER2_QSPI_CLKCTRL 0>;
Sourav Poddardc2dd5b2014-05-06 16:37:24 +0530784 clock-names = "fck";
Tony Lindgrene2d637b2021-03-10 14:03:46 +0200785 #address-cells = <1>;
786 #size-cells = <1>;
787 ranges = <0x0 0x4b300000 0x1000>,
788 <0x5c000000 0x5c000000 0x4000000>;
789
790 qspi: spi@0 {
791 compatible = "ti,dra7xxx-qspi";
792 reg = <0 0x100>,
793 <0x5c000000 0x4000000>;
794 reg-names = "qspi_base", "qspi_mmap";
795 syscon-chipselects = <&scm_conf 0x558>;
796 #address-cells = <1>;
797 #size-cells = <0>;
798 clocks = <&l4per2_clkctrl DRA7_L4PER2_QSPI_CLKCTRL 25>;
799 clock-names = "fck";
800 num-cs = <4>;
801 interrupts = <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>;
802 status = "disabled";
803 };
Sourav Poddardc2dd5b2014-05-06 16:37:24 +0530804 };
Balaji T K7be80562014-05-07 14:58:58 +0300805
Roger Quadrosfbf3e552014-05-05 12:54:45 +0300806 /* OCP2SCP1 */
Roger Quadrosfbf3e552014-05-05 12:54:45 +0300807 /* IRQ for DWC3_3 and DWC3_4 need IRQ crossbar */
Tony Lindgren11fdf592020-10-19 10:45:58 +0300808
809 target-module@50000000 {
810 compatible = "ti,sysc-omap2", "ti,sysc";
811 reg = <0x50000000 4>,
812 <0x50000010 4>,
813 <0x50000014 4>;
814 reg-names = "rev", "sysc", "syss";
815 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
816 <SYSC_IDLE_NO>,
817 <SYSC_IDLE_SMART>;
818 ti,syss-mask = <1>;
819 clocks = <&l3main1_clkctrl DRA7_L3MAIN1_GPMC_CLKCTRL 0>;
820 clock-names = "fck";
821 #address-cells = <1>;
Minal Shahff66a3c2014-05-19 14:45:47 +0530822 #size-cells = <1>;
Tony Lindgren11fdf592020-10-19 10:45:58 +0300823 ranges = <0x50000000 0x50000000 0x00001000>, /* regs */
824 <0x00000000 0x00000000 0x40000000>; /* data */
825
826 gpmc: gpmc@50000000 {
827 compatible = "ti,am3352-gpmc";
828 reg = <0x50000000 0x37c>; /* device IO registers */
829 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
830 dmas = <&edma_xbar 4 0>;
831 dma-names = "rxtx";
832 gpmc,num-cs = <8>;
833 gpmc,num-waitpins = <2>;
834 #address-cells = <2>;
835 #size-cells = <1>;
836 interrupt-controller;
837 #interrupt-cells = <2>;
838 gpio-controller;
839 #gpio-cells = <2>;
840 status = "disabled";
841 };
Minal Shahff66a3c2014-05-19 14:45:47 +0530842 };
Peter Ujfalusi2ca09452014-05-07 13:20:48 +0300843
Tony Lindgren45e118b2019-11-01 09:31:23 -0700844 target-module@56000000 {
845 compatible = "ti,sysc-omap4", "ti,sysc";
846 reg = <0x5600fe00 0x4>,
847 <0x5600fe10 0x4>;
848 reg-names = "rev", "sysc";
849 ti,sysc-midle = <SYSC_IDLE_FORCE>,
850 <SYSC_IDLE_NO>,
851 <SYSC_IDLE_SMART>;
852 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
853 <SYSC_IDLE_NO>,
854 <SYSC_IDLE_SMART>;
855 clocks = <&gpu_clkctrl DRA7_GPU_CLKCTRL 0>;
856 clock-names = "fck";
857 #address-cells = <1>;
858 #size-cells = <1>;
859 ranges = <0 0x56000000 0x2000000>;
860 };
861
Marc Zyngier783d3182015-03-11 15:43:44 +0000862 crossbar_mpu: crossbar@4a002a48 {
R Sricharana46631c2014-06-26 12:55:31 +0530863 compatible = "ti,irq-crossbar";
864 reg = <0x4a002a48 0x130>;
Marc Zyngier783d3182015-03-11 15:43:44 +0000865 interrupt-controller;
Marc Zyngier7136d452015-03-11 15:43:49 +0000866 interrupt-parent = <&wakeupgen>;
Marc Zyngier783d3182015-03-11 15:43:44 +0000867 #interrupt-cells = <3>;
R Sricharana46631c2014-06-26 12:55:31 +0530868 ti,max-irqs = <160>;
869 ti,max-crossbar-sources = <MAX_SOURCES>;
870 ti,reg-size = <2>;
871 ti,irqs-reserved = <0 1 2 3 5 6 131 132>;
872 ti,irqs-skip = <10 133 139 140>;
873 ti,irqs-safe-map = <0>;
874 };
Mugunthan V Nef9c5b62014-10-21 15:31:00 +0530875
Tony Lindgrena50371f2020-03-04 08:10:41 -0800876 target-module@58000000 {
877 compatible = "ti,sysc-omap2", "ti,sysc";
Tony Lindgrena50371f2020-03-04 08:10:41 -0800878 reg = <0x58000000 4>,
879 <0x58000014 4>;
880 reg-names = "rev", "syss";
881 ti,syss-mask = <1>;
882 clocks = <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 0>,
883 <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 9>,
884 <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 10>,
885 <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 11>;
886 clock-names = "fck", "hdmi_clk", "sys_clk", "tv_clk";
Tomi Valkeinen95c1cd12014-07-09 16:15:18 +0530887 #address-cells = <1>;
888 #size-cells = <1>;
Tony Lindgrena50371f2020-03-04 08:10:41 -0800889 ranges = <0 0x58000000 0x800000>;
Tomi Valkeinen95c1cd12014-07-09 16:15:18 +0530890
Tony Lindgrena50371f2020-03-04 08:10:41 -0800891 dss: dss@0 {
892 compatible = "ti,dra7-dss";
893 /* 'reg' defined in dra72x.dtsi and dra74x.dtsi */
894 /* 'clocks' defined in dra72x.dtsi and dra74x.dtsi */
Tomi Valkeinen95c1cd12014-07-09 16:15:18 +0530895 status = "disabled";
Tony Lindgrena50371f2020-03-04 08:10:41 -0800896 /* CTRL_CORE_DSS_PLL_CONTROL */
897 syscon-pll-ctrl = <&scm_conf 0x538>;
898 #address-cells = <1>;
899 #size-cells = <1>;
900 ranges = <0 0 0x800000>;
901
Tony Lindgren9a951962020-03-04 08:10:42 -0800902 target-module@1000 {
903 compatible = "ti,sysc-omap2", "ti,sysc";
904 reg = <0x1000 0x4>,
905 <0x1010 0x4>,
906 <0x1014 0x4>;
907 reg-names = "rev", "sysc", "syss";
908 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
909 <SYSC_IDLE_NO>,
910 <SYSC_IDLE_SMART>;
911 ti,sysc-midle = <SYSC_IDLE_FORCE>,
912 <SYSC_IDLE_NO>,
913 <SYSC_IDLE_SMART>;
914 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
915 SYSC_OMAP2_ENAWAKEUP |
916 SYSC_OMAP2_SOFTRESET |
917 SYSC_OMAP2_AUTOIDLE)>;
918 ti,syss-mask = <1>;
919 clocks = <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 8>;
Tony Lindgrena50371f2020-03-04 08:10:41 -0800920 clock-names = "fck";
Tony Lindgren9a951962020-03-04 08:10:42 -0800921 #address-cells = <1>;
922 #size-cells = <1>;
923 ranges = <0 0x1000 0x1000>;
924
925 dispc@0 {
926 compatible = "ti,dra7-dispc";
927 reg = <0 0x1000>;
928 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
Tony Lindgren9a951962020-03-04 08:10:42 -0800929 clocks = <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 8>;
930 clock-names = "fck";
931 /* CTRL_CORE_SMA_SW_1 */
932 syscon-pol = <&scm_conf 0x534>;
933 };
Tony Lindgrena50371f2020-03-04 08:10:41 -0800934 };
935
Tony Lindgrenc4f47282020-03-04 08:10:42 -0800936 target-module@40000 {
937 compatible = "ti,sysc-omap4", "ti,sysc";
938 reg = <0x40000 0x4>,
939 <0x40010 0x4>;
940 reg-names = "rev", "sysc";
941 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
942 <SYSC_IDLE_NO>,
943 <SYSC_IDLE_SMART>,
944 <SYSC_IDLE_SMART_WKUP>;
945 ti,sysc-mask = <(SYSC_OMAP4_SOFTRESET)>;
946 clocks = <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 9>,
947 <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 8>;
948 clock-names = "fck", "dss_clk";
949 #address-cells = <1>;
950 #size-cells = <1>;
951 ranges = <0 0x40000 0x40000>;
952
953 hdmi: encoder@0 {
954 compatible = "ti,dra7-hdmi";
955 reg = <0 0x200>,
956 <0x200 0x80>,
957 <0x300 0x80>,
958 <0x20000 0x19000>;
959 reg-names = "wp", "pll", "phy", "core";
960 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
961 status = "disabled";
962 clocks = <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 9>,
963 <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 10>;
964 clock-names = "fck", "sys_clk";
965 dmas = <&sdma_xbar 76>;
966 dma-names = "audio_tx";
967 };
Tony Lindgrena50371f2020-03-04 08:10:41 -0800968 };
Tomi Valkeinen95c1cd12014-07-09 16:15:18 +0530969 };
970 };
Vignesh R34370142016-05-03 10:56:55 -0500971
Tony Lindgren2ea3ce22019-12-12 09:46:16 -0800972 aes1_target: target-module@4b500000 {
973 compatible = "ti,sysc-omap2", "ti,sysc";
Tony Lindgren2ea3ce22019-12-12 09:46:16 -0800974 reg = <0x4b500080 0x4>,
975 <0x4b500084 0x4>,
976 <0x4b500088 0x4>;
977 reg-names = "rev", "sysc", "syss";
978 ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
979 SYSC_OMAP2_AUTOIDLE)>;
980 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
981 <SYSC_IDLE_NO>,
982 <SYSC_IDLE_SMART>,
983 <SYSC_IDLE_SMART_WKUP>;
984 ti,syss-mask = <1>;
985 /* Domains (P, C): per_pwrdm, l4sec_clkdm */
986 clocks = <&l4sec_clkctrl DRA7_L4SEC_AES1_CLKCTRL 0>;
Joel Fernandese7fd15c2016-06-01 12:06:42 +0300987 clock-names = "fck";
Tony Lindgren2ea3ce22019-12-12 09:46:16 -0800988 #address-cells = <1>;
989 #size-cells = <1>;
990 ranges = <0x0 0x4b500000 0x1000>;
991
992 aes1: aes@0 {
993 compatible = "ti,omap4-aes";
994 reg = <0 0xa0>;
995 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
996 dmas = <&edma_xbar 111 0>, <&edma_xbar 110 0>;
997 dma-names = "tx", "rx";
998 clocks = <&l3_iclk_div>;
999 clock-names = "fck";
1000 };
Joel Fernandese7fd15c2016-06-01 12:06:42 +03001001 };
1002
Tony Lindgren2ea3ce22019-12-12 09:46:16 -08001003 aes2_target: target-module@4b700000 {
1004 compatible = "ti,sysc-omap2", "ti,sysc";
Tony Lindgren2ea3ce22019-12-12 09:46:16 -08001005 reg = <0x4b700080 0x4>,
1006 <0x4b700084 0x4>,
1007 <0x4b700088 0x4>;
1008 reg-names = "rev", "sysc", "syss";
1009 ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
1010 SYSC_OMAP2_AUTOIDLE)>;
1011 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
1012 <SYSC_IDLE_NO>,
1013 <SYSC_IDLE_SMART>,
1014 <SYSC_IDLE_SMART_WKUP>;
1015 ti,syss-mask = <1>;
1016 /* Domains (P, C): per_pwrdm, l4sec_clkdm */
1017 clocks = <&l4sec_clkctrl DRA7_L4SEC_AES2_CLKCTRL 0>;
Joel Fernandese7fd15c2016-06-01 12:06:42 +03001018 clock-names = "fck";
Tony Lindgren2ea3ce22019-12-12 09:46:16 -08001019 #address-cells = <1>;
1020 #size-cells = <1>;
1021 ranges = <0x0 0x4b700000 0x1000>;
1022
1023 aes2: aes@0 {
1024 compatible = "ti,omap4-aes";
1025 reg = <0 0xa0>;
1026 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
1027 dmas = <&edma_xbar 114 0>, <&edma_xbar 113 0>;
1028 dma-names = "tx", "rx";
1029 clocks = <&l3_iclk_div>;
1030 clock-names = "fck";
1031 };
Joel Fernandese7fd15c2016-06-01 12:06:42 +03001032 };
1033
Tero Kristobe5cd392020-09-07 12:52:46 +03001034 sham1_target: target-module@4b101000 {
Tony Lindgrene1326812019-12-12 09:46:15 -08001035 compatible = "ti,sysc-omap3-sham", "ti,sysc";
Tony Lindgrene1326812019-12-12 09:46:15 -08001036 reg = <0x4b101100 0x4>,
1037 <0x4b101110 0x4>,
1038 <0x4b101114 0x4>;
1039 reg-names = "rev", "sysc", "syss";
1040 ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
1041 SYSC_OMAP2_AUTOIDLE)>;
1042 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
1043 <SYSC_IDLE_NO>,
1044 <SYSC_IDLE_SMART>;
1045 ti,syss-mask = <1>;
1046 /* Domains (P, C): l4per_pwrdm, l4sec_clkdm */
1047 clocks = <&l4sec_clkctrl DRA7_L4SEC_SHAM_CLKCTRL 0>;
Lokesh Vutlada346092016-06-01 12:06:43 +03001048 clock-names = "fck";
Tony Lindgrene1326812019-12-12 09:46:15 -08001049 #address-cells = <1>;
1050 #size-cells = <1>;
1051 ranges = <0x0 0x4b101000 0x1000>;
1052
Tero Kristobe5cd392020-09-07 12:52:46 +03001053 sham1: sham@0 {
Tony Lindgrene1326812019-12-12 09:46:15 -08001054 compatible = "ti,omap5-sham";
1055 reg = <0 0x300>;
1056 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
1057 dmas = <&edma_xbar 119 0>;
1058 dma-names = "rx";
1059 clocks = <&l3_iclk_div>;
1060 clock-names = "fck";
1061 };
Lokesh Vutlada346092016-06-01 12:06:43 +03001062 };
Lokesh Vutla610e9c42016-06-01 12:06:44 +03001063
Tero Kristobe5cd392020-09-07 12:52:46 +03001064 sham2_target: target-module@42701000 {
1065 compatible = "ti,sysc-omap3-sham", "ti,sysc";
1066 reg = <0x42701100 0x4>,
1067 <0x42701110 0x4>,
1068 <0x42701114 0x4>;
1069 reg-names = "rev", "sysc", "syss";
1070 ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
1071 SYSC_OMAP2_AUTOIDLE)>;
1072 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
1073 <SYSC_IDLE_NO>,
1074 <SYSC_IDLE_SMART>;
1075 ti,syss-mask = <1>;
1076 /* Domains (P, C): l4per_pwrdm, l4sec_clkdm */
1077 clocks = <&l4sec_clkctrl DRA7_L4SEC_SHAM2_CLKCTRL 0>;
1078 clock-names = "fck";
1079 #address-cells = <1>;
1080 #size-cells = <1>;
1081 ranges = <0x0 0x42701000 0x1000>;
1082
1083 sham2: sham@0 {
1084 compatible = "ti,omap5-sham";
1085 reg = <0 0x300>;
1086 interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
1087 dmas = <&edma_xbar 165 0>;
1088 dma-names = "rx";
1089 clocks = <&l3_iclk_div>;
1090 clock-names = "fck";
1091 };
1092 };
1093
Tony Lindgrenae57d152020-11-12 11:57:03 +02001094 iva_hd_target: target-module@5a000000 {
1095 compatible = "ti,sysc-omap4", "ti,sysc";
1096 reg = <0x5a05a400 0x4>,
1097 <0x5a05a410 0x4>;
1098 reg-names = "rev", "sysc";
1099 ti,sysc-midle = <SYSC_IDLE_FORCE>,
1100 <SYSC_IDLE_NO>,
1101 <SYSC_IDLE_SMART>;
1102 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
1103 <SYSC_IDLE_NO>,
1104 <SYSC_IDLE_SMART>;
1105 power-domains = <&prm_iva>;
1106 resets = <&prm_iva 2>;
1107 reset-names = "rstctrl";
1108 clocks = <&iva_clkctrl DRA7_IVA_CLKCTRL 0>;
1109 clock-names = "fck";
1110 #address-cells = <1>;
1111 #size-cells = <1>;
1112 ranges = <0x5a000000 0x5a000000 0x1000000>,
1113 <0x5b000000 0x5b000000 0x1000000>;
1114
1115 iva {
1116 compatible = "ti,ivahd";
1117 };
1118 };
1119
Dave Gerlachdbef1962017-12-19 09:24:20 -06001120 opp_supply_mpu: opp-supply@4a003b20 {
1121 compatible = "ti,omap5-opp-supply";
1122 reg = <0x4a003b20 0xc>;
1123 ti,efuse-settings = <
1124 /* uV offset */
1125 1060000 0x0
1126 1160000 0x4
1127 1210000 0x8
1128 >;
1129 ti,absolute-max-voltage-uv = <1500000>;
1130 };
1131
R Sricharan6e58b8f2013-08-14 19:08:20 +05301132 };
Keerthyf7397ed2015-03-23 14:39:38 -05001133
1134 thermal_zones: thermal-zones {
1135 #include "omap4-cpu-thermal.dtsi"
1136 #include "omap5-gpu-thermal.dtsi"
1137 #include "omap5-core-thermal.dtsi"
Keerthy667f2592016-02-08 14:46:30 +05301138 #include "dra7-dspeve-thermal.dtsi"
1139 #include "dra7-iva-thermal.dtsi"
Keerthyf7397ed2015-03-23 14:39:38 -05001140 };
1141
1142};
1143
1144&cpu_thermal {
1145 polling-delay = <500>; /* milliseconds */
Keerthyfb51ae02017-03-09 13:35:56 +05301146 coefficients = <0 2000>;
1147};
1148
1149&gpu_thermal {
1150 coefficients = <0 2000>;
1151};
1152
1153&core_thermal {
1154 coefficients = <0 2000>;
1155};
1156
1157&dspeve_thermal {
1158 coefficients = <0 2000>;
1159};
1160
1161&iva_thermal {
1162 coefficients = <0 2000>;
R Sricharan6e58b8f2013-08-14 19:08:20 +05301163};
Tero Kristoee6c7502013-07-18 17:18:33 +03001164
Ravikumar Kattekolabca52382017-05-17 06:51:38 -07001165&cpu_crit {
1166 temperature = <120000>; /* milli Celsius */
1167};
1168
Ravikumar Kattekola64c358b2018-01-11 21:45:39 +05301169&core_crit {
1170 temperature = <120000>; /* milli Celsius */
1171};
1172
1173&gpu_crit {
1174 temperature = <120000>; /* milli Celsius */
1175};
1176
1177&dspeve_crit {
1178 temperature = <120000>; /* milli Celsius */
1179};
1180
1181&iva_crit {
1182 temperature = <120000>; /* milli Celsius */
1183};
Tony Lindgren4ed0dfe2018-09-27 13:39:07 -07001184
1185#include "dra7-l4.dtsi"
1186#include "dra7xx-clocks.dtsi"
Tero Kristodb7725d2019-10-10 11:21:04 +03001187
1188&prm {
Tero Kristo1021b372020-11-11 15:57:20 +02001189 prm_mpu: prm@300 {
1190 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1191 reg = <0x300 0x100>;
1192 #power-domain-cells = <0>;
1193 };
1194
Tero Kristodb7725d2019-10-10 11:21:04 +03001195 prm_dsp1: prm@400 {
1196 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1197 reg = <0x400 0x100>;
1198 #reset-cells = <1>;
Tero Kristo1021b372020-11-11 15:57:20 +02001199 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001200 };
1201
1202 prm_ipu: prm@500 {
1203 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1204 reg = <0x500 0x100>;
1205 #reset-cells = <1>;
Tero Kristo1021b372020-11-11 15:57:20 +02001206 #power-domain-cells = <0>;
1207 };
1208
1209 prm_coreaon: prm@628 {
1210 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1211 reg = <0x628 0xd8>;
1212 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001213 };
1214
1215 prm_core: prm@700 {
1216 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1217 reg = <0x700 0x100>;
1218 #reset-cells = <1>;
Tero Kristo1021b372020-11-11 15:57:20 +02001219 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001220 };
1221
1222 prm_iva: prm@f00 {
1223 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1224 reg = <0xf00 0x100>;
Tony Lindgrenae57d152020-11-12 11:57:03 +02001225 #reset-cells = <1>;
Tero Kristo1021b372020-11-11 15:57:20 +02001226 #power-domain-cells = <0>;
1227 };
1228
1229 prm_cam: prm@1000 {
1230 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1231 reg = <0x1000 0x100>;
1232 #power-domain-cells = <0>;
1233 };
1234
1235 prm_dss: prm@1100 {
1236 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1237 reg = <0x1100 0x100>;
1238 #power-domain-cells = <0>;
1239 };
1240
1241 prm_gpu: prm@1200 {
1242 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1243 reg = <0x1200 0x100>;
1244 #power-domain-cells = <0>;
1245 };
1246
1247 prm_l3init: prm@1300 {
1248 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1249 reg = <0x1300 0x100>;
1250 #reset-cells = <1>;
1251 #power-domain-cells = <0>;
1252 };
1253
1254 prm_l4per: prm@1400 {
1255 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1256 reg = <0x1400 0x100>;
1257 #power-domain-cells = <0>;
1258 };
1259
1260 prm_custefuse: prm@1600 {
1261 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1262 reg = <0x1600 0x100>;
1263 #power-domain-cells = <0>;
1264 };
1265
1266 prm_wkupaon: prm@1724 {
1267 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1268 reg = <0x1724 0x100>;
1269 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001270 };
1271
1272 prm_dsp2: prm@1b00 {
1273 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1274 reg = <0x1b00 0x40>;
1275 #reset-cells = <1>;
Tero Kristo1021b372020-11-11 15:57:20 +02001276 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001277 };
1278
1279 prm_eve1: prm@1b40 {
1280 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1281 reg = <0x1b40 0x40>;
Tero Kristo1021b372020-11-11 15:57:20 +02001282 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001283 };
1284
1285 prm_eve2: prm@1b80 {
1286 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1287 reg = <0x1b80 0x40>;
Tero Kristo1021b372020-11-11 15:57:20 +02001288 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001289 };
1290
1291 prm_eve3: prm@1bc0 {
1292 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1293 reg = <0x1bc0 0x40>;
Tero Kristo1021b372020-11-11 15:57:20 +02001294 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001295 };
1296
1297 prm_eve4: prm@1c00 {
1298 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1299 reg = <0x1c00 0x60>;
Tero Kristo1021b372020-11-11 15:57:20 +02001300 #power-domain-cells = <0>;
1301 };
1302
1303 prm_rtc: prm@1c60 {
1304 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1305 reg = <0x1c60 0x20>;
1306 #power-domain-cells = <0>;
1307 };
1308
1309 prm_vpe: prm@1c80 {
1310 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1311 reg = <0x1c80 0x80>;
1312 #power-domain-cells = <0>;
Tero Kristodb7725d2019-10-10 11:21:04 +03001313 };
1314};
Tony Lindgren036a3d42020-05-07 09:59:31 -07001315
1316/* Preferred always-on timer for clockevent */
1317&timer1_target {
1318 ti,no-reset-on-init;
1319 ti,no-idle;
1320 timer@0 {
1321 assigned-clocks = <&wkupaon_clkctrl DRA7_TIMER1_CLKCTRL 24>;
1322 assigned-clock-parents = <&sys_32k_ck>;
1323 };
1324};