xref: /freebsd-src/sys/contrib/device-tree/src/arm/ti/omap/omap4.dtsi (revision 01950c46b8155250f64374fb72fc11faa44bf099)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
4f126890aSEmmanuel Vadot */
5f126890aSEmmanuel Vadot
6f126890aSEmmanuel Vadot#include <dt-bindings/bus/ti-sysc.h>
7f126890aSEmmanuel Vadot#include <dt-bindings/clock/omap4.h>
8f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
9f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h>
10f126890aSEmmanuel Vadot#include <dt-bindings/pinctrl/omap.h>
11f126890aSEmmanuel Vadot#include <dt-bindings/clock/omap4.h>
12f126890aSEmmanuel Vadot
13f126890aSEmmanuel Vadot/ {
14f126890aSEmmanuel Vadot	compatible = "ti,omap4430", "ti,omap4";
15f126890aSEmmanuel Vadot	interrupt-parent = <&wakeupgen>;
16f126890aSEmmanuel Vadot	#address-cells = <1>;
17f126890aSEmmanuel Vadot	#size-cells = <1>;
18f126890aSEmmanuel Vadot	chosen { };
19f126890aSEmmanuel Vadot
20f126890aSEmmanuel Vadot	aliases {
21f126890aSEmmanuel Vadot		i2c0 = &i2c1;
22f126890aSEmmanuel Vadot		i2c1 = &i2c2;
23f126890aSEmmanuel Vadot		i2c2 = &i2c3;
24f126890aSEmmanuel Vadot		i2c3 = &i2c4;
25f126890aSEmmanuel Vadot		mmc0 = &mmc1;
26f126890aSEmmanuel Vadot		mmc1 = &mmc2;
27f126890aSEmmanuel Vadot		mmc2 = &mmc3;
28f126890aSEmmanuel Vadot		mmc3 = &mmc4;
29f126890aSEmmanuel Vadot		mmc4 = &mmc5;
30f126890aSEmmanuel Vadot		serial0 = &uart1;
31f126890aSEmmanuel Vadot		serial1 = &uart2;
32f126890aSEmmanuel Vadot		serial2 = &uart3;
33f126890aSEmmanuel Vadot		serial3 = &uart4;
34f126890aSEmmanuel Vadot		rproc0 = &dsp;
35f126890aSEmmanuel Vadot		rproc1 = &ipu;
36f126890aSEmmanuel Vadot	};
37f126890aSEmmanuel Vadot
38f126890aSEmmanuel Vadot	cpus {
39f126890aSEmmanuel Vadot		#address-cells = <1>;
40f126890aSEmmanuel Vadot		#size-cells = <0>;
41f126890aSEmmanuel Vadot
42f126890aSEmmanuel Vadot		cpu@0 {
43f126890aSEmmanuel Vadot			compatible = "arm,cortex-a9";
44f126890aSEmmanuel Vadot			device_type = "cpu";
45f126890aSEmmanuel Vadot			next-level-cache = <&L2>;
46f126890aSEmmanuel Vadot			reg = <0x0>;
47f126890aSEmmanuel Vadot
48f126890aSEmmanuel Vadot			clocks = <&dpll_mpu_ck>;
49f126890aSEmmanuel Vadot			clock-names = "cpu";
50f126890aSEmmanuel Vadot
51f126890aSEmmanuel Vadot			clock-latency = <300000>; /* From omap-cpufreq driver */
52f126890aSEmmanuel Vadot		};
53f126890aSEmmanuel Vadot		cpu@1 {
54f126890aSEmmanuel Vadot			compatible = "arm,cortex-a9";
55f126890aSEmmanuel Vadot			device_type = "cpu";
56f126890aSEmmanuel Vadot			next-level-cache = <&L2>;
57f126890aSEmmanuel Vadot			reg = <0x1>;
58f126890aSEmmanuel Vadot		};
59f126890aSEmmanuel Vadot	};
60f126890aSEmmanuel Vadot
61f126890aSEmmanuel Vadot	/*
62f126890aSEmmanuel Vadot	 * Needed early by omap4_sram_init() for barrier, do not move to l3
63f126890aSEmmanuel Vadot	 * interconnect as simple-pm-bus probes at module_init() time.
64f126890aSEmmanuel Vadot	 */
65f126890aSEmmanuel Vadot	ocmcram: sram@40304000 {
66f126890aSEmmanuel Vadot		compatible = "mmio-sram";
67f126890aSEmmanuel Vadot		reg = <0x40304000 0xa000>; /* 40k */
68f126890aSEmmanuel Vadot	};
69f126890aSEmmanuel Vadot
70f126890aSEmmanuel Vadot	gic: interrupt-controller@48241000 {
71f126890aSEmmanuel Vadot		compatible = "arm,cortex-a9-gic";
72f126890aSEmmanuel Vadot		interrupt-controller;
73f126890aSEmmanuel Vadot		#interrupt-cells = <3>;
74f126890aSEmmanuel Vadot		reg = <0x48241000 0x1000>,
75f126890aSEmmanuel Vadot		      <0x48240100 0x0100>;
76f126890aSEmmanuel Vadot		interrupt-parent = <&gic>;
77f126890aSEmmanuel Vadot	};
78f126890aSEmmanuel Vadot
79f126890aSEmmanuel Vadot	L2: cache-controller@48242000 {
80f126890aSEmmanuel Vadot		compatible = "arm,pl310-cache";
81f126890aSEmmanuel Vadot		reg = <0x48242000 0x1000>;
82f126890aSEmmanuel Vadot		cache-unified;
83f126890aSEmmanuel Vadot		cache-level = <2>;
84f126890aSEmmanuel Vadot	};
85f126890aSEmmanuel Vadot
86f126890aSEmmanuel Vadot	local-timer@48240600 {
87f126890aSEmmanuel Vadot		compatible = "arm,cortex-a9-twd-timer";
88f126890aSEmmanuel Vadot		clocks = <&mpu_periphclk>;
89f126890aSEmmanuel Vadot		reg = <0x48240600 0x20>;
90f126890aSEmmanuel Vadot		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_RAW(3) | IRQ_TYPE_EDGE_RISING)>;
91f126890aSEmmanuel Vadot		interrupt-parent = <&gic>;
92f126890aSEmmanuel Vadot	};
93f126890aSEmmanuel Vadot
94f126890aSEmmanuel Vadot	wakeupgen: interrupt-controller@48281000 {
95f126890aSEmmanuel Vadot		compatible = "ti,omap4-wugen-mpu";
96f126890aSEmmanuel Vadot		interrupt-controller;
97f126890aSEmmanuel Vadot		#interrupt-cells = <3>;
98f126890aSEmmanuel Vadot		reg = <0x48281000 0x1000>;
99f126890aSEmmanuel Vadot		interrupt-parent = <&gic>;
100f126890aSEmmanuel Vadot	};
101f126890aSEmmanuel Vadot
102f126890aSEmmanuel Vadot	/*
103f126890aSEmmanuel Vadot	 * XXX: Use a flat representation of the OMAP4 interconnect.
104f126890aSEmmanuel Vadot	 * The real OMAP interconnect network is quite complex.
105f126890aSEmmanuel Vadot	 * Since it will not bring real advantage to represent that in DT for
106f126890aSEmmanuel Vadot	 * the moment, just use a fake OCP bus entry to represent the whole bus
107f126890aSEmmanuel Vadot	 * hierarchy.
108f126890aSEmmanuel Vadot	 */
109f126890aSEmmanuel Vadot	ocp {
110f126890aSEmmanuel Vadot		compatible = "simple-pm-bus";
111f126890aSEmmanuel Vadot		power-domains = <&prm_l4per>;
112f126890aSEmmanuel Vadot		clocks = <&l3_1_clkctrl OMAP4_L3_MAIN_1_CLKCTRL 0>,
113f126890aSEmmanuel Vadot			 <&l3_2_clkctrl OMAP4_L3_MAIN_2_CLKCTRL 0>,
114f126890aSEmmanuel Vadot			 <&l3_instr_clkctrl OMAP4_L3_MAIN_3_CLKCTRL 0>;
115f126890aSEmmanuel Vadot		#address-cells = <1>;
116f126890aSEmmanuel Vadot		#size-cells = <1>;
117f126890aSEmmanuel Vadot		ranges;
118f126890aSEmmanuel Vadot
119f126890aSEmmanuel Vadot		l3-noc@44000000 {
120f126890aSEmmanuel Vadot			compatible = "ti,omap4-l3-noc";
121f126890aSEmmanuel Vadot			reg = <0x44000000 0x1000>,
122f126890aSEmmanuel Vadot			      <0x44800000 0x2000>,
123f126890aSEmmanuel Vadot			      <0x45000000 0x1000>;
124f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
125f126890aSEmmanuel Vadot				     <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
126f126890aSEmmanuel Vadot		};
127f126890aSEmmanuel Vadot
128f126890aSEmmanuel Vadot		l4_wkup: interconnect@4a300000 {
129f126890aSEmmanuel Vadot		};
130f126890aSEmmanuel Vadot
131f126890aSEmmanuel Vadot		l4_cfg: interconnect@4a000000 {
132f126890aSEmmanuel Vadot		};
133f126890aSEmmanuel Vadot
134f126890aSEmmanuel Vadot		l4_per: interconnect@48000000 {
135f126890aSEmmanuel Vadot		};
136f126890aSEmmanuel Vadot
137f126890aSEmmanuel Vadot		target-module@48210000 {
138f126890aSEmmanuel Vadot			compatible = "ti,sysc-omap4-simple", "ti,sysc";
139f126890aSEmmanuel Vadot			power-domains = <&prm_mpu>;
140f126890aSEmmanuel Vadot			clocks = <&mpuss_clkctrl OMAP4_MPU_CLKCTRL 0>;
141f126890aSEmmanuel Vadot			clock-names = "fck";
142f126890aSEmmanuel Vadot			#address-cells = <1>;
143f126890aSEmmanuel Vadot			#size-cells = <1>;
144f126890aSEmmanuel Vadot			ranges = <0 0x48210000 0x1f0000>;
145f126890aSEmmanuel Vadot
146f126890aSEmmanuel Vadot			mpu {
147f126890aSEmmanuel Vadot				compatible = "ti,omap4-mpu";
148f126890aSEmmanuel Vadot				sram = <&ocmcram>;
149f126890aSEmmanuel Vadot			};
150f126890aSEmmanuel Vadot		};
151f126890aSEmmanuel Vadot
152f126890aSEmmanuel Vadot		l4_abe: interconnect@40100000 {
153f126890aSEmmanuel Vadot		};
154f126890aSEmmanuel Vadot
155f126890aSEmmanuel Vadot		target-module@50000000 {
156f126890aSEmmanuel Vadot			compatible = "ti,sysc-omap2", "ti,sysc";
157f126890aSEmmanuel Vadot			reg = <0x50000000 4>,
158f126890aSEmmanuel Vadot			      <0x50000010 4>,
159f126890aSEmmanuel Vadot			      <0x50000014 4>;
160f126890aSEmmanuel Vadot			reg-names = "rev", "sysc", "syss";
161f126890aSEmmanuel Vadot			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
162f126890aSEmmanuel Vadot					<SYSC_IDLE_NO>,
163f126890aSEmmanuel Vadot					<SYSC_IDLE_SMART>;
164f126890aSEmmanuel Vadot			ti,syss-mask = <1>;
165f126890aSEmmanuel Vadot			ti,no-idle-on-init;
166f126890aSEmmanuel Vadot			clocks = <&l3_2_clkctrl OMAP4_GPMC_CLKCTRL 0>;
167f126890aSEmmanuel Vadot			clock-names = "fck";
168f126890aSEmmanuel Vadot			#address-cells = <1>;
169f126890aSEmmanuel Vadot			#size-cells = <1>;
170f126890aSEmmanuel Vadot			ranges = <0x50000000 0x50000000 0x00001000>, /* regs */
171f126890aSEmmanuel Vadot				 <0x00000000 0x00000000 0x40000000>; /* data */
172f126890aSEmmanuel Vadot
173f126890aSEmmanuel Vadot			gpmc: gpmc@50000000 {
174f126890aSEmmanuel Vadot				compatible = "ti,omap4430-gpmc";
175f126890aSEmmanuel Vadot				reg = <0x50000000 0x1000>;
176f126890aSEmmanuel Vadot				#address-cells = <2>;
177f126890aSEmmanuel Vadot				#size-cells = <1>;
178f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
179f126890aSEmmanuel Vadot				dmas = <&sdma 4>;
180f126890aSEmmanuel Vadot				dma-names = "rxtx";
181f126890aSEmmanuel Vadot				gpmc,num-cs = <8>;
182f126890aSEmmanuel Vadot				gpmc,num-waitpins = <4>;
183f126890aSEmmanuel Vadot				clocks = <&l3_div_ck>;
184f126890aSEmmanuel Vadot				clock-names = "fck";
185f126890aSEmmanuel Vadot				interrupt-controller;
186f126890aSEmmanuel Vadot				#interrupt-cells = <2>;
187f126890aSEmmanuel Vadot				gpio-controller;
188f126890aSEmmanuel Vadot				#gpio-cells = <2>;
189f126890aSEmmanuel Vadot			};
190f126890aSEmmanuel Vadot		};
191f126890aSEmmanuel Vadot
192f126890aSEmmanuel Vadot		target-module@52000000 {
193f126890aSEmmanuel Vadot			compatible = "ti,sysc-omap4", "ti,sysc";
194f126890aSEmmanuel Vadot			reg = <0x52000000 0x4>,
195f126890aSEmmanuel Vadot			      <0x52000010 0x4>;
196f126890aSEmmanuel Vadot			reg-names = "rev", "sysc";
197f126890aSEmmanuel Vadot			ti,sysc-mask = <SYSC_OMAP4_SOFTRESET>;
198f126890aSEmmanuel Vadot			ti,sysc-midle = <SYSC_IDLE_FORCE>,
199f126890aSEmmanuel Vadot					<SYSC_IDLE_NO>,
200f126890aSEmmanuel Vadot					<SYSC_IDLE_SMART>,
201f126890aSEmmanuel Vadot					<SYSC_IDLE_SMART_WKUP>;
202f126890aSEmmanuel Vadot			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
203f126890aSEmmanuel Vadot					<SYSC_IDLE_NO>,
204f126890aSEmmanuel Vadot					<SYSC_IDLE_SMART>,
205f126890aSEmmanuel Vadot					<SYSC_IDLE_SMART_WKUP>;
206f126890aSEmmanuel Vadot			ti,sysc-delay-us = <2>;
207f126890aSEmmanuel Vadot			power-domains = <&prm_cam>;
208f126890aSEmmanuel Vadot			clocks = <&iss_clkctrl OMAP4_ISS_CLKCTRL 0>;
209f126890aSEmmanuel Vadot			clock-names = "fck";
210f126890aSEmmanuel Vadot			#address-cells = <1>;
211f126890aSEmmanuel Vadot			#size-cells = <1>;
212f126890aSEmmanuel Vadot			ranges = <0 0x52000000 0x1000000>;
213f126890aSEmmanuel Vadot
214f126890aSEmmanuel Vadot			/* No child device binding, driver in staging */
215f126890aSEmmanuel Vadot		};
216f126890aSEmmanuel Vadot
217f126890aSEmmanuel Vadot		/*
218f126890aSEmmanuel Vadot		 * Note that 4430 needs cross trigger interface (CTI) supported
219f126890aSEmmanuel Vadot		 * before we can configure the interrupts. This means sampling
220f126890aSEmmanuel Vadot		 * events are not supported for pmu. Note that 4460 does not use
221f126890aSEmmanuel Vadot		 * CTI, see also 4460.dtsi.
222f126890aSEmmanuel Vadot		 */
223f126890aSEmmanuel Vadot		target-module@54000000 {
224f126890aSEmmanuel Vadot			compatible = "ti,sysc-omap4-simple", "ti,sysc";
225f126890aSEmmanuel Vadot			power-domains = <&prm_emu>;
226f126890aSEmmanuel Vadot			clocks = <&emu_sys_clkctrl OMAP4_DEBUGSS_CLKCTRL 0>;
227f126890aSEmmanuel Vadot			clock-names = "fck";
228f126890aSEmmanuel Vadot			#address-cells = <1>;
229f126890aSEmmanuel Vadot			#size-cells = <1>;
230f126890aSEmmanuel Vadot			ranges = <0x0 0x54000000 0x1000000>;
231f126890aSEmmanuel Vadot
232f126890aSEmmanuel Vadot			pmu: pmu {
233f126890aSEmmanuel Vadot				compatible = "arm,cortex-a9-pmu";
234f126890aSEmmanuel Vadot			};
235f126890aSEmmanuel Vadot		};
236f126890aSEmmanuel Vadot
237f126890aSEmmanuel Vadot		target-module@55082000 {
238f126890aSEmmanuel Vadot			compatible = "ti,sysc-omap2", "ti,sysc";
239f126890aSEmmanuel Vadot			reg = <0x55082000 0x4>,
240f126890aSEmmanuel Vadot			      <0x55082010 0x4>,
241f126890aSEmmanuel Vadot			      <0x55082014 0x4>;
242f126890aSEmmanuel Vadot			reg-names = "rev", "sysc", "syss";
243f126890aSEmmanuel Vadot			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
244f126890aSEmmanuel Vadot					<SYSC_IDLE_NO>,
245f126890aSEmmanuel Vadot					<SYSC_IDLE_SMART>;
246f126890aSEmmanuel Vadot			ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
247f126890aSEmmanuel Vadot					 SYSC_OMAP2_SOFTRESET |
248f126890aSEmmanuel Vadot					 SYSC_OMAP2_AUTOIDLE)>;
249f126890aSEmmanuel Vadot			clocks = <&ducati_clkctrl OMAP4_IPU_CLKCTRL 0>;
250f126890aSEmmanuel Vadot			clock-names = "fck";
251f126890aSEmmanuel Vadot			resets = <&prm_core 2>;
252f126890aSEmmanuel Vadot			reset-names = "rstctrl";
253f126890aSEmmanuel Vadot			ranges = <0x0 0x55082000 0x100>;
254f126890aSEmmanuel Vadot			#size-cells = <1>;
255f126890aSEmmanuel Vadot			#address-cells = <1>;
256f126890aSEmmanuel Vadot
257f126890aSEmmanuel Vadot			mmu_ipu: mmu@0 {
258f126890aSEmmanuel Vadot				compatible = "ti,omap4-iommu";
259f126890aSEmmanuel Vadot				reg = <0x0 0x100>;
260f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
261f126890aSEmmanuel Vadot				#iommu-cells = <0>;
262f126890aSEmmanuel Vadot				ti,iommu-bus-err-back;
263f126890aSEmmanuel Vadot			};
264f126890aSEmmanuel Vadot		};
265f126890aSEmmanuel Vadot
266f126890aSEmmanuel Vadot		target-module@4012c000 {
267f126890aSEmmanuel Vadot			compatible = "ti,sysc-omap4", "ti,sysc";
268f126890aSEmmanuel Vadot			reg = <0x4012c000 0x4>,
269f126890aSEmmanuel Vadot			      <0x4012c010 0x4>;
270f126890aSEmmanuel Vadot			reg-names = "rev", "sysc";
271f126890aSEmmanuel Vadot			ti,sysc-mask = <SYSC_OMAP4_SOFTRESET>;
272f126890aSEmmanuel Vadot			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
273f126890aSEmmanuel Vadot					<SYSC_IDLE_NO>,
274f126890aSEmmanuel Vadot					<SYSC_IDLE_SMART>,
275f126890aSEmmanuel Vadot					<SYSC_IDLE_SMART_WKUP>;
276f126890aSEmmanuel Vadot			clocks = <&abe_clkctrl OMAP4_SLIMBUS1_CLKCTRL 0>;
277f126890aSEmmanuel Vadot			clock-names = "fck";
278f126890aSEmmanuel Vadot			#address-cells = <1>;
279f126890aSEmmanuel Vadot			#size-cells = <1>;
280f126890aSEmmanuel Vadot			ranges = <0x00000000 0x4012c000 0x1000>, /* MPU */
281f126890aSEmmanuel Vadot				 <0x4902c000 0x4902c000 0x1000>; /* L3 */
282f126890aSEmmanuel Vadot
283f126890aSEmmanuel Vadot			/* No child device binding or driver in mainline */
284f126890aSEmmanuel Vadot		};
285f126890aSEmmanuel Vadot
286f126890aSEmmanuel Vadot		target-module@4e000000 {
287f126890aSEmmanuel Vadot			compatible = "ti,sysc-omap2", "ti,sysc";
288f126890aSEmmanuel Vadot			reg = <0x4e000000 0x4>,
289f126890aSEmmanuel Vadot			      <0x4e000010 0x4>;
290f126890aSEmmanuel Vadot			reg-names = "rev", "sysc";
291f126890aSEmmanuel Vadot			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
292f126890aSEmmanuel Vadot					<SYSC_IDLE_NO>,
293f126890aSEmmanuel Vadot					<SYSC_IDLE_SMART>;
294f126890aSEmmanuel Vadot			ranges = <0x0 0x4e000000 0x2000000>;
295f126890aSEmmanuel Vadot			#size-cells = <1>;
296f126890aSEmmanuel Vadot			#address-cells = <1>;
297f126890aSEmmanuel Vadot
298f126890aSEmmanuel Vadot			dmm@0 {
299f126890aSEmmanuel Vadot				compatible = "ti,omap4-dmm";
300f126890aSEmmanuel Vadot				reg = <0 0x800>;
301f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
302f126890aSEmmanuel Vadot			};
303f126890aSEmmanuel Vadot		};
304f126890aSEmmanuel Vadot
305f126890aSEmmanuel Vadot		target-module@4c000000 {
306f126890aSEmmanuel Vadot			compatible = "ti,sysc-omap4-simple", "ti,sysc";
307f126890aSEmmanuel Vadot			reg = <0x4c000000 0x4>;
308f126890aSEmmanuel Vadot			reg-names = "rev";
309f126890aSEmmanuel Vadot			clocks = <&l3_emif_clkctrl OMAP4_EMIF1_CLKCTRL 0>;
310f126890aSEmmanuel Vadot			clock-names = "fck";
311f126890aSEmmanuel Vadot			ti,no-idle;
312f126890aSEmmanuel Vadot			#address-cells = <1>;
313f126890aSEmmanuel Vadot			#size-cells = <1>;
314f126890aSEmmanuel Vadot			ranges = <0x0 0x4c000000 0x1000000>;
315f126890aSEmmanuel Vadot
316f126890aSEmmanuel Vadot			emif1: emif@0 {
317f126890aSEmmanuel Vadot				compatible = "ti,emif-4d";
318f126890aSEmmanuel Vadot				reg = <0 0x100>;
319f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
320f126890aSEmmanuel Vadot				phy-type = <1>;
321f126890aSEmmanuel Vadot				hw-caps-read-idle-ctrl;
322f126890aSEmmanuel Vadot				hw-caps-ll-interface;
323f126890aSEmmanuel Vadot				hw-caps-temp-alert;
324f126890aSEmmanuel Vadot			};
325f126890aSEmmanuel Vadot		};
326f126890aSEmmanuel Vadot
327f126890aSEmmanuel Vadot		target-module@4d000000 {
328f126890aSEmmanuel Vadot			compatible = "ti,sysc-omap4-simple", "ti,sysc";
329f126890aSEmmanuel Vadot			reg = <0x4d000000 0x4>;
330f126890aSEmmanuel Vadot			reg-names = "rev";
331f126890aSEmmanuel Vadot			clocks = <&l3_emif_clkctrl OMAP4_EMIF2_CLKCTRL 0>;
332f126890aSEmmanuel Vadot			clock-names = "fck";
333f126890aSEmmanuel Vadot			ti,no-idle;
334f126890aSEmmanuel Vadot			#address-cells = <1>;
335f126890aSEmmanuel Vadot			#size-cells = <1>;
336f126890aSEmmanuel Vadot			ranges = <0x0 0x4d000000 0x1000000>;
337f126890aSEmmanuel Vadot
338f126890aSEmmanuel Vadot			emif2: emif@0 {
339f126890aSEmmanuel Vadot				compatible = "ti,emif-4d";
340f126890aSEmmanuel Vadot				reg = <0 0x100>;
341f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
342f126890aSEmmanuel Vadot				phy-type = <1>;
343f126890aSEmmanuel Vadot				hw-caps-read-idle-ctrl;
344f126890aSEmmanuel Vadot				hw-caps-ll-interface;
345f126890aSEmmanuel Vadot				hw-caps-temp-alert;
346f126890aSEmmanuel Vadot			};
347f126890aSEmmanuel Vadot		};
348f126890aSEmmanuel Vadot
349f126890aSEmmanuel Vadot		dsp: dsp {
350f126890aSEmmanuel Vadot			compatible = "ti,omap4-dsp";
351f126890aSEmmanuel Vadot			ti,bootreg = <&scm_conf 0x304 0>;
352f126890aSEmmanuel Vadot			iommus = <&mmu_dsp>;
353f126890aSEmmanuel Vadot			resets = <&prm_tesla 0>;
354f126890aSEmmanuel Vadot			clocks = <&tesla_clkctrl OMAP4_DSP_CLKCTRL 0>;
355f126890aSEmmanuel Vadot			firmware-name = "omap4-dsp-fw.xe64T";
356f126890aSEmmanuel Vadot			mboxes = <&mailbox &mbox_dsp>;
357f126890aSEmmanuel Vadot			status = "disabled";
358f126890aSEmmanuel Vadot		};
359f126890aSEmmanuel Vadot
360f126890aSEmmanuel Vadot		ipu: ipu@55020000 {
361f126890aSEmmanuel Vadot			compatible = "ti,omap4-ipu";
362f126890aSEmmanuel Vadot			reg = <0x55020000 0x10000>;
363f126890aSEmmanuel Vadot			reg-names = "l2ram";
364f126890aSEmmanuel Vadot			iommus = <&mmu_ipu>;
365f126890aSEmmanuel Vadot			resets = <&prm_core 0>, <&prm_core 1>;
366f126890aSEmmanuel Vadot			clocks = <&ducati_clkctrl OMAP4_IPU_CLKCTRL 0>;
367f126890aSEmmanuel Vadot			firmware-name = "omap4-ipu-fw.xem3";
368f126890aSEmmanuel Vadot			mboxes = <&mailbox &mbox_ipu>;
369f126890aSEmmanuel Vadot			status = "disabled";
370f126890aSEmmanuel Vadot		};
371f126890aSEmmanuel Vadot
372f126890aSEmmanuel Vadot		aes1_target: target-module@4b501000 {
373f126890aSEmmanuel Vadot			compatible = "ti,sysc-omap2", "ti,sysc";
374f126890aSEmmanuel Vadot			reg = <0x4b501080 0x4>,
375f126890aSEmmanuel Vadot			      <0x4b501084 0x4>,
376f126890aSEmmanuel Vadot			      <0x4b501088 0x4>;
377f126890aSEmmanuel Vadot			reg-names = "rev", "sysc", "syss";
378f126890aSEmmanuel Vadot			ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
379f126890aSEmmanuel Vadot					 SYSC_OMAP2_AUTOIDLE)>;
380f126890aSEmmanuel Vadot			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
381f126890aSEmmanuel Vadot					<SYSC_IDLE_NO>,
382f126890aSEmmanuel Vadot					<SYSC_IDLE_SMART>,
383f126890aSEmmanuel Vadot					<SYSC_IDLE_SMART_WKUP>;
384f126890aSEmmanuel Vadot			ti,syss-mask = <1>;
385f126890aSEmmanuel Vadot			/* Domains (P, C): l4per_pwrdm, l4_secure_clkdm */
386f126890aSEmmanuel Vadot			clocks = <&l4_secure_clkctrl OMAP4_AES1_CLKCTRL 0>;
387f126890aSEmmanuel Vadot			clock-names = "fck";
388f126890aSEmmanuel Vadot			#address-cells = <1>;
389f126890aSEmmanuel Vadot			#size-cells = <1>;
390f126890aSEmmanuel Vadot			ranges = <0x0 0x4b501000 0x1000>;
391f126890aSEmmanuel Vadot
392f126890aSEmmanuel Vadot			aes1: aes@0 {
393f126890aSEmmanuel Vadot				compatible = "ti,omap4-aes";
394f126890aSEmmanuel Vadot				reg = <0 0xa0>;
395f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
396f126890aSEmmanuel Vadot				dmas = <&sdma 111>, <&sdma 110>;
397f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
398f126890aSEmmanuel Vadot			};
399f126890aSEmmanuel Vadot		};
400f126890aSEmmanuel Vadot
401f126890aSEmmanuel Vadot		aes2_target: target-module@4b701000 {
402f126890aSEmmanuel Vadot			compatible = "ti,sysc-omap2", "ti,sysc";
403f126890aSEmmanuel Vadot			reg = <0x4b701080 0x4>,
404f126890aSEmmanuel Vadot			      <0x4b701084 0x4>,
405f126890aSEmmanuel Vadot			      <0x4b701088 0x4>;
406f126890aSEmmanuel Vadot			reg-names = "rev", "sysc", "syss";
407f126890aSEmmanuel Vadot			ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
408f126890aSEmmanuel Vadot					 SYSC_OMAP2_AUTOIDLE)>;
409f126890aSEmmanuel Vadot			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
410f126890aSEmmanuel Vadot					<SYSC_IDLE_NO>,
411f126890aSEmmanuel Vadot					<SYSC_IDLE_SMART>,
412f126890aSEmmanuel Vadot					<SYSC_IDLE_SMART_WKUP>;
413f126890aSEmmanuel Vadot			ti,syss-mask = <1>;
414f126890aSEmmanuel Vadot			/* Domains (P, C): l4per_pwrdm, l4_secure_clkdm */
415f126890aSEmmanuel Vadot			clocks = <&l4_secure_clkctrl OMAP4_AES2_CLKCTRL 0>;
416f126890aSEmmanuel Vadot			clock-names = "fck";
417f126890aSEmmanuel Vadot			#address-cells = <1>;
418f126890aSEmmanuel Vadot			#size-cells = <1>;
419f126890aSEmmanuel Vadot			ranges = <0x0 0x4b701000 0x1000>;
420f126890aSEmmanuel Vadot
421f126890aSEmmanuel Vadot			aes2: aes@0 {
422f126890aSEmmanuel Vadot				compatible = "ti,omap4-aes";
423f126890aSEmmanuel Vadot				reg = <0 0xa0>;
424f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
425f126890aSEmmanuel Vadot				dmas = <&sdma 114>, <&sdma 113>;
426f126890aSEmmanuel Vadot				dma-names = "tx", "rx";
427f126890aSEmmanuel Vadot			};
428f126890aSEmmanuel Vadot		};
429f126890aSEmmanuel Vadot
430f126890aSEmmanuel Vadot		sham_target: target-module@4b100000 {
431f126890aSEmmanuel Vadot			compatible = "ti,sysc-omap3-sham", "ti,sysc";
432f126890aSEmmanuel Vadot			reg = <0x4b100100 0x4>,
433f126890aSEmmanuel Vadot			      <0x4b100110 0x4>,
434f126890aSEmmanuel Vadot			      <0x4b100114 0x4>;
435f126890aSEmmanuel Vadot			reg-names = "rev", "sysc", "syss";
436f126890aSEmmanuel Vadot			ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
437f126890aSEmmanuel Vadot					 SYSC_OMAP2_AUTOIDLE)>;
438f126890aSEmmanuel Vadot			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
439f126890aSEmmanuel Vadot					<SYSC_IDLE_NO>,
440f126890aSEmmanuel Vadot					<SYSC_IDLE_SMART>;
441f126890aSEmmanuel Vadot			ti,syss-mask = <1>;
442f126890aSEmmanuel Vadot			/* Domains (P, C): l4per_pwrdm, l4_secure_clkdm */
443f126890aSEmmanuel Vadot			clocks = <&l4_secure_clkctrl OMAP4_SHA2MD5_CLKCTRL 0>;
444f126890aSEmmanuel Vadot			clock-names = "fck";
445f126890aSEmmanuel Vadot			#address-cells = <1>;
446f126890aSEmmanuel Vadot			#size-cells = <1>;
447f126890aSEmmanuel Vadot			ranges = <0x0 0x4b100000 0x1000>;
448f126890aSEmmanuel Vadot
449f126890aSEmmanuel Vadot			sham: sham@0 {
450f126890aSEmmanuel Vadot				compatible = "ti,omap4-sham";
451f126890aSEmmanuel Vadot				reg = <0 0x300>;
452f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
453f126890aSEmmanuel Vadot				dmas = <&sdma 119>;
454f126890aSEmmanuel Vadot				dma-names = "rx";
455f126890aSEmmanuel Vadot			};
456f126890aSEmmanuel Vadot		};
457f126890aSEmmanuel Vadot
458f126890aSEmmanuel Vadot		abb_mpu: regulator-abb-mpu {
459f126890aSEmmanuel Vadot			compatible = "ti,abb-v2";
460f126890aSEmmanuel Vadot			regulator-name = "abb_mpu";
461f126890aSEmmanuel Vadot			#address-cells = <0>;
462f126890aSEmmanuel Vadot			#size-cells = <0>;
463f126890aSEmmanuel Vadot			ti,tranxdone-status-mask = <0x80>;
464f126890aSEmmanuel Vadot			clocks = <&sys_clkin_ck>;
465f126890aSEmmanuel Vadot			ti,settling-time = <50>;
466f126890aSEmmanuel Vadot			ti,clock-cycles = <16>;
467f126890aSEmmanuel Vadot
468f126890aSEmmanuel Vadot			status = "disabled";
469f126890aSEmmanuel Vadot		};
470f126890aSEmmanuel Vadot
471f126890aSEmmanuel Vadot		abb_iva: regulator-abb-iva {
472f126890aSEmmanuel Vadot			compatible = "ti,abb-v2";
473f126890aSEmmanuel Vadot			regulator-name = "abb_iva";
474f126890aSEmmanuel Vadot			#address-cells = <0>;
475f126890aSEmmanuel Vadot			#size-cells = <0>;
476f126890aSEmmanuel Vadot			ti,tranxdone-status-mask = <0x80000000>;
477f126890aSEmmanuel Vadot			clocks = <&sys_clkin_ck>;
478f126890aSEmmanuel Vadot			ti,settling-time = <50>;
479f126890aSEmmanuel Vadot			ti,clock-cycles = <16>;
480f126890aSEmmanuel Vadot
481f126890aSEmmanuel Vadot			status = "disabled";
482f126890aSEmmanuel Vadot		};
483f126890aSEmmanuel Vadot
484f126890aSEmmanuel Vadot		sgx_module: target-module@56000000 {
485f126890aSEmmanuel Vadot			compatible = "ti,sysc-omap4", "ti,sysc";
486f126890aSEmmanuel Vadot			reg = <0x5600fe00 0x4>,
487f126890aSEmmanuel Vadot			      <0x5600fe10 0x4>;
488f126890aSEmmanuel Vadot			reg-names = "rev", "sysc";
489f126890aSEmmanuel Vadot			ti,sysc-midle = <SYSC_IDLE_FORCE>,
490f126890aSEmmanuel Vadot					<SYSC_IDLE_NO>,
491f126890aSEmmanuel Vadot					<SYSC_IDLE_SMART>,
492f126890aSEmmanuel Vadot					<SYSC_IDLE_SMART_WKUP>;
493f126890aSEmmanuel Vadot			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
494f126890aSEmmanuel Vadot					<SYSC_IDLE_NO>,
495f126890aSEmmanuel Vadot					<SYSC_IDLE_SMART>,
496f126890aSEmmanuel Vadot					<SYSC_IDLE_SMART_WKUP>;
497f126890aSEmmanuel Vadot			power-domains = <&prm_gfx>;
498f126890aSEmmanuel Vadot			clocks = <&l3_gfx_clkctrl OMAP4_GPU_CLKCTRL 0>;
499f126890aSEmmanuel Vadot			clock-names = "fck";
500f126890aSEmmanuel Vadot			#address-cells = <1>;
501f126890aSEmmanuel Vadot			#size-cells = <1>;
502f126890aSEmmanuel Vadot			ranges = <0 0x56000000 0x2000000>;
503f126890aSEmmanuel Vadot
504*01950c46SEmmanuel Vadot			gpu@0 {
505*01950c46SEmmanuel Vadot				compatible = "ti,omap4430-gpu", "img,powervr-sgx540";
506*01950c46SEmmanuel Vadot				reg = <0x0 0x2000000>; /* 32MB */
507*01950c46SEmmanuel Vadot				interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
508*01950c46SEmmanuel Vadot			};
509f126890aSEmmanuel Vadot		};
510f126890aSEmmanuel Vadot
511f126890aSEmmanuel Vadot		/*
512f126890aSEmmanuel Vadot		 * DSS is only using l3 mapping without l4 as noted in the TRM
513f126890aSEmmanuel Vadot		 * "10.1.3 DSS Register Manual" for omap4460.
514f126890aSEmmanuel Vadot		 */
515f126890aSEmmanuel Vadot		target-module@58000000 {
516f126890aSEmmanuel Vadot			compatible = "ti,sysc-omap2", "ti,sysc";
517f126890aSEmmanuel Vadot			reg = <0x58000000 4>,
518f126890aSEmmanuel Vadot			      <0x58000014 4>;
519f126890aSEmmanuel Vadot			reg-names = "rev", "syss";
520f126890aSEmmanuel Vadot			ti,syss-mask = <1>;
521f126890aSEmmanuel Vadot			power-domains = <&prm_dss>;
522f126890aSEmmanuel Vadot			clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 0>,
523f126890aSEmmanuel Vadot				 <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 9>,
524f126890aSEmmanuel Vadot				 <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 10>,
525f126890aSEmmanuel Vadot				 <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 11>;
526f126890aSEmmanuel Vadot			clock-names = "fck", "hdmi_clk", "sys_clk", "tv_clk";
527f126890aSEmmanuel Vadot			#address-cells = <1>;
528f126890aSEmmanuel Vadot			#size-cells = <1>;
529f126890aSEmmanuel Vadot			ranges = <0 0x58000000 0x1000000>;
530f126890aSEmmanuel Vadot
531f126890aSEmmanuel Vadot			dss: dss@0 {
532f126890aSEmmanuel Vadot				compatible = "ti,omap4-dss";
533f126890aSEmmanuel Vadot				reg = <0 0x80>;
534f126890aSEmmanuel Vadot				status = "disabled";
535f126890aSEmmanuel Vadot				clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 8>;
536f126890aSEmmanuel Vadot				clock-names = "fck";
537f126890aSEmmanuel Vadot				#address-cells = <1>;
538f126890aSEmmanuel Vadot				#size-cells = <1>;
539f126890aSEmmanuel Vadot				ranges = <0 0 0x1000000>;
540f126890aSEmmanuel Vadot
541f126890aSEmmanuel Vadot				target-module@1000 {
542f126890aSEmmanuel Vadot					compatible = "ti,sysc-omap2", "ti,sysc";
543f126890aSEmmanuel Vadot					reg = <0x1000 0x4>,
544f126890aSEmmanuel Vadot					      <0x1010 0x4>,
545f126890aSEmmanuel Vadot					      <0x1014 0x4>;
546f126890aSEmmanuel Vadot					reg-names = "rev", "sysc", "syss";
547f126890aSEmmanuel Vadot					ti,sysc-sidle = <SYSC_IDLE_FORCE>,
548f126890aSEmmanuel Vadot							<SYSC_IDLE_NO>,
549f126890aSEmmanuel Vadot							<SYSC_IDLE_SMART>;
550f126890aSEmmanuel Vadot					ti,sysc-midle = <SYSC_IDLE_FORCE>,
551f126890aSEmmanuel Vadot							<SYSC_IDLE_NO>,
552f126890aSEmmanuel Vadot							<SYSC_IDLE_SMART>;
553f126890aSEmmanuel Vadot					ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
554f126890aSEmmanuel Vadot							 SYSC_OMAP2_ENAWAKEUP |
555f126890aSEmmanuel Vadot							 SYSC_OMAP2_SOFTRESET |
556f126890aSEmmanuel Vadot							 SYSC_OMAP2_AUTOIDLE)>;
557f126890aSEmmanuel Vadot					ti,syss-mask = <1>;
558f126890aSEmmanuel Vadot					clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 8>,
559f126890aSEmmanuel Vadot						 <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 10>;
560f126890aSEmmanuel Vadot					clock-names = "fck", "sys_clk";
561f126890aSEmmanuel Vadot					#address-cells = <1>;
562f126890aSEmmanuel Vadot					#size-cells = <1>;
563f126890aSEmmanuel Vadot					ranges = <0 0x1000 0x1000>;
564f126890aSEmmanuel Vadot
565f126890aSEmmanuel Vadot					dispc@0 {
566f126890aSEmmanuel Vadot						compatible = "ti,omap4-dispc";
567f126890aSEmmanuel Vadot						reg = <0 0x1000>;
568f126890aSEmmanuel Vadot						interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
569f126890aSEmmanuel Vadot						clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 8>;
570f126890aSEmmanuel Vadot						clock-names = "fck";
571f126890aSEmmanuel Vadot					};
572f126890aSEmmanuel Vadot				};
573f126890aSEmmanuel Vadot
574f126890aSEmmanuel Vadot				target-module@2000 {
575f126890aSEmmanuel Vadot					compatible = "ti,sysc-omap2", "ti,sysc";
576f126890aSEmmanuel Vadot					reg = <0x2000 0x4>,
577f126890aSEmmanuel Vadot					      <0x2010 0x4>,
578f126890aSEmmanuel Vadot					      <0x2014 0x4>;
579f126890aSEmmanuel Vadot					reg-names = "rev", "sysc", "syss";
580f126890aSEmmanuel Vadot					ti,sysc-sidle = <SYSC_IDLE_FORCE>,
581f126890aSEmmanuel Vadot							<SYSC_IDLE_NO>,
582f126890aSEmmanuel Vadot							<SYSC_IDLE_SMART>;
583f126890aSEmmanuel Vadot					ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
584f126890aSEmmanuel Vadot							 SYSC_OMAP2_AUTOIDLE)>;
585f126890aSEmmanuel Vadot					ti,syss-mask = <1>;
586f126890aSEmmanuel Vadot					clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 8>,
587f126890aSEmmanuel Vadot						 <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 10>;
588f126890aSEmmanuel Vadot					clock-names = "fck", "sys_clk";
589f126890aSEmmanuel Vadot					#address-cells = <1>;
590f126890aSEmmanuel Vadot					#size-cells = <1>;
591f126890aSEmmanuel Vadot					ranges = <0 0x2000 0x1000>;
592f126890aSEmmanuel Vadot
593f126890aSEmmanuel Vadot					rfbi: encoder@0  {
594f126890aSEmmanuel Vadot						reg = <0 0x1000>;
595f126890aSEmmanuel Vadot						status = "disabled";
596f126890aSEmmanuel Vadot						clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 8>, <&l3_div_ck>;
597f126890aSEmmanuel Vadot						clock-names = "fck", "ick";
598f126890aSEmmanuel Vadot					};
599f126890aSEmmanuel Vadot				};
600f126890aSEmmanuel Vadot
601f126890aSEmmanuel Vadot				target-module@3000 {
602f126890aSEmmanuel Vadot					compatible = "ti,sysc-omap2", "ti,sysc";
603f126890aSEmmanuel Vadot					reg = <0x3000 0x4>;
604f126890aSEmmanuel Vadot					reg-names = "rev";
605f126890aSEmmanuel Vadot					clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 10>;
606f126890aSEmmanuel Vadot					clock-names = "sys_clk";
607f126890aSEmmanuel Vadot					#address-cells = <1>;
608f126890aSEmmanuel Vadot					#size-cells = <1>;
609f126890aSEmmanuel Vadot					ranges = <0 0x3000 0x1000>;
610f126890aSEmmanuel Vadot
611f126890aSEmmanuel Vadot					venc: encoder@0 {
612f126890aSEmmanuel Vadot						compatible = "ti,omap4-venc";
613f126890aSEmmanuel Vadot						reg = <0 0x1000>;
614f126890aSEmmanuel Vadot						status = "disabled";
615f126890aSEmmanuel Vadot						clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 11>;
616f126890aSEmmanuel Vadot						clock-names = "fck";
617f126890aSEmmanuel Vadot					};
618f126890aSEmmanuel Vadot				};
619f126890aSEmmanuel Vadot
620f126890aSEmmanuel Vadot				target-module@4000 {
621f126890aSEmmanuel Vadot					compatible = "ti,sysc-omap2", "ti,sysc";
622f126890aSEmmanuel Vadot					reg = <0x4000 0x4>,
623f126890aSEmmanuel Vadot					      <0x4010 0x4>,
624f126890aSEmmanuel Vadot					      <0x4014 0x4>;
625f126890aSEmmanuel Vadot					reg-names = "rev", "sysc", "syss";
626f126890aSEmmanuel Vadot					ti,sysc-sidle = <SYSC_IDLE_FORCE>,
627f126890aSEmmanuel Vadot							<SYSC_IDLE_NO>,
628f126890aSEmmanuel Vadot							<SYSC_IDLE_SMART>;
629f126890aSEmmanuel Vadot					ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
630f126890aSEmmanuel Vadot							 SYSC_OMAP2_ENAWAKEUP |
631f126890aSEmmanuel Vadot							 SYSC_OMAP2_SOFTRESET |
632f126890aSEmmanuel Vadot							 SYSC_OMAP2_AUTOIDLE)>;
633f126890aSEmmanuel Vadot					ti,syss-mask = <1>;
634f126890aSEmmanuel Vadot					#address-cells = <1>;
635f126890aSEmmanuel Vadot					#size-cells = <1>;
636f126890aSEmmanuel Vadot					ranges = <0 0x4000 0x1000>;
637f126890aSEmmanuel Vadot
638f126890aSEmmanuel Vadot					dsi1: encoder@0 {
639f126890aSEmmanuel Vadot						compatible = "ti,omap4-dsi";
640f126890aSEmmanuel Vadot						reg = <0 0x200>,
641f126890aSEmmanuel Vadot						      <0x200 0x40>,
642f126890aSEmmanuel Vadot						      <0x300 0x20>;
643f126890aSEmmanuel Vadot						reg-names = "proto", "phy", "pll";
644f126890aSEmmanuel Vadot						interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
645f126890aSEmmanuel Vadot						status = "disabled";
646f126890aSEmmanuel Vadot						clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 8>,
647f126890aSEmmanuel Vadot							 <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 10>;
648f126890aSEmmanuel Vadot						clock-names = "fck", "sys_clk";
649f126890aSEmmanuel Vadot
650f126890aSEmmanuel Vadot						#address-cells = <1>;
651f126890aSEmmanuel Vadot						#size-cells = <0>;
652f126890aSEmmanuel Vadot					};
653f126890aSEmmanuel Vadot				};
654f126890aSEmmanuel Vadot
655f126890aSEmmanuel Vadot				target-module@5000 {
656f126890aSEmmanuel Vadot					compatible = "ti,sysc-omap2", "ti,sysc";
657f126890aSEmmanuel Vadot					reg = <0x5000 0x4>,
658f126890aSEmmanuel Vadot					      <0x5010 0x4>,
659f126890aSEmmanuel Vadot					      <0x5014 0x4>;
660f126890aSEmmanuel Vadot					reg-names = "rev", "sysc", "syss";
661f126890aSEmmanuel Vadot					ti,sysc-sidle = <SYSC_IDLE_FORCE>,
662f126890aSEmmanuel Vadot							<SYSC_IDLE_NO>,
663f126890aSEmmanuel Vadot							<SYSC_IDLE_SMART>;
664f126890aSEmmanuel Vadot					ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
665f126890aSEmmanuel Vadot							 SYSC_OMAP2_ENAWAKEUP |
666f126890aSEmmanuel Vadot							 SYSC_OMAP2_SOFTRESET |
667f126890aSEmmanuel Vadot							 SYSC_OMAP2_AUTOIDLE)>;
668f126890aSEmmanuel Vadot					ti,syss-mask = <1>;
669f126890aSEmmanuel Vadot					#address-cells = <1>;
670f126890aSEmmanuel Vadot					#size-cells = <1>;
671f126890aSEmmanuel Vadot					ranges = <0 0x5000 0x1000>;
672f126890aSEmmanuel Vadot
673f126890aSEmmanuel Vadot					dsi2: encoder@0 {
674f126890aSEmmanuel Vadot						compatible = "ti,omap4-dsi";
675f126890aSEmmanuel Vadot						reg = <0 0x200>,
676f126890aSEmmanuel Vadot						      <0x200 0x40>,
677f126890aSEmmanuel Vadot						      <0x300 0x20>;
678f126890aSEmmanuel Vadot						reg-names = "proto", "phy", "pll";
679f126890aSEmmanuel Vadot						interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
680f126890aSEmmanuel Vadot						status = "disabled";
681f126890aSEmmanuel Vadot						clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 8>,
682f126890aSEmmanuel Vadot						         <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 10>;
683f126890aSEmmanuel Vadot						clock-names = "fck", "sys_clk";
684f126890aSEmmanuel Vadot
685f126890aSEmmanuel Vadot						#address-cells = <1>;
686f126890aSEmmanuel Vadot						#size-cells = <0>;
687f126890aSEmmanuel Vadot					};
688f126890aSEmmanuel Vadot				};
689f126890aSEmmanuel Vadot
690f126890aSEmmanuel Vadot				target-module@6000 {
691f126890aSEmmanuel Vadot					compatible = "ti,sysc-omap4", "ti,sysc";
692f126890aSEmmanuel Vadot					reg = <0x6000 0x4>,
693f126890aSEmmanuel Vadot					      <0x6010 0x4>;
694f126890aSEmmanuel Vadot					reg-names = "rev", "sysc";
695f126890aSEmmanuel Vadot					/*
696f126890aSEmmanuel Vadot					 * Has SYSC_IDLE_SMART and SYSC_IDLE_SMART_WKUP
697f126890aSEmmanuel Vadot					 * but HDMI audio will fail with them.
698f126890aSEmmanuel Vadot					 */
699f126890aSEmmanuel Vadot					ti,sysc-sidle = <SYSC_IDLE_FORCE>,
700f126890aSEmmanuel Vadot							<SYSC_IDLE_NO>;
701f126890aSEmmanuel Vadot					ti,sysc-mask = <(SYSC_OMAP4_SOFTRESET)>;
702f126890aSEmmanuel Vadot					clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 9>,
703f126890aSEmmanuel Vadot						 <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 8>;
704f126890aSEmmanuel Vadot					clock-names = "fck", "dss_clk";
705f126890aSEmmanuel Vadot					#address-cells = <1>;
706f126890aSEmmanuel Vadot					#size-cells = <1>;
707f126890aSEmmanuel Vadot					ranges = <0 0x6000 0x2000>;
708f126890aSEmmanuel Vadot
709f126890aSEmmanuel Vadot					hdmi: encoder@0 {
710f126890aSEmmanuel Vadot					compatible = "ti,omap4-hdmi";
711f126890aSEmmanuel Vadot						reg = <0 0x200>,
712f126890aSEmmanuel Vadot						      <0x200 0x100>,
713f126890aSEmmanuel Vadot						      <0x300 0x100>,
714f126890aSEmmanuel Vadot						      <0x400 0x1000>;
715f126890aSEmmanuel Vadot						reg-names = "wp", "pll", "phy", "core";
716f126890aSEmmanuel Vadot						interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
717f126890aSEmmanuel Vadot						status = "disabled";
718f126890aSEmmanuel Vadot						clocks = <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 9>,
719f126890aSEmmanuel Vadot						         <&l3_dss_clkctrl OMAP4_DSS_CORE_CLKCTRL 10>;
720f126890aSEmmanuel Vadot						clock-names = "fck", "sys_clk";
721f126890aSEmmanuel Vadot						dmas = <&sdma 76>;
722f126890aSEmmanuel Vadot						dma-names = "audio_tx";
723f126890aSEmmanuel Vadot					};
724f126890aSEmmanuel Vadot				};
725f126890aSEmmanuel Vadot			};
726f126890aSEmmanuel Vadot		};
727f126890aSEmmanuel Vadot
728f126890aSEmmanuel Vadot		iva_hd_target: target-module@5a000000 {
729f126890aSEmmanuel Vadot			compatible = "ti,sysc-omap4", "ti,sysc";
730f126890aSEmmanuel Vadot			reg = <0x5a05a400 0x4>,
731f126890aSEmmanuel Vadot			      <0x5a05a410 0x4>;
732f126890aSEmmanuel Vadot			reg-names = "rev", "sysc";
733f126890aSEmmanuel Vadot			ti,sysc-midle = <SYSC_IDLE_FORCE>,
734f126890aSEmmanuel Vadot					<SYSC_IDLE_NO>,
735f126890aSEmmanuel Vadot					<SYSC_IDLE_SMART>;
736f126890aSEmmanuel Vadot			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
737f126890aSEmmanuel Vadot					<SYSC_IDLE_NO>,
738f126890aSEmmanuel Vadot					<SYSC_IDLE_SMART>;
739f126890aSEmmanuel Vadot			power-domains = <&prm_ivahd>;
740f126890aSEmmanuel Vadot			resets = <&prm_ivahd 2>;
741f126890aSEmmanuel Vadot			reset-names = "rstctrl";
742f126890aSEmmanuel Vadot			clocks = <&ivahd_clkctrl OMAP4_IVA_CLKCTRL 0>;
743f126890aSEmmanuel Vadot			clock-names = "fck";
744f126890aSEmmanuel Vadot			#address-cells = <1>;
745f126890aSEmmanuel Vadot			#size-cells = <1>;
746f126890aSEmmanuel Vadot			ranges = <0x5a000000 0x5a000000 0x1000000>,
747f126890aSEmmanuel Vadot				 <0x5b000000 0x5b000000 0x1000000>;
748f126890aSEmmanuel Vadot
749f126890aSEmmanuel Vadot			iva {
750f126890aSEmmanuel Vadot				compatible = "ti,ivahd";
751f126890aSEmmanuel Vadot			};
752f126890aSEmmanuel Vadot		};
753f126890aSEmmanuel Vadot	};
754f126890aSEmmanuel Vadot};
755f126890aSEmmanuel Vadot
756f126890aSEmmanuel Vadot#include "omap4-l4.dtsi"
757f126890aSEmmanuel Vadot#include "omap4-l4-abe.dtsi"
758f126890aSEmmanuel Vadot#include "omap44xx-clocks.dtsi"
759f126890aSEmmanuel Vadot
760f126890aSEmmanuel Vadot&prm {
761f126890aSEmmanuel Vadot	prm_mpu: prm@300 {
762f126890aSEmmanuel Vadot		compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
763f126890aSEmmanuel Vadot		reg = <0x300 0x100>;
764f126890aSEmmanuel Vadot		#power-domain-cells = <0>;
765f126890aSEmmanuel Vadot	};
766f126890aSEmmanuel Vadot
767f126890aSEmmanuel Vadot	prm_tesla: prm@400 {
768f126890aSEmmanuel Vadot		compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
769f126890aSEmmanuel Vadot		reg = <0x400 0x100>;
770f126890aSEmmanuel Vadot		#reset-cells = <1>;
771f126890aSEmmanuel Vadot		#power-domain-cells = <0>;
772f126890aSEmmanuel Vadot	};
773f126890aSEmmanuel Vadot
774f126890aSEmmanuel Vadot	prm_abe: prm@500 {
775f126890aSEmmanuel Vadot		compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
776f126890aSEmmanuel Vadot		reg = <0x500 0x100>;
777f126890aSEmmanuel Vadot		#power-domain-cells = <0>;
778f126890aSEmmanuel Vadot	};
779f126890aSEmmanuel Vadot
780f126890aSEmmanuel Vadot	prm_always_on_core: prm@600 {
781f126890aSEmmanuel Vadot		compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
782f126890aSEmmanuel Vadot		reg = <0x600 0x100>;
783f126890aSEmmanuel Vadot		#power-domain-cells = <0>;
784f126890aSEmmanuel Vadot	};
785f126890aSEmmanuel Vadot
786f126890aSEmmanuel Vadot	prm_core: prm@700 {
787f126890aSEmmanuel Vadot		compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
788f126890aSEmmanuel Vadot		reg = <0x700 0x100>;
789f126890aSEmmanuel Vadot		#reset-cells = <1>;
790f126890aSEmmanuel Vadot		#power-domain-cells = <0>;
791f126890aSEmmanuel Vadot	};
792f126890aSEmmanuel Vadot
793f126890aSEmmanuel Vadot	prm_ivahd: prm@f00 {
794f126890aSEmmanuel Vadot		compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
795f126890aSEmmanuel Vadot		reg = <0xf00 0x100>;
796f126890aSEmmanuel Vadot		#reset-cells = <1>;
797f126890aSEmmanuel Vadot		#power-domain-cells = <0>;
798f126890aSEmmanuel Vadot	};
799f126890aSEmmanuel Vadot
800f126890aSEmmanuel Vadot	prm_cam: prm@1000 {
801f126890aSEmmanuel Vadot		compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
802f126890aSEmmanuel Vadot		reg = <0x1000 0x100>;
803f126890aSEmmanuel Vadot		#power-domain-cells = <0>;
804f126890aSEmmanuel Vadot	};
805f126890aSEmmanuel Vadot
806f126890aSEmmanuel Vadot	prm_dss: prm@1100 {
807f126890aSEmmanuel Vadot		compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
808f126890aSEmmanuel Vadot		reg = <0x1100 0x100>;
809f126890aSEmmanuel Vadot		#power-domain-cells = <0>;
810f126890aSEmmanuel Vadot	};
811f126890aSEmmanuel Vadot
812f126890aSEmmanuel Vadot	prm_gfx: prm@1200 {
813f126890aSEmmanuel Vadot		compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
814f126890aSEmmanuel Vadot		reg = <0x1200 0x100>;
815f126890aSEmmanuel Vadot		#power-domain-cells = <0>;
816f126890aSEmmanuel Vadot	};
817f126890aSEmmanuel Vadot
818f126890aSEmmanuel Vadot	prm_l3init: prm@1300 {
819f126890aSEmmanuel Vadot		compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
820f126890aSEmmanuel Vadot		reg = <0x1300 0x100>;
821f126890aSEmmanuel Vadot		#power-domain-cells = <0>;
822f126890aSEmmanuel Vadot	};
823f126890aSEmmanuel Vadot
824f126890aSEmmanuel Vadot	prm_l4per: prm@1400 {
825f126890aSEmmanuel Vadot		compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
826f126890aSEmmanuel Vadot		reg = <0x1400 0x100>;
827f126890aSEmmanuel Vadot		#power-domain-cells = <0>;
828f126890aSEmmanuel Vadot	};
829f126890aSEmmanuel Vadot
830f126890aSEmmanuel Vadot	prm_cefuse: prm@1600 {
831f126890aSEmmanuel Vadot		compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
832f126890aSEmmanuel Vadot		reg = <0x1600 0x100>;
833f126890aSEmmanuel Vadot		#power-domain-cells = <0>;
834f126890aSEmmanuel Vadot	};
835f126890aSEmmanuel Vadot
836f126890aSEmmanuel Vadot	prm_wkup: prm@1700 {
837f126890aSEmmanuel Vadot		compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
838f126890aSEmmanuel Vadot		reg = <0x1700 0x100>;
839f126890aSEmmanuel Vadot		#power-domain-cells = <0>;
840f126890aSEmmanuel Vadot	};
841f126890aSEmmanuel Vadot
842f126890aSEmmanuel Vadot	prm_emu: prm@1900 {
843f126890aSEmmanuel Vadot		compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
844f126890aSEmmanuel Vadot		reg = <0x1900 0x100>;
845f126890aSEmmanuel Vadot		#power-domain-cells = <0>;
846f126890aSEmmanuel Vadot	};
847f126890aSEmmanuel Vadot
848f126890aSEmmanuel Vadot	prm_dss: prm@1100 {
849f126890aSEmmanuel Vadot		compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
850f126890aSEmmanuel Vadot		reg = <0x1100 0x40>;
851f126890aSEmmanuel Vadot		#power-domain-cells = <0>;
852f126890aSEmmanuel Vadot	};
853f126890aSEmmanuel Vadot
854f126890aSEmmanuel Vadot	prm_device: prm@1b00 {
855f126890aSEmmanuel Vadot		compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
856f126890aSEmmanuel Vadot		reg = <0x1b00 0x40>;
857f126890aSEmmanuel Vadot		#reset-cells = <1>;
858f126890aSEmmanuel Vadot	};
859f126890aSEmmanuel Vadot};
860f126890aSEmmanuel Vadot
861f126890aSEmmanuel Vadot/* Preferred always-on timer for clockevent */
862f126890aSEmmanuel Vadot&timer1_target {
863f126890aSEmmanuel Vadot	ti,no-reset-on-init;
864f126890aSEmmanuel Vadot	ti,no-idle;
865f126890aSEmmanuel Vadot	timer@0 {
866f126890aSEmmanuel Vadot		assigned-clocks = <&l4_wkup_clkctrl OMAP4_TIMER1_CLKCTRL 24>;
867f126890aSEmmanuel Vadot		assigned-clock-parents = <&sys_32k_ck>;
868f126890aSEmmanuel Vadot	};
869f126890aSEmmanuel Vadot};
870