Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a10837ba authored by Ezequiel Garcia's avatar Ezequiel Garcia Committed by Jason Cooper
Browse files

ARM: mvebu: Add thermal support to Armada 370 device tree



This patch adds support for the thermal controller available in
all Armada 370 boards. This controller has two 4-byte registers:
one to read the thermal sensor, the other for sensor initialization.

Signed-off-by: default avatarEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Acked-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent 693a56ea
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -153,5 +153,11 @@
			clocks = <&coreclk 0>;
		};

		thermal@d0018300 {
			compatible = "marvell,armada370-thermal";
			reg = <0xd0018300 0x4
			       0xd0018304 0x4>;
			status = "okay";
		};
	};
};