xref: /linux/arch/arm/boot/dts/ti/omap/omap5.dtsi (revision 4b660dbd9ee2059850fd30e0df420ca7a38a1856)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
4 *
5 * Based on "omap4.dtsi"
6 */
7
8#include <dt-bindings/bus/ti-sysc.h>
9#include <dt-bindings/gpio/gpio.h>
10#include <dt-bindings/interrupt-controller/arm-gic.h>
11#include <dt-bindings/pinctrl/omap.h>
12#include <dt-bindings/clock/omap5.h>
13
14/ {
15	#address-cells = <2>;
16	#size-cells = <2>;
17
18	compatible = "ti,omap5";
19	interrupt-parent = <&wakeupgen>;
20	chosen { };
21
22	aliases {
23		i2c0 = &i2c1;
24		i2c1 = &i2c2;
25		i2c2 = &i2c3;
26		i2c3 = &i2c4;
27		i2c4 = &i2c5;
28		mmc0 = &mmc1;
29		mmc1 = &mmc2;
30		mmc2 = &mmc3;
31		mmc3 = &mmc4;
32		mmc4 = &mmc5;
33		serial0 = &uart1;
34		serial1 = &uart2;
35		serial2 = &uart3;
36		serial3 = &uart4;
37		serial4 = &uart5;
38		serial5 = &uart6;
39		rproc0 = &dsp;
40		rproc1 = &ipu;
41	};
42
43	cpus {
44		#address-cells = <1>;
45		#size-cells = <0>;
46
47		cpu0: cpu@0 {
48			device_type = "cpu";
49			compatible = "arm,cortex-a15";
50			reg = <0x0>;
51
52			operating-points = <
53				/* kHz    uV */
54				1000000 1060000
55				1500000 1250000
56			>;
57
58			clocks = <&dpll_mpu_ck>;
59			clock-names = "cpu";
60
61			clock-latency = <300000>; /* From omap-cpufreq driver */
62
63			/* cooling options */
64			#cooling-cells = <2>; /* min followed by max */
65		};
66		cpu@1 {
67			device_type = "cpu";
68			compatible = "arm,cortex-a15";
69			reg = <0x1>;
70
71			operating-points = <
72				/* kHz    uV */
73				1000000 1060000
74				1500000 1250000
75			>;
76
77			clocks = <&dpll_mpu_ck>;
78			clock-names = "cpu";
79
80			clock-latency = <300000>; /* From omap-cpufreq driver */
81
82			/* cooling options */
83			#cooling-cells = <2>; /* min followed by max */
84		};
85	};
86
87	thermal-zones {
88		#include "omap4-cpu-thermal.dtsi"
89		#include "omap5-gpu-thermal.dtsi"
90		#include "omap5-core-thermal.dtsi"
91	};
92
93	timer {
94		compatible = "arm,armv7-timer";
95		/* PPI secure/nonsecure IRQ */
96		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_RAW(3) | IRQ_TYPE_LEVEL_LOW)>,
97			     <GIC_PPI 14 (GIC_CPU_MASK_RAW(3) | IRQ_TYPE_LEVEL_LOW)>,
98			     <GIC_PPI 11 (GIC_CPU_MASK_RAW(3) | IRQ_TYPE_LEVEL_LOW)>,
99			     <GIC_PPI 10 (GIC_CPU_MASK_RAW(3) | IRQ_TYPE_LEVEL_LOW)>;
100		interrupt-parent = <&gic>;
101	};
102
103	pmu {
104		compatible = "arm,cortex-a15-pmu";
105		interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
106			     <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
107	};
108
109	/*
110	 * Needed early by omap4_sram_init() for barrier, do not move to l3
111	 * interconnect as simple-pm-bus probes at module_init() time.
112	 */
113	ocmcram: sram@40300000 {
114		compatible = "mmio-sram";
115		reg = <0 0x40300000 0 0x20000>; /* 128k */
116	};
117
118	gic: interrupt-controller@48211000 {
119		compatible = "arm,cortex-a15-gic";
120		interrupt-controller;
121		#interrupt-cells = <3>;
122		reg = <0 0x48211000 0 0x1000>,
123		      <0 0x48212000 0 0x2000>,
124		      <0 0x48214000 0 0x2000>,
125		      <0 0x48216000 0 0x2000>;
126		interrupt-parent = <&gic>;
127	};
128
129	wakeupgen: interrupt-controller@48281000 {
130		compatible = "ti,omap5-wugen-mpu", "ti,omap4-wugen-mpu";
131		interrupt-controller;
132		#interrupt-cells = <3>;
133		reg = <0 0x48281000 0 0x1000>;
134		interrupt-parent = <&gic>;
135	};
136
137	/*
138	 * XXX: Use a flat representation of the OMAP3 interconnect.
139	 * The real OMAP interconnect network is quite complex.
140	 * Since it will not bring real advantage to represent that in DT for
141	 * the moment, just use a fake OCP bus entry to represent the whole bus
142	 * hierarchy.
143	 */
144	ocp {
145		compatible = "simple-pm-bus";
146		power-domains = <&prm_core>;
147		clocks = <&l3main1_clkctrl OMAP5_L3_MAIN_1_CLKCTRL 0>,
148			 <&l3main2_clkctrl OMAP5_L3_MAIN_2_CLKCTRL 0>,
149			 <&l3instr_clkctrl OMAP5_L3_MAIN_3_CLKCTRL 0>;
150		#address-cells = <1>;
151		#size-cells = <1>;
152		ranges = <0 0 0 0xc0000000>;
153		dma-ranges = <0x80000000 0x0 0x80000000 0x80000000>;
154
155		l3-noc@44000000 {
156			compatible = "ti,omap5-l3-noc";
157			reg = <0x44000000 0x2000>,
158			      <0x44800000 0x3000>,
159			      <0x45000000 0x4000>;
160			interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
161				     <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
162		};
163
164		l4_wkup: interconnect@4ae00000 {
165		};
166
167		l4_cfg: interconnect@4a000000 {
168		};
169
170		l4_per: interconnect@48000000 {
171		};
172
173		target-module@48210000 {
174			compatible = "ti,sysc-omap4-simple", "ti,sysc";
175			power-domains = <&prm_mpu>;
176			clocks = <&mpu_clkctrl OMAP5_MPU_CLKCTRL 0>;
177			clock-names = "fck";
178			#address-cells = <1>;
179			#size-cells = <1>;
180			ranges = <0 0x48210000 0x1f0000>;
181
182			mpu {
183				compatible = "ti,omap4-mpu";
184				sram = <&ocmcram>;
185			};
186		};
187
188		l4_abe: interconnect@40100000 {
189		};
190
191		target-module@50000000 {
192			compatible = "ti,sysc-omap2", "ti,sysc";
193			reg = <0x50000000 4>,
194			      <0x50000010 4>,
195			      <0x50000014 4>;
196			reg-names = "rev", "sysc", "syss";
197			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
198					<SYSC_IDLE_NO>,
199					<SYSC_IDLE_SMART>;
200			ti,syss-mask = <1>;
201			ti,no-idle-on-init;
202			clocks = <&l3main2_clkctrl OMAP5_L3_MAIN_2_GPMC_CLKCTRL 0>;
203			clock-names = "fck";
204			#address-cells = <1>;
205			#size-cells = <1>;
206			ranges = <0x50000000 0x50000000 0x00001000>, /* regs */
207				 <0x00000000 0x00000000 0x40000000>; /* data */
208
209			gpmc: gpmc@50000000 {
210				compatible = "ti,omap4430-gpmc";
211				reg = <0x50000000 0x1000>;
212				#address-cells = <2>;
213				#size-cells = <1>;
214				interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
215				dmas = <&sdma 4>;
216				dma-names = "rxtx";
217				gpmc,num-cs = <8>;
218				gpmc,num-waitpins = <4>;
219				clock-names = "fck";
220				interrupt-controller;
221				#interrupt-cells = <2>;
222				gpio-controller;
223				#gpio-cells = <2>;
224			};
225		};
226
227		target-module@55082000 {
228			compatible = "ti,sysc-omap2", "ti,sysc";
229			reg = <0x55082000 0x4>,
230			      <0x55082010 0x4>,
231			      <0x55082014 0x4>;
232			reg-names = "rev", "sysc", "syss";
233			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
234					<SYSC_IDLE_NO>,
235					<SYSC_IDLE_SMART>;
236			ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
237					 SYSC_OMAP2_SOFTRESET |
238					 SYSC_OMAP2_AUTOIDLE)>;
239			clocks = <&ipu_clkctrl OMAP5_MMU_IPU_CLKCTRL 0>;
240			clock-names = "fck";
241			resets = <&prm_core 2>;
242			reset-names = "rstctrl";
243			ranges = <0x0 0x55082000 0x100>;
244			#size-cells = <1>;
245			#address-cells = <1>;
246
247			mmu_ipu: mmu@0 {
248				compatible = "ti,omap4-iommu";
249				reg = <0x0 0x100>;
250				interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
251				#iommu-cells = <0>;
252				ti,iommu-bus-err-back;
253			};
254		};
255
256		dsp: dsp {
257			compatible = "ti,omap5-dsp";
258			ti,bootreg = <&scm_conf 0x304 0>;
259			iommus = <&mmu_dsp>;
260			resets = <&prm_dsp 0>;
261			clocks = <&dsp_clkctrl OMAP5_MMU_DSP_CLKCTRL 0>;
262			firmware-name = "omap5-dsp-fw.xe64T";
263			mboxes = <&mailbox &mbox_dsp>;
264			status = "disabled";
265		};
266
267		ipu: ipu@55020000 {
268			compatible = "ti,omap5-ipu";
269			reg = <0x55020000 0x10000>;
270			reg-names = "l2ram";
271			iommus = <&mmu_ipu>;
272			resets = <&prm_core 0>, <&prm_core 1>;
273			clocks = <&ipu_clkctrl OMAP5_MMU_IPU_CLKCTRL 0>;
274			firmware-name = "omap5-ipu-fw.xem4";
275			mboxes = <&mailbox &mbox_ipu>;
276			status = "disabled";
277		};
278
279		target-module@4e000000 {
280			compatible = "ti,sysc-omap2", "ti,sysc";
281			reg = <0x4e000000 0x4>,
282			      <0x4e000010 0x4>;
283			reg-names = "rev", "sysc";
284			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
285					<SYSC_IDLE_NO>,
286					<SYSC_IDLE_SMART>;
287			ranges = <0x0 0x4e000000 0x2000000>;
288			#size-cells = <1>;
289			#address-cells = <1>;
290
291			dmm@0 {
292				compatible = "ti,omap5-dmm";
293				reg = <0 0x800>;
294				interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
295			};
296		};
297
298		target-module@4c000000 {
299			compatible = "ti,sysc-omap4-simple", "ti,sysc";
300			reg = <0x4c000000 0x4>;
301			reg-names = "rev";
302			clocks = <&emif_clkctrl OMAP5_EMIF1_CLKCTRL 0>;
303			clock-names = "fck";
304			ti,no-idle;
305			#address-cells = <1>;
306			#size-cells = <1>;
307			ranges = <0x0 0x4c000000 0x1000000>;
308
309			emif1: emif@0 {
310				compatible = "ti,emif-4d5";
311				reg = <0 0x400>;
312				interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
313				phy-type = <2>; /* DDR PHY type: Intelli PHY */
314				hw-caps-read-idle-ctrl;
315				hw-caps-ll-interface;
316				hw-caps-temp-alert;
317			};
318		};
319
320		target-module@4d000000 {
321			compatible = "ti,sysc-omap4-simple", "ti,sysc";
322			reg = <0x4d000000 0x4>;
323			reg-names = "rev";
324			clocks = <&emif_clkctrl OMAP5_EMIF2_CLKCTRL 0>;
325			clock-names = "fck";
326			ti,no-idle;
327			#address-cells = <1>;
328			#size-cells = <1>;
329			ranges = <0x0 0x4d000000 0x1000000>;
330
331			emif2: emif@0 {
332				compatible = "ti,emif-4d5";
333				reg = <0 0x400>;
334				interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
335				phy-type = <2>; /* DDR PHY type: Intelli PHY */
336				hw-caps-read-idle-ctrl;
337				hw-caps-ll-interface;
338				hw-caps-temp-alert;
339			};
340		};
341
342		aes1_target: target-module@4b501000 {
343			compatible = "ti,sysc-omap2", "ti,sysc";
344			reg = <0x4b501080 0x4>,
345			      <0x4b501084 0x4>,
346			      <0x4b501088 0x4>;
347			reg-names = "rev", "sysc", "syss";
348			ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
349					 SYSC_OMAP2_AUTOIDLE)>;
350			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
351					<SYSC_IDLE_NO>,
352					<SYSC_IDLE_SMART>,
353					<SYSC_IDLE_SMART_WKUP>;
354			ti,syss-mask = <1>;
355			/* Domains (P, C): l4per_pwrdm, l4sec_clkdm */
356			clocks = <&l4sec_clkctrl OMAP5_AES1_CLKCTRL 0>;
357			clock-names = "fck";
358			#address-cells = <1>;
359			#size-cells = <1>;
360			ranges = <0x0 0x4b501000 0x1000>;
361
362			aes1: aes@0 {
363				compatible = "ti,omap4-aes";
364				reg = <0 0xa0>;
365				interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
366				dmas = <&sdma 111>, <&sdma 110>;
367				dma-names = "tx", "rx";
368			};
369		};
370
371		aes2_target: target-module@4b701000 {
372			compatible = "ti,sysc-omap2", "ti,sysc";
373			reg = <0x4b701080 0x4>,
374			      <0x4b701084 0x4>,
375			      <0x4b701088 0x4>;
376			reg-names = "rev", "sysc", "syss";
377			ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
378					 SYSC_OMAP2_AUTOIDLE)>;
379			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
380					<SYSC_IDLE_NO>,
381					<SYSC_IDLE_SMART>,
382					<SYSC_IDLE_SMART_WKUP>;
383			ti,syss-mask = <1>;
384			/* Domains (P, C): l4per_pwrdm, l4sec_clkdm */
385			clocks = <&l4sec_clkctrl OMAP5_AES2_CLKCTRL 0>;
386			clock-names = "fck";
387			#address-cells = <1>;
388			#size-cells = <1>;
389			ranges = <0x0 0x4b701000 0x1000>;
390
391			aes2: aes@0 {
392				compatible = "ti,omap4-aes";
393				reg = <0 0xa0>;
394				interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
395				dmas = <&sdma 114>, <&sdma 113>;
396				dma-names = "tx", "rx";
397			};
398		};
399
400		sham_target: target-module@4b100000 {
401			compatible = "ti,sysc-omap3-sham", "ti,sysc";
402			reg = <0x4b100100 0x4>,
403			      <0x4b100110 0x4>,
404			      <0x4b100114 0x4>;
405			reg-names = "rev", "sysc", "syss";
406			ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
407					 SYSC_OMAP2_AUTOIDLE)>;
408			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
409					<SYSC_IDLE_NO>,
410					<SYSC_IDLE_SMART>;
411			ti,syss-mask = <1>;
412			/* Domains (P, C): l4per_pwrdm, l4sec_clkdm */
413			clocks = <&l4sec_clkctrl OMAP5_SHA2MD5_CLKCTRL 0>;
414			clock-names = "fck";
415			#address-cells = <1>;
416			#size-cells = <1>;
417			ranges = <0x0 0x4b100000 0x1000>;
418
419			sham: sham@0 {
420				compatible = "ti,omap4-sham";
421				reg = <0 0x300>;
422				interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
423				dmas = <&sdma 119>;
424				dma-names = "rx";
425			};
426		};
427
428		bandgap: bandgap@4a0021e0 {
429			reg = <0x4a0021e0 0xc
430			       0x4a00232c 0xc
431			       0x4a002380 0x2c
432			       0x4a0023C0 0x3c>;
433			interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
434			compatible = "ti,omap5430-bandgap";
435
436			#thermal-sensor-cells = <1>;
437		};
438
439		target-module@56000000 {
440			compatible = "ti,sysc-omap4", "ti,sysc";
441			reg = <0x5600fe00 0x4>,
442			      <0x5600fe10 0x4>;
443			reg-names = "rev", "sysc";
444			ti,sysc-midle = <SYSC_IDLE_FORCE>,
445					<SYSC_IDLE_NO>,
446					<SYSC_IDLE_SMART>;
447			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
448					<SYSC_IDLE_NO>,
449					<SYSC_IDLE_SMART>;
450			clocks = <&gpu_clkctrl OMAP5_GPU_CLKCTRL 0>;
451			clock-names = "fck";
452			#address-cells = <1>;
453			#size-cells = <1>;
454			ranges = <0 0x56000000 0x2000000>;
455
456			gpu@0 {
457				compatible = "ti,omap5432-gpu", "img,powervr-sgx544";
458				reg = <0x0 0x2000000>; /* 32MB */
459				interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
460			};
461		};
462
463		target-module@58000000 {
464			compatible = "ti,sysc-omap2", "ti,sysc";
465			reg = <0x58000000 4>,
466			      <0x58000014 4>;
467			reg-names = "rev", "syss";
468			ti,syss-mask = <1>;
469			power-domains = <&prm_dss>;
470			clocks = <&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 0>,
471				 <&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 9>,
472				 <&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 10>,
473				 <&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 11>;
474			clock-names = "fck", "hdmi_clk", "sys_clk", "tv_clk";
475			#address-cells = <1>;
476			#size-cells = <1>;
477			ranges = <0 0x58000000 0x1000000>;
478
479			dss: dss@0 {
480				compatible = "ti,omap5-dss";
481				reg = <0 0x80>;
482				status = "disabled";
483				clocks = <&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 8>;
484				clock-names = "fck";
485				#address-cells = <1>;
486				#size-cells = <1>;
487				ranges = <0 0 0x1000000>;
488
489				target-module@1000 {
490					compatible = "ti,sysc-omap2", "ti,sysc";
491					reg = <0x1000 0x4>,
492					      <0x1010 0x4>,
493					      <0x1014 0x4>;
494					reg-names = "rev", "sysc", "syss";
495					ti,sysc-sidle = <SYSC_IDLE_FORCE>,
496							<SYSC_IDLE_NO>,
497							<SYSC_IDLE_SMART>;
498					ti,sysc-midle = <SYSC_IDLE_FORCE>,
499							<SYSC_IDLE_NO>,
500							<SYSC_IDLE_SMART>;
501					ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
502							 SYSC_OMAP2_ENAWAKEUP |
503							 SYSC_OMAP2_SOFTRESET |
504							 SYSC_OMAP2_AUTOIDLE)>;
505					ti,syss-mask = <1>;
506					clocks = <&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 8>;
507					clock-names = "fck";
508					#address-cells = <1>;
509					#size-cells = <1>;
510					ranges = <0 0x1000 0x1000>;
511
512					dispc@0 {
513						compatible = "ti,omap5-dispc";
514						reg = <0 0x1000>;
515						interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
516						clocks = <&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 8>;
517						clock-names = "fck";
518					};
519				};
520
521				target-module@2000 {
522					compatible = "ti,sysc-omap2", "ti,sysc";
523					reg = <0x2000 0x4>,
524					      <0x2010 0x4>,
525					      <0x2014 0x4>;
526					reg-names = "rev", "sysc", "syss";
527					ti,sysc-sidle = <SYSC_IDLE_FORCE>,
528							<SYSC_IDLE_NO>,
529							<SYSC_IDLE_SMART>;
530					ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
531							 SYSC_OMAP2_AUTOIDLE)>;
532					ti,syss-mask = <1>;
533					clocks = <&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 8>;
534					clock-names = "fck";
535					#address-cells = <1>;
536					#size-cells = <1>;
537					ranges = <0 0x2000 0x1000>;
538
539					rfbi: encoder@0  {
540						compatible = "ti,omap5-rfbi";
541						reg = <0 0x100>;
542						status = "disabled";
543						clocks = <&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 8>, <&l3_iclk_div>;
544						clock-names = "fck", "ick";
545					};
546				};
547
548				target-module@4000 {
549					compatible = "ti,sysc-omap2", "ti,sysc";
550					reg = <0x4000 0x4>,
551					      <0x4010 0x4>,
552					      <0x4014 0x4>;
553					reg-names = "rev", "sysc", "syss";
554					ti,sysc-sidle = <SYSC_IDLE_FORCE>,
555							<SYSC_IDLE_NO>,
556							<SYSC_IDLE_SMART>;
557					ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
558							 SYSC_OMAP2_ENAWAKEUP |
559							 SYSC_OMAP2_SOFTRESET |
560							 SYSC_OMAP2_AUTOIDLE)>;
561					ti,syss-mask = <1>;
562					#address-cells = <1>;
563					#size-cells = <1>;
564					ranges = <0 0x4000 0x1000>;
565
566					dsi1: encoder@0 {
567						compatible = "ti,omap5-dsi";
568						reg = <0 0x200>,
569						      <0x200 0x40>,
570						      <0x300 0x40>;
571						reg-names = "proto", "phy", "pll";
572						interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
573						status = "disabled";
574						clocks = <&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 8>,
575							 <&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 10>;
576						clock-names = "fck", "sys_clk";
577
578						#address-cells = <1>;
579						#size-cells = <0>;
580					};
581				};
582
583				target-module@9000 {
584					compatible = "ti,sysc-omap2", "ti,sysc";
585					reg = <0x9000 0x4>,
586					      <0x9010 0x4>,
587					      <0x9014 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_ENAWAKEUP |
594							 SYSC_OMAP2_SOFTRESET |
595							 SYSC_OMAP2_AUTOIDLE)>;
596					ti,syss-mask = <1>;
597					#address-cells = <1>;
598					#size-cells = <1>;
599					ranges = <0 0x9000 0x1000>;
600
601					dsi2: encoder@0 {
602						compatible = "ti,omap5-dsi";
603						reg = <0 0x200>,
604						      <0x200 0x40>,
605						      <0x300 0x40>;
606						reg-names = "proto", "phy", "pll";
607						interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
608						status = "disabled";
609						clocks = <&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 8>,
610							 <&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 10>;
611						clock-names = "fck", "sys_clk";
612
613						#address-cells = <1>;
614						#size-cells = <0>;
615					};
616				};
617
618				target-module@40000 {
619					compatible = "ti,sysc-omap4", "ti,sysc";
620					reg = <0x40000 0x4>,
621					      <0x40010 0x4>;
622					reg-names = "rev", "sysc";
623					ti,sysc-sidle = <SYSC_IDLE_FORCE>,
624							<SYSC_IDLE_NO>,
625							<SYSC_IDLE_SMART>,
626							<SYSC_IDLE_SMART_WKUP>;
627					ti,sysc-mask = <(SYSC_OMAP4_SOFTRESET)>;
628					clocks = <&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 9>,
629						 <&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 8>;
630					clock-names = "fck", "dss_clk";
631					#address-cells = <1>;
632					#size-cells = <1>;
633					ranges = <0 0x40000 0x40000>;
634
635					hdmi: encoder@0 {
636						compatible = "ti,omap5-hdmi";
637						reg = <0 0x200>,
638						      <0x200 0x80>,
639						      <0x300 0x80>,
640						      <0x20000 0x19000>;
641						reg-names = "wp", "pll", "phy", "core";
642						interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
643						status = "disabled";
644						clocks = <&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 9>,
645							 <&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 10>;
646						clock-names = "fck", "sys_clk";
647						dmas = <&sdma 76>;
648						dma-names = "audio_tx";
649					};
650				};
651			};
652		};
653
654		abb_mpu: regulator-abb-mpu {
655			compatible = "ti,abb-v2";
656			regulator-name = "abb_mpu";
657			#address-cells = <0>;
658			#size-cells = <0>;
659			clocks = <&sys_clkin>;
660			ti,settling-time = <50>;
661			ti,clock-cycles = <16>;
662
663			reg = <0x4ae07cdc 0x8>, <0x4ae06014 0x4>,
664			      <0x4a0021c4 0x8>, <0x4ae0c318 0x4>;
665			reg-names = "base-address", "int-address",
666				    "efuse-address", "ldo-address";
667			ti,tranxdone-status-mask = <0x80>;
668			/* LDOVBBMPU_MUX_CTRL */
669			ti,ldovbb-override-mask = <0x400>;
670			/* LDOVBBMPU_VSET_OUT */
671			ti,ldovbb-vset-mask = <0x1F>;
672
673			/*
674			 * NOTE: only FBB mode used but actual vset will
675			 * determine final biasing
676			 */
677			ti,abb_info = <
678			/*uV		ABB	efuse	rbb_m fbb_m	vset_m*/
679			1060000		0	0x0	0 0x02000000 0x01F00000
680			1250000		0	0x4	0 0x02000000 0x01F00000
681			>;
682		};
683
684		abb_mm: regulator-abb-mm {
685			compatible = "ti,abb-v2";
686			regulator-name = "abb_mm";
687			#address-cells = <0>;
688			#size-cells = <0>;
689			clocks = <&sys_clkin>;
690			ti,settling-time = <50>;
691			ti,clock-cycles = <16>;
692
693			reg = <0x4ae07ce4 0x8>, <0x4ae06010 0x4>,
694			      <0x4a0021a4 0x8>, <0x4ae0c314 0x4>;
695			reg-names = "base-address", "int-address",
696				    "efuse-address", "ldo-address";
697			ti,tranxdone-status-mask = <0x80000000>;
698			/* LDOVBBMM_MUX_CTRL */
699			ti,ldovbb-override-mask = <0x400>;
700			/* LDOVBBMM_VSET_OUT */
701			ti,ldovbb-vset-mask = <0x1F>;
702
703			/*
704			 * NOTE: only FBB mode used but actual vset will
705			 * determine final biasing
706			 */
707			ti,abb_info = <
708			/*uV		ABB	efuse	rbb_m fbb_m	vset_m*/
709			1025000		0	0x0	0 0x02000000 0x01F00000
710			1120000		0	0x4	0 0x02000000 0x01F00000
711			>;
712		};
713	};
714};
715
716&cpu_thermal {
717	polling-delay = <500>; /* milliseconds */
718	coefficients = <65 (-1791)>;
719};
720
721#include "omap5-l4.dtsi"
722#include "omap54xx-clocks.dtsi"
723
724&gpu_thermal {
725	coefficients = <117 (-2992)>;
726};
727
728&core_thermal {
729	coefficients = <0 2000>;
730};
731
732#include "omap5-l4-abe.dtsi"
733#include "omap54xx-clocks.dtsi"
734
735&prm {
736	prm_mpu: prm@300 {
737		compatible = "ti,omap5-prm-inst", "ti,omap-prm-inst";
738		reg = <0x300 0x100>;
739		#power-domain-cells = <0>;
740	};
741
742	prm_dsp: prm@400 {
743		compatible = "ti,omap5-prm-inst", "ti,omap-prm-inst";
744		reg = <0x400 0x100>;
745		#reset-cells = <1>;
746		#power-domain-cells = <0>;
747	};
748
749	prm_abe: prm@500 {
750		compatible = "ti,omap5-prm-inst", "ti,omap-prm-inst";
751		reg = <0x500 0x100>;
752		#power-domain-cells = <0>;
753	};
754
755	prm_coreaon: prm@600 {
756		compatible = "ti,omap5-prm-inst", "ti,omap-prm-inst";
757		reg = <0x600 0x100>;
758		#power-domain-cells = <0>;
759	};
760
761	prm_core: prm@700 {
762		compatible = "ti,omap5-prm-inst", "ti,omap-prm-inst";
763		reg = <0x700 0x100>;
764		#reset-cells = <1>;
765		#power-domain-cells = <0>;
766	};
767
768	prm_iva: prm@1200 {
769		compatible = "ti,omap5-prm-inst", "ti,omap-prm-inst";
770		reg = <0x1200 0x100>;
771		#reset-cells = <1>;
772		#power-domain-cells = <0>;
773	};
774
775	prm_cam: prm@1300 {
776		compatible = "ti,omap5-prm-inst", "ti,omap-prm-inst";
777		reg = <0x1300 0x100>;
778		#power-domain-cells = <0>;
779	};
780
781	prm_dss: prm@1400 {
782		compatible = "ti,omap5-prm-inst", "ti,omap-prm-inst";
783		reg = <0x1400 0x100>;
784		#power-domain-cells = <0>;
785	};
786
787	prm_gpu: prm@1500 {
788		compatible = "ti,omap5-prm-inst", "ti,omap-prm-inst";
789		reg = <0x1500 0x100>;
790		#power-domain-cells = <0>;
791	};
792
793	prm_l3init: prm@1600 {
794		compatible = "ti,omap5-prm-inst", "ti,omap-prm-inst";
795		reg = <0x1600 0x100>;
796		#power-domain-cells = <0>;
797	};
798
799	prm_custefuse: prm@1700 {
800		compatible = "ti,omap5-prm-inst", "ti,omap-prm-inst";
801		reg = <0x1700 0x100>;
802		#power-domain-cells = <0>;
803	};
804
805	prm_wkupaon: prm@1800 {
806		compatible = "ti,omap5-prm-inst", "ti,omap-prm-inst";
807		reg = <0x1800 0x100>;
808		#power-domain-cells = <0>;
809	};
810
811	prm_emu: prm@1a00 {
812		compatible = "ti,omap5-prm-inst", "ti,omap-prm-inst";
813		reg = <0x1a00 0x100>;
814		#power-domain-cells = <0>;
815	};
816
817	prm_device: prm@1c00 {
818		compatible = "ti,omap5-prm-inst", "ti,omap-prm-inst";
819		reg = <0x1c00 0x100>;
820		#reset-cells = <1>;
821	};
822};
823
824/* Preferred always-on timer for clockevent */
825&timer1_target {
826	ti,no-reset-on-init;
827	ti,no-idle;
828	timer@0 {
829		assigned-clocks = <&wkupaon_clkctrl OMAP5_TIMER1_CLKCTRL 24>;
830		assigned-clock-parents = <&sys_32k_ck>;
831	};
832};
833