36 lines
1.1 KiB
Diff
36 lines
1.1 KiB
Diff
From 693a56eaf487140adbe114248e3cd22002fc867d Mon Sep 17 00:00:00 2001
|
|
From: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
|
|
Date: Tue, 26 Mar 2013 07:16:26 -0300
|
|
Subject: [PATCH] ARM: mvebu: Add thermal support to Armada XP device tree
|
|
|
|
This patch adds support for the thermal controller available in
|
|
all Armada XP boards. This controller has two 4-byte registers:
|
|
one to read the thermal sensor, the other for sensor initialization.
|
|
|
|
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
|
|
Acked-by: Andrew Lunn <andrew@lunn.ch>
|
|
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
|
|
---
|
|
arch/arm/boot/dts/armada-xp.dtsi | 6 ++++++
|
|
1 file changed, 6 insertions(+)
|
|
|
|
diff --git a/arch/arm/boot/dts/armada-xp.dtsi b/arch/arm/boot/dts/armada-xp.dtsi
|
|
index 1443949..d85fa6a 100644
|
|
--- a/arch/arm/boot/dts/armada-xp.dtsi
|
|
+++ b/arch/arm/boot/dts/armada-xp.dtsi
|
|
@@ -151,5 +151,11 @@
|
|
status = "disabled";
|
|
};
|
|
|
|
+ thermal@d00182b0 {
|
|
+ compatible = "marvell,armadaxp-thermal";
|
|
+ reg = <0xd00182b0 0x4
|
|
+ 0xd00184d0 0x4>;
|
|
+ status = "okay";
|
|
+ };
|
|
};
|
|
};
|
|
--
|
|
1.7.9.5
|
|
|