xref: /freebsd-src/sys/contrib/device-tree/src/arm/samsung/exynos4210.dtsi (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Samsung's Exynos4210 SoC device tree source
4f126890aSEmmanuel Vadot *
5f126890aSEmmanuel Vadot * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
6f126890aSEmmanuel Vadot *		http://www.samsung.com
7f126890aSEmmanuel Vadot * Copyright (c) 2010-2011 Linaro Ltd.
8f126890aSEmmanuel Vadot *		www.linaro.org
9f126890aSEmmanuel Vadot *
10f126890aSEmmanuel Vadot * Samsung's Exynos4210 SoC device nodes are listed in this file. Exynos4210
11f126890aSEmmanuel Vadot * based board files can include this file and provide values for board specific
12f126890aSEmmanuel Vadot * bindings.
13f126890aSEmmanuel Vadot *
14f126890aSEmmanuel Vadot * Note: This file does not include device nodes for all the controllers in
15f126890aSEmmanuel Vadot * Exynos4210 SoC. As device tree coverage for Exynos4210 increases, additional
16f126890aSEmmanuel Vadot * nodes can be added to this file.
17f126890aSEmmanuel Vadot */
18f126890aSEmmanuel Vadot
19f126890aSEmmanuel Vadot#include "exynos4.dtsi"
20f126890aSEmmanuel Vadot#include "exynos4-cpu-thermal.dtsi"
21f126890aSEmmanuel Vadot
22f126890aSEmmanuel Vadot/ {
23f126890aSEmmanuel Vadot	compatible = "samsung,exynos4210", "samsung,exynos4";
24f126890aSEmmanuel Vadot
25f126890aSEmmanuel Vadot	aliases {
26f126890aSEmmanuel Vadot		pinctrl0 = &pinctrl_0;
27f126890aSEmmanuel Vadot		pinctrl1 = &pinctrl_1;
28f126890aSEmmanuel Vadot		pinctrl2 = &pinctrl_2;
29f126890aSEmmanuel Vadot	};
30f126890aSEmmanuel Vadot
31f126890aSEmmanuel Vadot	bus_acp: bus-acp {
32f126890aSEmmanuel Vadot		compatible = "samsung,exynos-bus";
33f126890aSEmmanuel Vadot		clocks = <&clock CLK_DIV_ACP>;
34f126890aSEmmanuel Vadot		clock-names = "bus";
35f126890aSEmmanuel Vadot		operating-points-v2 = <&bus_acp_opp_table>;
36f126890aSEmmanuel Vadot		status = "disabled";
37f126890aSEmmanuel Vadot
38f126890aSEmmanuel Vadot		bus_acp_opp_table: opp-table {
39f126890aSEmmanuel Vadot			compatible = "operating-points-v2";
40f126890aSEmmanuel Vadot			opp-shared;
41f126890aSEmmanuel Vadot
42f126890aSEmmanuel Vadot			opp-134000000 {
43f126890aSEmmanuel Vadot				opp-hz = /bits/ 64 <134000000>;
44f126890aSEmmanuel Vadot			};
45f126890aSEmmanuel Vadot			opp-160000000 {
46f126890aSEmmanuel Vadot				opp-hz = /bits/ 64 <160000000>;
47f126890aSEmmanuel Vadot			};
48f126890aSEmmanuel Vadot			opp-200000000 {
49f126890aSEmmanuel Vadot				opp-hz = /bits/ 64 <200000000>;
50f126890aSEmmanuel Vadot			};
51f126890aSEmmanuel Vadot		};
52f126890aSEmmanuel Vadot	};
53f126890aSEmmanuel Vadot
54f126890aSEmmanuel Vadot	bus_display: bus-display {
55f126890aSEmmanuel Vadot		compatible = "samsung,exynos-bus";
56f126890aSEmmanuel Vadot		clocks = <&clock CLK_ACLK160>;
57f126890aSEmmanuel Vadot		clock-names = "bus";
58f126890aSEmmanuel Vadot		operating-points-v2 = <&bus_display_opp_table>;
59f126890aSEmmanuel Vadot		status = "disabled";
60f126890aSEmmanuel Vadot
61f126890aSEmmanuel Vadot		bus_display_opp_table: opp-table {
62f126890aSEmmanuel Vadot			compatible = "operating-points-v2";
63f126890aSEmmanuel Vadot			opp-shared;
64f126890aSEmmanuel Vadot
65f126890aSEmmanuel Vadot			opp-100000000 {
66f126890aSEmmanuel Vadot				opp-hz = /bits/ 64 <100000000>;
67f126890aSEmmanuel Vadot			};
68f126890aSEmmanuel Vadot			opp-134000000 {
69f126890aSEmmanuel Vadot				opp-hz = /bits/ 64 <134000000>;
70f126890aSEmmanuel Vadot			};
71f126890aSEmmanuel Vadot			opp-160000000 {
72f126890aSEmmanuel Vadot				opp-hz = /bits/ 64 <160000000>;
73f126890aSEmmanuel Vadot			};
74f126890aSEmmanuel Vadot		};
75f126890aSEmmanuel Vadot	};
76f126890aSEmmanuel Vadot
77f126890aSEmmanuel Vadot	bus_dmc: bus-dmc {
78f126890aSEmmanuel Vadot		compatible = "samsung,exynos-bus";
79f126890aSEmmanuel Vadot		clocks = <&clock CLK_DIV_DMC>;
80f126890aSEmmanuel Vadot		clock-names = "bus";
81f126890aSEmmanuel Vadot		operating-points-v2 = <&bus_dmc_opp_table>;
82f126890aSEmmanuel Vadot		status = "disabled";
83f126890aSEmmanuel Vadot
84f126890aSEmmanuel Vadot		bus_dmc_opp_table: opp-table {
85f126890aSEmmanuel Vadot			compatible = "operating-points-v2";
86f126890aSEmmanuel Vadot			opp-shared;
87f126890aSEmmanuel Vadot
88f126890aSEmmanuel Vadot			opp-134000000 {
89f126890aSEmmanuel Vadot				opp-hz = /bits/ 64 <134000000>;
90f126890aSEmmanuel Vadot				opp-microvolt = <1025000>;
91f126890aSEmmanuel Vadot			};
92f126890aSEmmanuel Vadot			opp-267000000 {
93f126890aSEmmanuel Vadot				opp-hz = /bits/ 64 <267000000>;
94f126890aSEmmanuel Vadot				opp-microvolt = <1050000>;
95f126890aSEmmanuel Vadot			};
96f126890aSEmmanuel Vadot			opp-400000000 {
97f126890aSEmmanuel Vadot				opp-hz = /bits/ 64 <400000000>;
98f126890aSEmmanuel Vadot				opp-microvolt = <1150000>;
99f126890aSEmmanuel Vadot				opp-suspend;
100f126890aSEmmanuel Vadot			};
101f126890aSEmmanuel Vadot		};
102f126890aSEmmanuel Vadot	};
103f126890aSEmmanuel Vadot
104f126890aSEmmanuel Vadot	bus_fsys: bus-fsys {
105f126890aSEmmanuel Vadot		compatible = "samsung,exynos-bus";
106f126890aSEmmanuel Vadot		clocks = <&clock CLK_ACLK133>;
107f126890aSEmmanuel Vadot		clock-names = "bus";
108f126890aSEmmanuel Vadot		operating-points-v2 = <&bus_fsys_opp_table>;
109f126890aSEmmanuel Vadot		status = "disabled";
110f126890aSEmmanuel Vadot
111f126890aSEmmanuel Vadot		bus_fsys_opp_table: opp-table {
112f126890aSEmmanuel Vadot			compatible = "operating-points-v2";
113f126890aSEmmanuel Vadot			opp-shared;
114f126890aSEmmanuel Vadot
115f126890aSEmmanuel Vadot			opp-10000000 {
116f126890aSEmmanuel Vadot				opp-hz = /bits/ 64 <10000000>;
117f126890aSEmmanuel Vadot			};
118f126890aSEmmanuel Vadot			opp-134000000 {
119f126890aSEmmanuel Vadot				opp-hz = /bits/ 64 <134000000>;
120f126890aSEmmanuel Vadot			};
121f126890aSEmmanuel Vadot		};
122f126890aSEmmanuel Vadot	};
123f126890aSEmmanuel Vadot
124f126890aSEmmanuel Vadot	bus_lcd0: bus-lcd0 {
125f126890aSEmmanuel Vadot		compatible = "samsung,exynos-bus";
126f126890aSEmmanuel Vadot		clocks = <&clock CLK_ACLK200>;
127f126890aSEmmanuel Vadot		clock-names = "bus";
128f126890aSEmmanuel Vadot		operating-points-v2 = <&bus_leftbus_opp_table>;
129f126890aSEmmanuel Vadot		status = "disabled";
130f126890aSEmmanuel Vadot	};
131f126890aSEmmanuel Vadot
132f126890aSEmmanuel Vadot	bus_leftbus: bus-leftbus {
133f126890aSEmmanuel Vadot		compatible = "samsung,exynos-bus";
134f126890aSEmmanuel Vadot		clocks = <&clock CLK_DIV_GDL>;
135f126890aSEmmanuel Vadot		clock-names = "bus";
136f126890aSEmmanuel Vadot		operating-points-v2 = <&bus_leftbus_opp_table>;
137f126890aSEmmanuel Vadot		status = "disabled";
138f126890aSEmmanuel Vadot	};
139f126890aSEmmanuel Vadot
140f126890aSEmmanuel Vadot	bus_mfc: bus-mfc {
141f126890aSEmmanuel Vadot		compatible = "samsung,exynos-bus";
142f126890aSEmmanuel Vadot		clocks = <&clock CLK_SCLK_MFC>;
143f126890aSEmmanuel Vadot		clock-names = "bus";
144f126890aSEmmanuel Vadot		operating-points-v2 = <&bus_leftbus_opp_table>;
145f126890aSEmmanuel Vadot		status = "disabled";
146f126890aSEmmanuel Vadot	};
147f126890aSEmmanuel Vadot
148f126890aSEmmanuel Vadot	bus_peri: bus-peri {
149f126890aSEmmanuel Vadot		compatible = "samsung,exynos-bus";
150f126890aSEmmanuel Vadot		clocks = <&clock CLK_ACLK100>;
151f126890aSEmmanuel Vadot		clock-names = "bus";
152f126890aSEmmanuel Vadot		operating-points-v2 = <&bus_peri_opp_table>;
153f126890aSEmmanuel Vadot		status = "disabled";
154f126890aSEmmanuel Vadot
155f126890aSEmmanuel Vadot		bus_peri_opp_table: opp-table {
156f126890aSEmmanuel Vadot			compatible = "operating-points-v2";
157f126890aSEmmanuel Vadot			opp-shared;
158f126890aSEmmanuel Vadot
159f126890aSEmmanuel Vadot			opp-5000000 {
160f126890aSEmmanuel Vadot				opp-hz = /bits/ 64 <5000000>;
161f126890aSEmmanuel Vadot			};
162f126890aSEmmanuel Vadot			opp-100000000 {
163f126890aSEmmanuel Vadot				opp-hz = /bits/ 64 <100000000>;
164f126890aSEmmanuel Vadot			};
165f126890aSEmmanuel Vadot		};
166f126890aSEmmanuel Vadot	};
167f126890aSEmmanuel Vadot
168f126890aSEmmanuel Vadot	bus_rightbus: bus-rightbus {
169f126890aSEmmanuel Vadot		compatible = "samsung,exynos-bus";
170f126890aSEmmanuel Vadot		clocks = <&clock CLK_DIV_GDR>;
171f126890aSEmmanuel Vadot		clock-names = "bus";
172f126890aSEmmanuel Vadot		operating-points-v2 = <&bus_leftbus_opp_table>;
173f126890aSEmmanuel Vadot		status = "disabled";
174f126890aSEmmanuel Vadot	};
175f126890aSEmmanuel Vadot
176f126890aSEmmanuel Vadot	cpus {
177f126890aSEmmanuel Vadot		#address-cells = <1>;
178f126890aSEmmanuel Vadot		#size-cells = <0>;
179f126890aSEmmanuel Vadot
180f126890aSEmmanuel Vadot		cpu-map {
181f126890aSEmmanuel Vadot			cluster0 {
182f126890aSEmmanuel Vadot				core0 {
183f126890aSEmmanuel Vadot					cpu = <&cpu0>;
184f126890aSEmmanuel Vadot				};
185f126890aSEmmanuel Vadot				core1 {
186f126890aSEmmanuel Vadot					cpu = <&cpu1>;
187f126890aSEmmanuel Vadot				};
188f126890aSEmmanuel Vadot			};
189f126890aSEmmanuel Vadot		};
190f126890aSEmmanuel Vadot
191f126890aSEmmanuel Vadot		cpu0: cpu@900 {
192f126890aSEmmanuel Vadot			device_type = "cpu";
193f126890aSEmmanuel Vadot			compatible = "arm,cortex-a9";
194f126890aSEmmanuel Vadot			reg = <0x900>;
195f126890aSEmmanuel Vadot			clocks = <&clock CLK_ARM_CLK>;
196f126890aSEmmanuel Vadot			clock-names = "cpu";
197f126890aSEmmanuel Vadot			clock-latency = <160000>;
198f126890aSEmmanuel Vadot
199f126890aSEmmanuel Vadot			operating-points = <
200f126890aSEmmanuel Vadot				1200000 1250000
201f126890aSEmmanuel Vadot				1000000 1150000
202f126890aSEmmanuel Vadot				800000	1075000
203f126890aSEmmanuel Vadot				500000	975000
204f126890aSEmmanuel Vadot				400000	975000
205f126890aSEmmanuel Vadot				200000	950000
206f126890aSEmmanuel Vadot			>;
207f126890aSEmmanuel Vadot			#cooling-cells = <2>; /* min followed by max */
208f126890aSEmmanuel Vadot		};
209f126890aSEmmanuel Vadot
210f126890aSEmmanuel Vadot		cpu1: cpu@901 {
211f126890aSEmmanuel Vadot			device_type = "cpu";
212f126890aSEmmanuel Vadot			compatible = "arm,cortex-a9";
213f126890aSEmmanuel Vadot			reg = <0x901>;
214f126890aSEmmanuel Vadot			clocks = <&clock CLK_ARM_CLK>;
215f126890aSEmmanuel Vadot			clock-names = "cpu";
216f126890aSEmmanuel Vadot			clock-latency = <160000>;
217f126890aSEmmanuel Vadot
218f126890aSEmmanuel Vadot			operating-points = <
219f126890aSEmmanuel Vadot				1200000 1250000
220f126890aSEmmanuel Vadot				1000000 1150000
221f126890aSEmmanuel Vadot				800000	1075000
222f126890aSEmmanuel Vadot				500000	975000
223f126890aSEmmanuel Vadot				400000	975000
224f126890aSEmmanuel Vadot				200000	950000
225f126890aSEmmanuel Vadot			>;
226f126890aSEmmanuel Vadot			#cooling-cells = <2>; /* min followed by max */
227f126890aSEmmanuel Vadot		};
228f126890aSEmmanuel Vadot	};
229f126890aSEmmanuel Vadot
230f126890aSEmmanuel Vadot	bus_leftbus_opp_table: opp-table-0 {
231f126890aSEmmanuel Vadot		compatible = "operating-points-v2";
232f126890aSEmmanuel Vadot		opp-shared;
233f126890aSEmmanuel Vadot
234f126890aSEmmanuel Vadot		opp-100000000 {
235f126890aSEmmanuel Vadot			opp-hz = /bits/ 64 <100000000>;
236f126890aSEmmanuel Vadot		};
237f126890aSEmmanuel Vadot		opp-160000000 {
238f126890aSEmmanuel Vadot			opp-hz = /bits/ 64 <160000000>;
239f126890aSEmmanuel Vadot		};
240f126890aSEmmanuel Vadot		opp-200000000 {
241f126890aSEmmanuel Vadot			opp-hz = /bits/ 64 <200000000>;
242f126890aSEmmanuel Vadot			opp-suspend;
243f126890aSEmmanuel Vadot		};
244f126890aSEmmanuel Vadot	};
245f126890aSEmmanuel Vadot
246f126890aSEmmanuel Vadot	soc: soc {
247f126890aSEmmanuel Vadot		sysram: sram@2020000 {
248f126890aSEmmanuel Vadot			compatible = "mmio-sram";
249f126890aSEmmanuel Vadot			reg = <0x02020000 0x20000>;
250f126890aSEmmanuel Vadot			#address-cells = <1>;
251f126890aSEmmanuel Vadot			#size-cells = <1>;
252f126890aSEmmanuel Vadot			ranges = <0 0x02020000 0x20000>;
253f126890aSEmmanuel Vadot
254f126890aSEmmanuel Vadot			smp-sram@0 {
255f126890aSEmmanuel Vadot				compatible = "samsung,exynos4210-sysram";
256f126890aSEmmanuel Vadot				reg = <0x0 0x1000>;
257f126890aSEmmanuel Vadot			};
258f126890aSEmmanuel Vadot
259f126890aSEmmanuel Vadot			smp-sram@1f000 {
260f126890aSEmmanuel Vadot				compatible = "samsung,exynos4210-sysram-ns";
261f126890aSEmmanuel Vadot				reg = <0x1f000 0x1000>;
262f126890aSEmmanuel Vadot			};
263f126890aSEmmanuel Vadot		};
264f126890aSEmmanuel Vadot
265f126890aSEmmanuel Vadot		pd_lcd1: power-domain@10023ca0 {
266f126890aSEmmanuel Vadot			compatible = "samsung,exynos4210-pd";
267f126890aSEmmanuel Vadot			reg = <0x10023ca0 0x20>;
268f126890aSEmmanuel Vadot			#power-domain-cells = <0>;
269f126890aSEmmanuel Vadot			label = "LCD1";
270f126890aSEmmanuel Vadot		};
271f126890aSEmmanuel Vadot
272f126890aSEmmanuel Vadot		l2c: cache-controller@10502000 {
273f126890aSEmmanuel Vadot			compatible = "arm,pl310-cache";
274f126890aSEmmanuel Vadot			reg = <0x10502000 0x1000>;
275f126890aSEmmanuel Vadot			cache-unified;
276f126890aSEmmanuel Vadot			cache-level = <2>;
277f126890aSEmmanuel Vadot			prefetch-data = <1>;
278f126890aSEmmanuel Vadot			prefetch-instr = <1>;
279f126890aSEmmanuel Vadot			arm,tag-latency = <2 2 1>;
280f126890aSEmmanuel Vadot			arm,data-latency = <2 2 1>;
281f126890aSEmmanuel Vadot		};
282f126890aSEmmanuel Vadot
283f126890aSEmmanuel Vadot		mct: timer@10050000 {
284f126890aSEmmanuel Vadot			compatible = "samsung,exynos4210-mct";
285f126890aSEmmanuel Vadot			reg = <0x10050000 0x800>;
286f126890aSEmmanuel Vadot			clocks = <&clock CLK_FIN_PLL>, <&clock CLK_MCT>;
287f126890aSEmmanuel Vadot			clock-names = "fin_pll", "mct";
288f126890aSEmmanuel Vadot			interrupts-extended = <&gic GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
289f126890aSEmmanuel Vadot					      <&gic GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
290f126890aSEmmanuel Vadot					      <&combiner 12 6>,
291f126890aSEmmanuel Vadot					      <&combiner 12 7>,
292f126890aSEmmanuel Vadot					      <&gic GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
293f126890aSEmmanuel Vadot					      <&gic GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
294f126890aSEmmanuel Vadot		};
295f126890aSEmmanuel Vadot
296f126890aSEmmanuel Vadot		watchdog: watchdog@10060000 {
297f126890aSEmmanuel Vadot			compatible = "samsung,s3c6410-wdt";
298f126890aSEmmanuel Vadot			reg = <0x10060000 0x100>;
299f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
300f126890aSEmmanuel Vadot			clocks = <&clock CLK_WDT>;
301f126890aSEmmanuel Vadot			clock-names = "watchdog";
302f126890aSEmmanuel Vadot		};
303f126890aSEmmanuel Vadot
304f126890aSEmmanuel Vadot		clock: clock-controller@10030000 {
305f126890aSEmmanuel Vadot			compatible = "samsung,exynos4210-clock";
306f126890aSEmmanuel Vadot			reg = <0x10030000 0x20000>;
307f126890aSEmmanuel Vadot			#clock-cells = <1>;
308f126890aSEmmanuel Vadot		};
309f126890aSEmmanuel Vadot
310f126890aSEmmanuel Vadot		pinctrl_0: pinctrl@11400000 {
311f126890aSEmmanuel Vadot			compatible = "samsung,exynos4210-pinctrl";
312f126890aSEmmanuel Vadot			reg = <0x11400000 0x1000>;
313f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
314f126890aSEmmanuel Vadot		};
315f126890aSEmmanuel Vadot
316f126890aSEmmanuel Vadot		pinctrl_1: pinctrl@11000000 {
317f126890aSEmmanuel Vadot			compatible = "samsung,exynos4210-pinctrl";
318f126890aSEmmanuel Vadot			reg = <0x11000000 0x1000>;
319f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
320f126890aSEmmanuel Vadot
321f126890aSEmmanuel Vadot			wakup_eint: wakeup-interrupt-controller {
322f126890aSEmmanuel Vadot				compatible = "samsung,exynos4210-wakeup-eint";
323f126890aSEmmanuel Vadot				interrupt-parent = <&gic>;
324f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
325f126890aSEmmanuel Vadot			};
326f126890aSEmmanuel Vadot		};
327f126890aSEmmanuel Vadot
328f126890aSEmmanuel Vadot		pinctrl_2: pinctrl@3860000 {
329f126890aSEmmanuel Vadot			compatible = "samsung,exynos4210-pinctrl";
330f126890aSEmmanuel Vadot			reg = <0x03860000 0x1000>;
331f126890aSEmmanuel Vadot		};
332f126890aSEmmanuel Vadot
333f126890aSEmmanuel Vadot		g2d: g2d@12800000 {
334f126890aSEmmanuel Vadot			compatible = "samsung,s5pv210-g2d";
335f126890aSEmmanuel Vadot			reg = <0x12800000 0x1000>;
336f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
337f126890aSEmmanuel Vadot			clocks = <&clock CLK_SCLK_FIMG2D>, <&clock CLK_G2D>;
338f126890aSEmmanuel Vadot			clock-names = "sclk_fimg2d", "fimg2d";
339f126890aSEmmanuel Vadot			power-domains = <&pd_lcd0>;
340f126890aSEmmanuel Vadot			iommus = <&sysmmu_g2d>;
341f126890aSEmmanuel Vadot		};
342f126890aSEmmanuel Vadot
343f126890aSEmmanuel Vadot		ppmu_acp: ppmu@10ae0000 {
344f126890aSEmmanuel Vadot			compatible = "samsung,exynos-ppmu";
345f126890aSEmmanuel Vadot			reg = <0x10ae0000 0x2000>;
346f126890aSEmmanuel Vadot			status = "disabled";
347f126890aSEmmanuel Vadot		};
348f126890aSEmmanuel Vadot
349f126890aSEmmanuel Vadot		ppmu_lcd1: ppmu@12240000 {
350f126890aSEmmanuel Vadot			compatible = "samsung,exynos-ppmu";
351f126890aSEmmanuel Vadot			reg = <0x12240000 0x2000>;
352f126890aSEmmanuel Vadot			clocks = <&clock CLK_PPMULCD1>;
353f126890aSEmmanuel Vadot			clock-names = "ppmu";
354f126890aSEmmanuel Vadot			status = "disabled";
355f126890aSEmmanuel Vadot		};
356f126890aSEmmanuel Vadot
357f126890aSEmmanuel Vadot		sysmmu_g2d: sysmmu@12a20000 {
358f126890aSEmmanuel Vadot			compatible = "samsung,exynos-sysmmu";
359f126890aSEmmanuel Vadot			reg = <0x12a20000 0x1000>;
360f126890aSEmmanuel Vadot			interrupt-parent = <&combiner>;
361f126890aSEmmanuel Vadot			interrupts = <4 7>;
362f126890aSEmmanuel Vadot			clock-names = "sysmmu", "master";
363f126890aSEmmanuel Vadot			clocks = <&clock CLK_SMMU_G2D>, <&clock CLK_G2D>;
364f126890aSEmmanuel Vadot			power-domains = <&pd_lcd0>;
365f126890aSEmmanuel Vadot			#iommu-cells = <0>;
366f126890aSEmmanuel Vadot		};
367f126890aSEmmanuel Vadot
368f126890aSEmmanuel Vadot		sysmmu_fimd1: sysmmu@12220000 {
369f126890aSEmmanuel Vadot			compatible = "samsung,exynos-sysmmu";
370f126890aSEmmanuel Vadot			interrupt-parent = <&combiner>;
371f126890aSEmmanuel Vadot			reg = <0x12220000 0x1000>;
372f126890aSEmmanuel Vadot			interrupts = <5 3>;
373f126890aSEmmanuel Vadot			clock-names = "sysmmu", "master";
374f126890aSEmmanuel Vadot			clocks = <&clock CLK_SMMU_FIMD1>, <&clock CLK_FIMD1>;
375f126890aSEmmanuel Vadot			power-domains = <&pd_lcd1>;
376f126890aSEmmanuel Vadot			#iommu-cells = <0>;
377f126890aSEmmanuel Vadot		};
378f126890aSEmmanuel Vadot	};
379f126890aSEmmanuel Vadot};
380f126890aSEmmanuel Vadot
381f126890aSEmmanuel Vadot&cpu_alert0 {
382f126890aSEmmanuel Vadot	temperature = <85000>; /* millicelsius */
383f126890aSEmmanuel Vadot};
384f126890aSEmmanuel Vadot
385f126890aSEmmanuel Vadot&cpu_alert1 {
386f126890aSEmmanuel Vadot	temperature = <100000>; /* millicelsius */
387f126890aSEmmanuel Vadot};
388f126890aSEmmanuel Vadot
389f126890aSEmmanuel Vadot&cpu_alert2 {
390f126890aSEmmanuel Vadot	temperature = <110000>; /* millicelsius */
391f126890aSEmmanuel Vadot};
392f126890aSEmmanuel Vadot
393f126890aSEmmanuel Vadot&cpu_thermal {
394*84943d6fSEmmanuel Vadot	/*
395*84943d6fSEmmanuel Vadot	 * Exynos 4210 supports thermal interrupts, but only for the rising
396*84943d6fSEmmanuel Vadot	 * threshold.  This means that polling is not needed for preventing
397*84943d6fSEmmanuel Vadot	 * overheating, but only for decreasing cooling when possible. Hence we
398*84943d6fSEmmanuel Vadot	 * poll with a high delay.  Ideally, we would disable polling for the
399*84943d6fSEmmanuel Vadot	 * first trip point, but this isn't really possible without outrageous
400*84943d6fSEmmanuel Vadot	 * hacks.
401*84943d6fSEmmanuel Vadot	 */
402*84943d6fSEmmanuel Vadot	polling-delay-passive = <5000>;
403*84943d6fSEmmanuel Vadot	polling-delay = <5000>;
404f126890aSEmmanuel Vadot};
405f126890aSEmmanuel Vadot
406f126890aSEmmanuel Vadot&gic {
407f126890aSEmmanuel Vadot	cpu-offset = <0x8000>;
408f126890aSEmmanuel Vadot};
409f126890aSEmmanuel Vadot
410f126890aSEmmanuel Vadot&camera {
411f126890aSEmmanuel Vadot	clocks = <&clock CLK_SCLK_CAM0>, <&clock CLK_SCLK_CAM1>,
412f126890aSEmmanuel Vadot		 <&clock CLK_PIXELASYNCM0>, <&clock CLK_PIXELASYNCM1>;
413f126890aSEmmanuel Vadot	clock-names = "sclk_cam0", "sclk_cam1", "pxl_async0", "pxl_async1";
414f126890aSEmmanuel Vadot};
415f126890aSEmmanuel Vadot
416f126890aSEmmanuel Vadot&combiner {
417f126890aSEmmanuel Vadot	samsung,combiner-nr = <16>;
418f126890aSEmmanuel Vadot	interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
419f126890aSEmmanuel Vadot		     <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
420f126890aSEmmanuel Vadot		     <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
421f126890aSEmmanuel Vadot		     <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
422f126890aSEmmanuel Vadot		     <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
423f126890aSEmmanuel Vadot		     <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
424f126890aSEmmanuel Vadot		     <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
425f126890aSEmmanuel Vadot		     <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
426f126890aSEmmanuel Vadot		     <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
427f126890aSEmmanuel Vadot		     <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
428f126890aSEmmanuel Vadot		     <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
429f126890aSEmmanuel Vadot		     <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
430f126890aSEmmanuel Vadot		     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
431f126890aSEmmanuel Vadot		     <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
432f126890aSEmmanuel Vadot		     <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
433f126890aSEmmanuel Vadot		     <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
434f126890aSEmmanuel Vadot};
435f126890aSEmmanuel Vadot
436f126890aSEmmanuel Vadot&fimc_0 {
437f126890aSEmmanuel Vadot	samsung,pix-limits = <4224 8192 1920 4224>;
438f126890aSEmmanuel Vadot	samsung,mainscaler-ext;
439f126890aSEmmanuel Vadot	samsung,cam-if;
440f126890aSEmmanuel Vadot};
441f126890aSEmmanuel Vadot
442f126890aSEmmanuel Vadot&fimc_1 {
443f126890aSEmmanuel Vadot	samsung,pix-limits = <4224 8192 1920 4224>;
444f126890aSEmmanuel Vadot	samsung,mainscaler-ext;
445f126890aSEmmanuel Vadot	samsung,cam-if;
446f126890aSEmmanuel Vadot};
447f126890aSEmmanuel Vadot
448f126890aSEmmanuel Vadot&fimc_2 {
449f126890aSEmmanuel Vadot	samsung,pix-limits = <4224 8192 1920 4224>;
450f126890aSEmmanuel Vadot	samsung,mainscaler-ext;
451f126890aSEmmanuel Vadot	samsung,lcd-wb;
452f126890aSEmmanuel Vadot};
453f126890aSEmmanuel Vadot
454f126890aSEmmanuel Vadot&fimc_3 {
455f126890aSEmmanuel Vadot	samsung,pix-limits = <1920 8192 1366 1920>;
456f126890aSEmmanuel Vadot	samsung,rotators = <0>;
457f126890aSEmmanuel Vadot	samsung,mainscaler-ext;
458f126890aSEmmanuel Vadot	samsung,lcd-wb;
459f126890aSEmmanuel Vadot};
460f126890aSEmmanuel Vadot
461f126890aSEmmanuel Vadot&gpu {
462f126890aSEmmanuel Vadot	interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>,
463f126890aSEmmanuel Vadot		     <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
464f126890aSEmmanuel Vadot		     <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
465f126890aSEmmanuel Vadot		     <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
466f126890aSEmmanuel Vadot		     <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
467f126890aSEmmanuel Vadot		     <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
468f126890aSEmmanuel Vadot		     <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
469f126890aSEmmanuel Vadot		     <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
470f126890aSEmmanuel Vadot		     <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
471f126890aSEmmanuel Vadot		     <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
472f126890aSEmmanuel Vadot	interrupt-names = "gp",
473f126890aSEmmanuel Vadot			  "gpmmu",
474f126890aSEmmanuel Vadot			  "pp0",
475f126890aSEmmanuel Vadot			  "ppmmu0",
476f126890aSEmmanuel Vadot			  "pp1",
477f126890aSEmmanuel Vadot			  "ppmmu1",
478f126890aSEmmanuel Vadot			  "pp2",
479f126890aSEmmanuel Vadot			  "ppmmu2",
480f126890aSEmmanuel Vadot			  "pp3",
481f126890aSEmmanuel Vadot			  "ppmmu3";
482f126890aSEmmanuel Vadot	operating-points-v2 = <&gpu_opp_table>;
483f126890aSEmmanuel Vadot
484f126890aSEmmanuel Vadot	gpu_opp_table: opp-table {
485f126890aSEmmanuel Vadot		compatible = "operating-points-v2";
486f126890aSEmmanuel Vadot
487f126890aSEmmanuel Vadot		opp-160000000 {
488f126890aSEmmanuel Vadot			opp-hz = /bits/ 64 <160000000>;
489f126890aSEmmanuel Vadot			opp-microvolt = <950000>;
490f126890aSEmmanuel Vadot		};
491f126890aSEmmanuel Vadot		opp-267000000 {
492f126890aSEmmanuel Vadot			opp-hz = /bits/ 64 <267000000>;
493f126890aSEmmanuel Vadot			opp-microvolt = <1050000>;
494f126890aSEmmanuel Vadot		};
495f126890aSEmmanuel Vadot	};
496f126890aSEmmanuel Vadot};
497f126890aSEmmanuel Vadot
498f126890aSEmmanuel Vadot&mdma1 {
499f126890aSEmmanuel Vadot	power-domains = <&pd_lcd0>;
500f126890aSEmmanuel Vadot};
501f126890aSEmmanuel Vadot
502f126890aSEmmanuel Vadot&mixer {
503f126890aSEmmanuel Vadot	clock-names = "mixer", "hdmi", "sclk_hdmi", "vp", "mout_mixer",
504f126890aSEmmanuel Vadot		      "sclk_mixer";
505f126890aSEmmanuel Vadot	clocks = <&clock CLK_MIXER>, <&clock CLK_HDMI>,
506f126890aSEmmanuel Vadot		 <&clock CLK_SCLK_HDMI>, <&clock CLK_VP>,
507f126890aSEmmanuel Vadot		 <&clock CLK_MOUT_MIXER>, <&clock CLK_SCLK_MIXER>;
508f126890aSEmmanuel Vadot};
509f126890aSEmmanuel Vadot
510f126890aSEmmanuel Vadot&pmu {
511f126890aSEmmanuel Vadot	interrupts = <2 2>, <3 2>;
512f126890aSEmmanuel Vadot	interrupt-affinity = <&cpu0>, <&cpu1>;
513f126890aSEmmanuel Vadot	status = "okay";
514f126890aSEmmanuel Vadot};
515f126890aSEmmanuel Vadot
516f126890aSEmmanuel Vadot&pmu_system_controller {
517f126890aSEmmanuel Vadot	clock-names = "clkout0", "clkout1", "clkout2", "clkout3",
518f126890aSEmmanuel Vadot			"clkout4", "clkout8", "clkout9";
519f126890aSEmmanuel Vadot	clocks = <&clock CLK_OUT_DMC>, <&clock CLK_OUT_TOP>,
520f126890aSEmmanuel Vadot		<&clock CLK_OUT_LEFTBUS>, <&clock CLK_OUT_RIGHTBUS>,
521f126890aSEmmanuel Vadot		<&clock CLK_OUT_CPU>, <&clock CLK_XXTI>, <&clock CLK_XUSBXTI>;
522f126890aSEmmanuel Vadot	#clock-cells = <1>;
523f126890aSEmmanuel Vadot};
524f126890aSEmmanuel Vadot
525f126890aSEmmanuel Vadot&rotator {
526f126890aSEmmanuel Vadot	power-domains = <&pd_lcd0>;
527f126890aSEmmanuel Vadot};
528f126890aSEmmanuel Vadot
529f126890aSEmmanuel Vadot&sysmmu_rotator {
530f126890aSEmmanuel Vadot	power-domains = <&pd_lcd0>;
531f126890aSEmmanuel Vadot};
532f126890aSEmmanuel Vadot
533f126890aSEmmanuel Vadot&tmu {
534f126890aSEmmanuel Vadot	compatible = "samsung,exynos4210-tmu";
535f126890aSEmmanuel Vadot	clocks = <&clock CLK_TMU_APBIF>;
536f126890aSEmmanuel Vadot	clock-names = "tmu_apbif";
537f126890aSEmmanuel Vadot};
538f126890aSEmmanuel Vadot
539f126890aSEmmanuel Vadot#include "exynos4210-pinctrl.dtsi"
540