Skip to content

Commit c1a3b06

Browse files
committed
ARM: dts: exynos: Add Thermal Management Unit to Exynos5410
Add nodes for Thermal Management Unit to exynos5410.dtsi. Use the same compatible as for Exynos5420 however without second base for TRIMINFO register and without TMU for GPU. Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Javier Martinez Canillas <[email protected]>
1 parent 298ecb8 commit c1a3b06

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

arch/arm/boot/dts/exynos5410.dtsi

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,42 @@
8282
#clock-cells = <1>;
8383
};
8484

85+
tmu_cpu0: tmu@10060000 {
86+
compatible = "samsung,exynos5420-tmu";
87+
reg = <0x10060000 0x100>;
88+
interrupts = <GIC_SPI 65 0>;
89+
clocks = <&clock CLK_TMU>;
90+
clock-names = "tmu_apbif";
91+
#include "exynos4412-tmu-sensor-conf.dtsi"
92+
};
93+
94+
tmu_cpu1: tmu@10064000 {
95+
compatible = "samsung,exynos5420-tmu";
96+
reg = <0x10064000 0x100>;
97+
interrupts = <GIC_SPI 183 0>;
98+
clocks = <&clock CLK_TMU>;
99+
clock-names = "tmu_apbif";
100+
#include "exynos4412-tmu-sensor-conf.dtsi"
101+
};
102+
103+
tmu_cpu2: tmu@10068000 {
104+
compatible = "samsung,exynos5420-tmu";
105+
reg = <0x10068000 0x100>;
106+
interrupts = <GIC_SPI 184 0>;
107+
clocks = <&clock CLK_TMU>;
108+
clock-names = "tmu_apbif";
109+
#include "exynos4412-tmu-sensor-conf.dtsi"
110+
};
111+
112+
tmu_cpu3: tmu@1006c000 {
113+
compatible = "samsung,exynos5420-tmu";
114+
reg = <0x1006c000 0x100>;
115+
interrupts = <GIC_SPI 185 0>;
116+
clocks = <&clock CLK_TMU>;
117+
clock-names = "tmu_apbif";
118+
#include "exynos4412-tmu-sensor-conf.dtsi"
119+
};
120+
85121
mmc_0: mmc@12200000 {
86122
compatible = "samsung,exynos5250-dw-mshc";
87123
reg = <0x12200000 0x1000>;
@@ -148,6 +184,25 @@
148184
interrupts = <0 47 0>;
149185
};
150186
};
187+
188+
thermal-zones {
189+
cpu0_thermal: cpu0-thermal {
190+
thermal-sensors = <&tmu_cpu0>;
191+
#include "exynos5420-trip-points.dtsi"
192+
};
193+
cpu1_thermal: cpu1-thermal {
194+
thermal-sensors = <&tmu_cpu1>;
195+
#include "exynos5420-trip-points.dtsi"
196+
};
197+
cpu2_thermal: cpu2-thermal {
198+
thermal-sensors = <&tmu_cpu2>;
199+
#include "exynos5420-trip-points.dtsi"
200+
};
201+
cpu3_thermal: cpu3-thermal {
202+
thermal-sensors = <&tmu_cpu3>;
203+
#include "exynos5420-trip-points.dtsi"
204+
};
205+
};
151206
};
152207

153208
&i2c_0 {

0 commit comments

Comments
 (0)