blob: 6d8edb51a897fa64956de5fe25a0594adf066de4 [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001// SPDX-License-Identifier: GPL-2.0-only
Benoit Coussond9fda072011-08-09 17:15:17 +02002/*
3 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
Benoit Coussond9fda072011-08-09 17:15:17 +02004 */
5
Tony Lindgrene14d7e52018-01-11 16:04:03 -08006#include <dt-bindings/bus/ti-sysc.h>
7#include <dt-bindings/clock/omap4.h>
Florian Vaussard6d624ea2013-05-31 14:32:56 +02008#include <dt-bindings/gpio/gpio.h>
Florian Vaussard8fea7d52013-05-31 14:32:57 +02009#include <dt-bindings/interrupt-controller/arm-gic.h>
Florian Vaussardbcd3cca2013-05-31 14:32:59 +020010#include <dt-bindings/pinctrl/omap.h>
Tero Kristoa5c82a02017-12-08 17:17:27 +020011#include <dt-bindings/clock/omap4.h>
Benoit Coussond9fda072011-08-09 17:15:17 +020012
Benoit Coussond9fda072011-08-09 17:15:17 +020013/ {
14 compatible = "ti,omap4430", "ti,omap4";
Marc Zyngier7136d452015-03-11 15:43:49 +000015 interrupt-parent = <&wakeupgen>;
Javier Martinez Canillasda6269e2016-08-31 12:35:19 +020016 #address-cells = <1>;
17 #size-cells = <1>;
Javier Martinez Canillas6c565d12016-12-19 11:44:35 -030018 chosen { };
Benoit Coussond9fda072011-08-09 17:15:17 +020019
20 aliases {
Nishanth Menon20b80942013-10-16 15:21:03 -050021 i2c0 = &i2c1;
22 i2c1 = &i2c2;
23 i2c2 = &i2c3;
24 i2c3 = &i2c4;
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +053025 serial0 = &uart1;
26 serial1 = &uart2;
27 serial2 = &uart3;
28 serial3 = &uart4;
Benoit Coussond9fda072011-08-09 17:15:17 +020029 };
30
Benoit Cousson476b6792011-08-16 11:49:08 +020031 cpus {
Lorenzo Pieralisieeb25fd2013-04-18 18:35:59 +010032 #address-cells = <1>;
33 #size-cells = <0>;
34
Benoit Cousson476b6792011-08-16 11:49:08 +020035 cpu@0 {
36 compatible = "arm,cortex-a9";
Lorenzo Pieralisieeb25fd2013-04-18 18:35:59 +010037 device_type = "cpu";
Santosh Shilimkar926fd452012-07-04 17:57:34 +053038 next-level-cache = <&L2>;
Lorenzo Pieralisieeb25fd2013-04-18 18:35:59 +010039 reg = <0x0>;
Nishanth Menon8d766fa2014-01-29 12:19:17 -060040
41 clocks = <&dpll_mpu_ck>;
42 clock-names = "cpu";
43
44 clock-latency = <300000>; /* From omap-cpufreq driver */
Benoit Cousson476b6792011-08-16 11:49:08 +020045 };
46 cpu@1 {
47 compatible = "arm,cortex-a9";
Lorenzo Pieralisieeb25fd2013-04-18 18:35:59 +010048 device_type = "cpu";
Santosh Shilimkar926fd452012-07-04 17:57:34 +053049 next-level-cache = <&L2>;
Lorenzo Pieralisieeb25fd2013-04-18 18:35:59 +010050 reg = <0x1>;
Benoit Cousson476b6792011-08-16 11:49:08 +020051 };
52 };
53
Tony Lindgrenb0142a12017-08-30 08:19:38 -070054 /*
55 * Note that 4430 needs cross trigger interface (CTI) supported
56 * before we can configure the interrupts. This means sampling
57 * events are not supported for pmu. Note that 4460 does not use
58 * CTI, see also 4460.dtsi.
59 */
60 pmu {
61 compatible = "arm,cortex-a9-pmu";
62 ti,hwmods = "debugss";
63 };
64
Benoit Cousson56351212012-09-03 17:56:32 +020065 gic: interrupt-controller@48241000 {
66 compatible = "arm,cortex-a9-gic";
67 interrupt-controller;
68 #interrupt-cells = <3>;
69 reg = <0x48241000 0x1000>,
70 <0x48240100 0x0100>;
Marc Zyngier7136d452015-03-11 15:43:49 +000071 interrupt-parent = <&gic>;
Benoit Cousson56351212012-09-03 17:56:32 +020072 };
73
Santosh Shilimkar926fd452012-07-04 17:57:34 +053074 L2: l2-cache-controller@48242000 {
75 compatible = "arm,pl310-cache";
76 reg = <0x48242000 0x1000>;
77 cache-unified;
78 cache-level = <2>;
79 };
80
Lee Jones75d71d42013-07-22 11:52:36 +010081 local-timer@48240600 {
Santosh Shilimkareed0de22012-07-04 18:32:32 +053082 compatible = "arm,cortex-a9-twd-timer";
Gilles Chanteperdrix23c47372014-04-07 22:05:39 +020083 clocks = <&mpu_periphclk>;
Santosh Shilimkareed0de22012-07-04 18:32:32 +053084 reg = <0x48240600 0x20>;
Jon Hunter6b472572016-03-17 14:19:06 +000085 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_RAW(3) | IRQ_TYPE_EDGE_RISING)>;
Marc Zyngier7136d452015-03-11 15:43:49 +000086 interrupt-parent = <&gic>;
87 };
88
89 wakeupgen: interrupt-controller@48281000 {
90 compatible = "ti,omap4-wugen-mpu";
91 interrupt-controller;
92 #interrupt-cells = <3>;
93 reg = <0x48281000 0x1000>;
94 interrupt-parent = <&gic>;
Santosh Shilimkareed0de22012-07-04 18:32:32 +053095 };
96
Benoit Coussond9fda072011-08-09 17:15:17 +020097 /*
Geert Uytterhoeven5c5be9d2014-03-28 11:11:37 +010098 * The soc node represents the soc top level view. It is used for IPs
Benoit Coussond9fda072011-08-09 17:15:17 +020099 * that are not memory mapped in the MPU view or for the MPU itself.
100 */
101 soc {
102 compatible = "ti,omap-infra";
Benoit Cousson476b6792011-08-16 11:49:08 +0200103 mpu {
104 compatible = "ti,omap4-mpu";
105 ti,hwmods = "mpu";
Rajendra Nayak1306c082014-09-10 11:04:04 -0500106 sram = <&ocmcram>;
Benoit Cousson476b6792011-08-16 11:49:08 +0200107 };
108
109 dsp {
110 compatible = "ti,omap3-c64";
111 ti,hwmods = "dsp";
112 };
113
114 iva {
115 compatible = "ti,ivahd";
116 ti,hwmods = "iva";
117 };
Benoit Coussond9fda072011-08-09 17:15:17 +0200118 };
119
120 /*
121 * XXX: Use a flat representation of the OMAP4 interconnect.
122 * The real OMAP interconnect network is quite complex.
Geert Uytterhoevenb7ab5242014-03-28 11:11:39 +0100123 * Since it will not bring real advantage to represent that in DT for
Benoit Coussond9fda072011-08-09 17:15:17 +0200124 * the moment, just use a fake OCP bus entry to represent the whole bus
125 * hierarchy.
126 */
127 ocp {
Benoit Coussonad8dfac2011-08-12 13:48:47 +0200128 compatible = "ti,omap4-l3-noc", "simple-bus";
Benoit Coussond9fda072011-08-09 17:15:17 +0200129 #address-cells = <1>;
130 #size-cells = <1>;
131 ranges;
Benoit Coussonad8dfac2011-08-12 13:48:47 +0200132 ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3";
Santosh Shilimkar20a60ea2013-02-26 17:36:14 +0530133 reg = <0x44000000 0x1000>,
134 <0x44800000 0x2000>,
135 <0x45000000 0x1000>;
Florian Vaussard8fea7d52013-05-31 14:32:57 +0200136 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
137 <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
Benoit Coussond9fda072011-08-09 17:15:17 +0200138
Tony Lindgren84badc52018-07-05 23:19:37 -0700139 l4_wkup: interconnect@4a300000 {
140 };
Tony Lindgren679e3312012-09-10 10:34:51 -0700141
Tony Lindgren84badc52018-07-05 23:19:37 -0700142 l4_cfg: interconnect@4a000000 {
143 };
Balaji T Kcd042fe2014-02-19 20:26:40 +0530144
Tony Lindgren84badc52018-07-05 23:19:37 -0700145 l4_per: interconnect@48000000 {
Balaji T Kcd042fe2014-02-19 20:26:40 +0530146 };
147
Tony Lindgren5b597532019-04-09 09:00:53 -0700148 l4_abe: interconnect@40100000 {
149 };
150
Krzysztof Kozlowskice8739d2019-10-02 18:43:16 +0200151 ocmcram: sram@40304000 {
Rajendra Nayak8b9a2812014-09-10 11:04:03 -0500152 compatible = "mmio-sram";
153 reg = <0x40304000 0xa000>; /* 40k */
154 };
155
Jon Hunter1c7dbb52013-02-22 15:33:31 -0600156 gpmc: gpmc@50000000 {
157 compatible = "ti,omap4430-gpmc";
158 reg = <0x50000000 0x1000>;
159 #address-cells = <2>;
160 #size-cells = <1>;
Florian Vaussard8fea7d52013-05-31 14:32:57 +0200161 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
Franklin S Cooper Jr201c7e32015-10-15 12:37:27 -0500162 dmas = <&sdma 4>;
163 dma-names = "rxtx";
Jon Hunter1c7dbb52013-02-22 15:33:31 -0600164 gpmc,num-cs = <8>;
165 gpmc,num-waitpins = <4>;
166 ti,hwmods = "gpmc";
Rajendra Nayakf12ecbe22013-10-15 12:37:50 +0530167 ti,no-idle-on-init;
Florian Vaussard7b8b6af2014-02-26 11:38:09 +0100168 clocks = <&l3_div_ck>;
169 clock-names = "fck";
Roger Quadros8c75b762016-04-07 13:25:29 +0300170 interrupt-controller;
171 #interrupt-cells = <2>;
172 gpio-controller;
173 #gpio-cells = <2>;
Jon Hunter1c7dbb52013-02-22 15:33:31 -0600174 };
175
Tony Lindgrend23a1632017-10-10 14:14:50 -0700176 target-module@52000000 {
Tony Lindgrenfeffce12017-12-13 16:36:47 -0800177 compatible = "ti,sysc-omap4", "ti,sysc";
Tony Lindgrend23a1632017-10-10 14:14:50 -0700178 ti,hwmods = "iss";
179 reg = <0x52000000 0x4>,
180 <0x52000010 0x4>;
181 reg-names = "rev", "sysc";
Tony Lindgrene14d7e52018-01-11 16:04:03 -0800182 ti,sysc-mask = <SYSC_OMAP4_SOFTRESET>;
183 ti,sysc-midle = <SYSC_IDLE_FORCE>,
184 <SYSC_IDLE_NO>,
185 <SYSC_IDLE_SMART>,
186 <SYSC_IDLE_SMART_WKUP>;
187 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
188 <SYSC_IDLE_NO>,
189 <SYSC_IDLE_SMART>,
190 <SYSC_IDLE_SMART_WKUP>;
191 ti,sysc-delay-us = <2>;
192 clocks = <&iss_clkctrl OMAP4_ISS_CLKCTRL 0>;
193 clock-names = "fck";
Tony Lindgrend23a1632017-10-10 14:14:50 -0700194 #address-cells = <1>;
195 #size-cells = <1>;
196 ranges = <0 0x52000000 0x1000000>;
197
198 /* No child device binding, driver in staging */
199 };
200
Tero Kristo22f8d662019-12-12 14:51:20 +0200201 target-module@55082000 {
202 compatible = "ti,sysc-omap2", "ti,sysc";
203 reg = <0x55082000 0x4>,
204 <0x55082010 0x4>,
205 <0x55082014 0x4>;
206 reg-names = "rev", "sysc", "syss";
207 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
208 <SYSC_IDLE_NO>,
209 <SYSC_IDLE_SMART>;
210 ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
211 SYSC_OMAP2_SOFTRESET |
212 SYSC_OMAP2_AUTOIDLE)>;
213 clocks = <&ducati_clkctrl OMAP4_IPU_CLKCTRL 0>;
214 clock-names = "fck";
215 resets = <&prm_core 2>;
216 reset-names = "rstctrl";
217 ranges = <0x0 0x55082000 0x100>;
218 #size-cells = <1>;
219 #address-cells = <1>;
220
221 mmu_ipu: mmu@0 {
222 compatible = "ti,omap4-iommu";
223 reg = <0x0 0x100>;
224 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
225 #iommu-cells = <0>;
226 ti,iommu-bus-err-back;
227 };
Florian Vaussard21bd85a2014-03-05 18:24:18 -0600228 };
Tero Kristo22f8d662019-12-12 14:51:20 +0200229
Tony Lindgrend23a1632017-10-10 14:14:50 -0700230 target-module@4012c000 {
Tony Lindgrenfeffce12017-12-13 16:36:47 -0800231 compatible = "ti,sysc-omap4", "ti,sysc";
Tony Lindgrend23a1632017-10-10 14:14:50 -0700232 reg = <0x4012c000 0x4>,
233 <0x4012c010 0x4>;
234 reg-names = "rev", "sysc";
Tony Lindgrene14d7e52018-01-11 16:04:03 -0800235 ti,sysc-mask = <SYSC_OMAP4_SOFTRESET>;
236 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
237 <SYSC_IDLE_NO>,
238 <SYSC_IDLE_SMART>,
239 <SYSC_IDLE_SMART_WKUP>;
240 clocks = <&abe_clkctrl OMAP4_SLIMBUS1_CLKCTRL 0>;
241 clock-names = "fck";
Tony Lindgrend23a1632017-10-10 14:14:50 -0700242 #address-cells = <1>;
243 #size-cells = <1>;
244 ranges = <0x00000000 0x4012c000 0x1000>, /* MPU */
245 <0x4902c000 0x4902c000 0x1000>; /* L3 */
246
247 /* No child device binding or driver in mainline */
248 };
249
Archit Taneja1a5fe3c2013-12-17 15:32:21 +0530250 dmm@4e000000 {
251 compatible = "ti,omap4-dmm";
252 reg = <0x4e000000 0x800>;
253 interrupts = <0 113 0x4>;
254 ti,hwmods = "dmm";
255 };
256
Aneesh V11c27062012-01-20 20:35:26 +0530257 emif1: emif@4c000000 {
258 compatible = "ti,emif-4d";
Benoit Cousson48420db2012-09-05 11:38:23 +0200259 reg = <0x4c000000 0x100>;
Florian Vaussard8fea7d52013-05-31 14:32:57 +0200260 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
Aneesh V11c27062012-01-20 20:35:26 +0530261 ti,hwmods = "emif1";
Rajendra Nayakf12ecbe22013-10-15 12:37:50 +0530262 ti,no-idle-on-init;
Aneesh V11c27062012-01-20 20:35:26 +0530263 phy-type = <1>;
264 hw-caps-read-idle-ctrl;
265 hw-caps-ll-interface;
266 hw-caps-temp-alert;
267 };
268
269 emif2: emif@4d000000 {
270 compatible = "ti,emif-4d";
Benoit Cousson48420db2012-09-05 11:38:23 +0200271 reg = <0x4d000000 0x100>;
Florian Vaussard8fea7d52013-05-31 14:32:57 +0200272 interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
Aneesh V11c27062012-01-20 20:35:26 +0530273 ti,hwmods = "emif2";
Rajendra Nayakf12ecbe22013-10-15 12:37:50 +0530274 ti,no-idle-on-init;
Aneesh V11c27062012-01-20 20:35:26 +0530275 phy-type = <1>;
276 hw-caps-read-idle-ctrl;
277 hw-caps-ll-interface;
278 hw-caps-temp-alert;
279 };
Linus Torvalds8f446a72012-10-01 18:46:13 -0700280
Tony Lindgren316a4182019-12-12 09:46:12 -0800281 aes1_target: target-module@4b501000 {
282 compatible = "ti,sysc-omap2", "ti,sysc";
Tony Lindgren316a4182019-12-12 09:46:12 -0800283 reg = <0x4b501080 0x4>,
284 <0x4b501084 0x4>,
285 <0x4b501088 0x4>;
286 reg-names = "rev", "sysc", "syss";
287 ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
288 SYSC_OMAP2_AUTOIDLE)>;
289 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
290 <SYSC_IDLE_NO>,
291 <SYSC_IDLE_SMART>,
292 <SYSC_IDLE_SMART_WKUP>;
293 ti,syss-mask = <1>;
294 /* Domains (P, C): l4per_pwrdm, l4_secure_clkdm */
295 clocks = <&l4_secure_clkctrl OMAP4_AES1_CLKCTRL 0>;
296 clock-names = "fck";
297 #address-cells = <1>;
298 #size-cells = <1>;
299 ranges = <0x0 0x4b501000 0x1000>;
300
301 aes1: aes@0 {
302 compatible = "ti,omap4-aes";
303 reg = <0 0xa0>;
304 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
305 dmas = <&sdma 111>, <&sdma 110>;
306 dma-names = "tx", "rx";
307 };
Joel Fernandesdd6317d2013-07-11 18:20:05 -0500308 };
Joel Fernandes806e9432013-09-24 15:23:33 -0500309
Tony Lindgren316a4182019-12-12 09:46:12 -0800310 aes2_target: target-module@4b701000 {
311 compatible = "ti,sysc-omap2", "ti,sysc";
Tony Lindgren316a4182019-12-12 09:46:12 -0800312 reg = <0x4b701080 0x4>,
313 <0x4b701084 0x4>,
314 <0x4b701088 0x4>;
315 reg-names = "rev", "sysc", "syss";
316 ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
317 SYSC_OMAP2_AUTOIDLE)>;
318 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
319 <SYSC_IDLE_NO>,
320 <SYSC_IDLE_SMART>,
321 <SYSC_IDLE_SMART_WKUP>;
322 ti,syss-mask = <1>;
323 /* Domains (P, C): l4per_pwrdm, l4_secure_clkdm */
324 clocks = <&l4_secure_clkctrl OMAP4_AES2_CLKCTRL 0>;
325 clock-names = "fck";
326 #address-cells = <1>;
327 #size-cells = <1>;
328 ranges = <0x0 0x4b701000 0x1000>;
329
330 aes2: aes@0 {
331 compatible = "ti,omap4-aes";
332 reg = <0 0xa0>;
333 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
334 dmas = <&sdma 114>, <&sdma 113>;
335 dma-names = "tx", "rx";
336 };
Tero Kristoc6faccf2017-06-13 16:45:48 +0300337 };
338
Tony Lindgren18c48e62019-12-12 09:46:12 -0800339 sham_target: target-module@4b100000 {
340 compatible = "ti,sysc-omap3-sham", "ti,sysc";
Tony Lindgren18c48e62019-12-12 09:46:12 -0800341 reg = <0x4b100100 0x4>,
342 <0x4b100110 0x4>,
343 <0x4b100114 0x4>;
344 reg-names = "rev", "sysc", "syss";
345 ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
346 SYSC_OMAP2_AUTOIDLE)>;
347 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
348 <SYSC_IDLE_NO>,
349 <SYSC_IDLE_SMART>;
350 ti,syss-mask = <1>;
351 /* Domains (P, C): l4per_pwrdm, l4_secure_clkdm */
352 clocks = <&l4_secure_clkctrl OMAP4_SHA2MD5_CLKCTRL 0>;
353 clock-names = "fck";
354 #address-cells = <1>;
355 #size-cells = <1>;
356 ranges = <0x0 0x4b100000 0x1000>;
Andrii.Tseglytskyie12c7732014-03-03 20:20:22 +0530357
Tony Lindgren18c48e62019-12-12 09:46:12 -0800358 sham: sham@0 {
359 compatible = "ti,omap4-sham";
360 reg = <0 0x300>;
361 interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
362 dmas = <&sdma 119>;
363 dma-names = "rx";
364 };
Tero Kristo45f1d5e2017-06-13 16:45:49 +0300365 };
366
Andrii.Tseglytskyie12c7732014-03-03 20:20:22 +0530367 abb_mpu: regulator-abb-mpu {
368 compatible = "ti,abb-v2";
369 regulator-name = "abb_mpu";
370 #address-cells = <0>;
371 #size-cells = <0>;
372 ti,tranxdone-status-mask = <0x80>;
373 clocks = <&sys_clkin_ck>;
374 ti,settling-time = <50>;
375 ti,clock-cycles = <16>;
376
377 status = "disabled";
378 };
379
380 abb_iva: regulator-abb-iva {
381 compatible = "ti,abb-v2";
382 regulator-name = "abb_iva";
383 #address-cells = <0>;
384 #size-cells = <0>;
385 ti,tranxdone-status-mask = <0x80000000>;
386 clocks = <&sys_clkin_ck>;
387 ti,settling-time = <50>;
388 ti,clock-cycles = <16>;
389
390 status = "disabled";
391 };
Tomi Valkeinencfe86fc2012-08-21 15:34:50 +0300392
Tony Lindgrend23a1632017-10-10 14:14:50 -0700393 target-module@56000000 {
Tony Lindgrenfeffce12017-12-13 16:36:47 -0800394 compatible = "ti,sysc-omap4", "ti,sysc";
Tony Lindgren3e5c3c42019-11-24 09:43:16 -0800395 reg = <0x5600fe00 0x4>,
396 <0x5600fe10 0x4>;
Tony Lindgrend23a1632017-10-10 14:14:50 -0700397 reg-names = "rev", "sysc";
Tony Lindgrene14d7e52018-01-11 16:04:03 -0800398 ti,sysc-midle = <SYSC_IDLE_FORCE>,
399 <SYSC_IDLE_NO>,
400 <SYSC_IDLE_SMART>,
401 <SYSC_IDLE_SMART_WKUP>;
402 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
403 <SYSC_IDLE_NO>,
404 <SYSC_IDLE_SMART>,
405 <SYSC_IDLE_SMART_WKUP>;
406 clocks = <&l3_gfx_clkctrl OMAP4_GPU_CLKCTRL 0>;
407 clock-names = "fck";
Tony Lindgrend23a1632017-10-10 14:14:50 -0700408 #address-cells = <1>;
409 #size-cells = <1>;
410 ranges = <0 0x56000000 0x2000000>;
411
412 /*
413 * Closed source PowerVR driver, no child device
414 * binding or driver in mainline
415 */
416 };
417
Tony Lindgren63b34412020-03-04 08:10:37 -0800418 /*
419 * DSS is only using l3 mapping without l4 as noted in the TRM
420 * "10.1.3 DSS Register Manual" for omap4460.
421 */
422 target-module@58000000 {
423 compatible = "ti,sysc-omap2", "ti,sysc";
Tomi Valkeinencfe86fc2012-08-21 15:34:50 +0300424 ti,hwmods = "dss_core";
Tony Lindgren63b34412020-03-04 08:10:37 -0800425 reg = <0x58000000 4>,
426 <0x58000014 4>;
427 reg-names = "rev", "syss";
428 ti,syss-mask = <1>;
429 clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 0>,
430 <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 9>,
431 <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 10>,
432 <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 11>;
433 clock-names = "fck", "hdmi_clk", "sys_clk", "tv_clk";
Tomi Valkeinencfe86fc2012-08-21 15:34:50 +0300434 #address-cells = <1>;
435 #size-cells = <1>;
Tony Lindgren63b34412020-03-04 08:10:37 -0800436 ranges = <0 0x58000000 0x1000000>;
Tomi Valkeinencfe86fc2012-08-21 15:34:50 +0300437
Tony Lindgren63b34412020-03-04 08:10:37 -0800438 dss: dss@0 {
439 compatible = "ti,omap4-dss";
440 reg = <0 0x80>;
441 status = "disabled";
Tero Kristoa5c82a02017-12-08 17:17:27 +0200442 clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 8>;
Tomi Valkeinencfe86fc2012-08-21 15:34:50 +0300443 clock-names = "fck";
Tony Lindgren63b34412020-03-04 08:10:37 -0800444 #address-cells = <1>;
445 #size-cells = <1>;
446 ranges = <0 0 0x1000000>;
Tomi Valkeinencfe86fc2012-08-21 15:34:50 +0300447
Tony Lindgren63b34412020-03-04 08:10:37 -0800448 dispc@1000 {
449 compatible = "ti,omap4-dispc";
450 reg = <0x1000 0x1000>;
451 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
452 ti,hwmods = "dss_dispc";
453 clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 8>;
454 clock-names = "fck";
455 };
Tomi Valkeinencfe86fc2012-08-21 15:34:50 +0300456
Tony Lindgren63b34412020-03-04 08:10:37 -0800457 rfbi: encoder@2000 {
458 compatible = "ti,omap4-rfbi";
459 reg = <0x2000 0x1000>;
460 status = "disabled";
461 ti,hwmods = "dss_rfbi";
462 clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 8>, <&l3_div_ck>;
463 clock-names = "fck", "ick";
464 };
Tomi Valkeinencfe86fc2012-08-21 15:34:50 +0300465
Tony Lindgren63b34412020-03-04 08:10:37 -0800466 venc: encoder@3000 {
467 compatible = "ti,omap4-venc";
468 reg = <0x3000 0x1000>;
469 status = "disabled";
470 ti,hwmods = "dss_venc";
471 clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 11>;
472 clock-names = "fck";
473 };
Tomi Valkeinencfe86fc2012-08-21 15:34:50 +0300474
Tony Lindgren63b34412020-03-04 08:10:37 -0800475 dsi1: encoder@4000 {
476 compatible = "ti,omap4-dsi";
477 reg = <0x4000 0x200>,
478 <0x4200 0x40>,
479 <0x4300 0x20>;
480 reg-names = "proto", "phy", "pll";
481 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
482 status = "disabled";
483 ti,hwmods = "dss_dsi1";
484 clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 8>,
485 <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 10>;
486 clock-names = "fck", "sys_clk";
487 };
Tomi Valkeinencfe86fc2012-08-21 15:34:50 +0300488
Tony Lindgren63b34412020-03-04 08:10:37 -0800489 dsi2: encoder@5000 {
490 compatible = "ti,omap4-dsi";
491 reg = <0x5000 0x200>,
492 <0x5200 0x40>,
493 <0x5300 0x20>;
494 reg-names = "proto", "phy", "pll";
495 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
496 status = "disabled";
497 ti,hwmods = "dss_dsi2";
498 clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 8>,
499 <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 10>;
500 clock-names = "fck", "sys_clk";
501 };
502
503 hdmi: encoder@6000 {
504 compatible = "ti,omap4-hdmi";
505 reg = <0x6000 0x200>,
506 <0x6200 0x100>,
507 <0x6300 0x100>,
508 <0x6400 0x1000>;
509 reg-names = "wp", "pll", "phy", "core";
510 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
511 status = "disabled";
512 ti,hwmods = "dss_hdmi";
513 clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 9>,
514 <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 10>;
515 clock-names = "fck", "sys_clk";
516 dmas = <&sdma 76>;
517 dma-names = "audio_tx";
518 };
Tomi Valkeinencfe86fc2012-08-21 15:34:50 +0300519 };
520 };
Benoit Coussond9fda072011-08-09 17:15:17 +0200521 };
522};
Tero Kristo2488ff62013-07-18 12:42:02 +0300523
Tony Lindgren84badc52018-07-05 23:19:37 -0700524#include "omap4-l4.dtsi"
Tony Lindgren5b597532019-04-09 09:00:53 -0700525#include "omap4-l4-abe.dtsi"
Tero Kristoa5c82a02017-12-08 17:17:27 +0200526#include "omap44xx-clocks.dtsi"
Tero Kristo222fe592019-10-10 11:21:05 +0300527
528&prm {
529 prm_tesla: prm@400 {
530 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
531 reg = <0x400 0x100>;
532 #reset-cells = <1>;
533 };
534
535 prm_core: prm@700 {
536 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
537 reg = <0x700 0x100>;
538 #reset-cells = <1>;
539 };
540
541 prm_ivahd: prm@f00 {
542 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
543 reg = <0xf00 0x100>;
544 #reset-cells = <1>;
545 };
546
547 prm_device: prm@1b00 {
548 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
549 reg = <0x1b00 0x40>;
550 #reset-cells = <1>;
551 };
552};