[PATCH] ARM: DTS: Amlogic: Add TWD support to Meson8b

Carlo Caione carlo at caione.org
Tue Dec 8 05:24:48 PST 2015


From: Carlo Caione <carlo at endlessm.com>

Add support for the ARM TWD Timer and Watchdog to the Amlogic Meson8b
device tree.

Signed-off-by: Carlo Caione <carlo at endlessm.com>
---
 arch/arm/boot/dts/meson8b.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi
index ee352bf..4860854 100644
--- a/arch/arm/boot/dts/meson8b.dtsi
+++ b/arch/arm/boot/dts/meson8b.dtsi
@@ -51,6 +51,18 @@
 / {
 	interrupt-parent = <&gic>;
 
+	timer at c4300600 {
+		compatible = "arm,cortex-a5-twd-timer";
+		reg = <0xc4300600 0x20>;
+		interrupts = <1 13 0xf08>;
+	};
+
+	watchdog at c4300620 {
+		compatible = "arm,cortex-a5-twd-wdt";
+		reg = <0xc4300620 0x20>;
+		interrupts = <1 14 0xf08>;
+	};
+
 	cpus {
 		#address-cells = <1>;
 		#size-cells = <0>;
-- 
1.9.1




More information about the linux-arm-kernel mailing list