diff options
author | Miquel Raynal <miquel.raynal@free-electrons.com> | 2017-12-18 09:36:43 -0500 |
---|---|---|
committer | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2017-12-18 11:13:17 -0500 |
commit | 4cada03801992d09ccceaf5f462e9dadb75a9613 (patch) | |
tree | 84e7bf683ebfcc59ae8e07f3350295d27f05903d | |
parent | e8d66e7927b2a15310df0eb44a67d120ea147a59 (diff) |
ARM64: dts: marvell: Add thermal support for A7K/A8K
Add thermal DT nodes in AP806 and CP110 master/slave DTSI files.
Suggested-by: David Sniatkiwicz <davidsn@marvell.com>
Signed-off-by: Miquel Raynal <miquel.raynal@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-ap806.dtsi | 6 | ||||
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi | 6 | ||||
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi | 6 |
3 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/marvell/armada-ap806.dtsi b/arch/arm64/boot/dts/marvell/armada-ap806.dtsi index 1c4dd8ab9ad5..bbc5a4d3acac 100644 --- a/arch/arm64/boot/dts/marvell/armada-ap806.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-ap806.dtsi | |||
@@ -285,6 +285,12 @@ | |||
285 | gpio-ranges = <&ap_pinctrl 0 0 20>; | 285 | gpio-ranges = <&ap_pinctrl 0 0 20>; |
286 | }; | 286 | }; |
287 | }; | 287 | }; |
288 | |||
289 | ap_thermal: thermal@6f808C { | ||
290 | compatible = "marvell,armada-ap806-thermal"; | ||
291 | reg = <0x6f808C 0x4>, | ||
292 | <0x6f8084 0x8>; | ||
293 | }; | ||
288 | }; | 294 | }; |
289 | }; | 295 | }; |
290 | }; | 296 | }; |
diff --git a/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi b/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi index e3b64d03fbd8..ecbc76d26dff 100644 --- a/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi | |||
@@ -182,6 +182,12 @@ | |||
182 | interrupts = <ICU_GRP_NSR 77 IRQ_TYPE_LEVEL_HIGH>; | 182 | interrupts = <ICU_GRP_NSR 77 IRQ_TYPE_LEVEL_HIGH>; |
183 | }; | 183 | }; |
184 | 184 | ||
185 | cpm_thermal: thermal@400078 { | ||
186 | compatible = "marvell,armada-cp110-thermal"; | ||
187 | reg = <0x400078 0x4>, | ||
188 | <0x400070 0x8>; | ||
189 | }; | ||
190 | |||
185 | cpm_syscon0: system-controller@440000 { | 191 | cpm_syscon0: system-controller@440000 { |
186 | compatible = "syscon", "simple-mfd"; | 192 | compatible = "syscon", "simple-mfd"; |
187 | reg = <0x440000 0x2000>; | 193 | reg = <0x440000 0x2000>; |
diff --git a/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi b/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi index cb1fb49ccf81..6a07c786b788 100644 --- a/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi | |||
@@ -182,6 +182,12 @@ | |||
182 | interrupts = <ICU_GRP_NSR 77 IRQ_TYPE_LEVEL_HIGH>; | 182 | interrupts = <ICU_GRP_NSR 77 IRQ_TYPE_LEVEL_HIGH>; |
183 | }; | 183 | }; |
184 | 184 | ||
185 | cps_thermal: thermal@400078 { | ||
186 | compatible = "marvell,armada-cp110-thermal"; | ||
187 | reg = <0x400078 0x4>, | ||
188 | <0x400070 0x8>; | ||
189 | }; | ||
190 | |||
185 | cps_syscon0: system-controller@440000 { | 191 | cps_syscon0: system-controller@440000 { |
186 | compatible = "syscon", "simple-mfd"; | 192 | compatible = "syscon", "simple-mfd"; |
187 | reg = <0x440000 0x2000>; | 193 | reg = <0x440000 0x2000>; |