aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2016-05-31 14:39:03 -0400
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>2016-06-06 07:15:07 -0400
commitc1a3b0681717ee0a4f52d8cb8441842cbda654a6 (patch)
tree5378ecceadf51cc522bbd58980c96064107da639
parent298ecb8959c1439a76edd547068cf47aca40add2 (diff)
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 <krzk@kernel.org> Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
-rw-r--r--arch/arm/boot/dts/exynos5410.dtsi55
1 files changed, 55 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos5410.dtsi b/arch/arm/boot/dts/exynos5410.dtsi
index 1ed83b897f9e..edd9544710dc 100644
--- a/arch/arm/boot/dts/exynos5410.dtsi
+++ b/arch/arm/boot/dts/exynos5410.dtsi
@@ -82,6 +82,42 @@
82 #clock-cells = <1>; 82 #clock-cells = <1>;
83 }; 83 };
84 84
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
85 mmc_0: mmc@12200000 { 121 mmc_0: mmc@12200000 {
86 compatible = "samsung,exynos5250-dw-mshc"; 122 compatible = "samsung,exynos5250-dw-mshc";
87 reg = <0x12200000 0x1000>; 123 reg = <0x12200000 0x1000>;
@@ -148,6 +184,25 @@
148 interrupts = <0 47 0>; 184 interrupts = <0 47 0>;
149 }; 185 };
150 }; 186 };
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 };
151}; 206};
152 207
153&i2c_0 { 208&i2c_0 {