Commit | Line | Data |
---|---|---|
0e97194b ADK |
1 | * Exynos Thermal Management Unit (TMU) |
2 | ||
3 | ** Required properties: | |
4 | ||
5 | - compatible : One of the following: | |
6 | "samsung,exynos4412-tmu" | |
7 | "samsung,exynos4210-tmu" | |
8 | "samsung,exynos5250-tmu" | |
9 | "samsung,exynos5440-tmu" | |
10 | - interrupt-parent : The phandle for the interrupt controller | |
11 | - reg : Address range of the thermal registers. For soc's which has multiple | |
12 | instances of TMU and some registers are shared across all TMU's like | |
13 | interrupt related then 2 set of register has to supplied. First set | |
14 | belongs to each instance of TMU and second set belongs to common TMU | |
15 | registers. | |
16 | - interrupts : Should contain interrupt for thermal system | |
17 | - clocks : The main clock for TMU device | |
18 | - clock-names : Thermal system clock name | |
19 | - vtmu-supply: This entry is optional and provides the regulator node supplying | |
20 | voltage to TMU. If needed this entry can be placed inside | |
21 | board/platform specific dts file. | |
22 | ||
23 | Example 1): | |
24 | ||
25 | tmu@100C0000 { | |
26 | compatible = "samsung,exynos4412-tmu"; | |
27 | interrupt-parent = <&combiner>; | |
28 | reg = <0x100C0000 0x100>; | |
29 | interrupts = <2 4>; | |
30 | clocks = <&clock 383>; | |
31 | clock-names = "tmu_apbif"; | |
32 | status = "disabled"; | |
33 | vtmu-supply = <&tmu_regulator_node>; | |
34 | }; | |
35 | ||
36 | Example 2): | |
37 | ||
38 | tmuctrl_0: tmuctrl@160118 { | |
39 | compatible = "samsung,exynos5440-tmu"; | |
40 | reg = <0x160118 0x230>, <0x160368 0x10>; | |
41 | interrupts = <0 58 0>; | |
42 | clocks = <&clock 21>; | |
43 | clock-names = "tmu_apbif"; | |
44 | }; | |
45 | ||
46 | Note: For multi-instance tmu each instance should have an alias correctly | |
47 | numbered in "aliases" node. | |
48 | ||
49 | Example: | |
50 | ||
51 | aliases { | |
52 | tmuctrl0 = &tmuctrl_0; | |
53 | tmuctrl1 = &tmuctrl_1; | |
54 | tmuctrl2 = &tmuctrl_2; | |
55 | }; |