diff mbox

ARM: DTS: Amlogic: Add TWD support to Meson8b

Message ID 1449581088-23491-1-git-send-email-carlo@caione.org (mailing list archive)
State New, archived
Headers show

Commit Message

Carlo Caione Dec. 8, 2015, 1:24 p.m. UTC
From: Carlo Caione <carlo@endlessm.com>

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

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

Patch

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@c4300600 {
+		compatible = "arm,cortex-a5-twd-timer";
+		reg = <0xc4300600 0x20>;
+		interrupts = <1 13 0xf08>;
+	};
+
+	watchdog@c4300620 {
+		compatible = "arm,cortex-a5-twd-wdt";
+		reg = <0xc4300620 0x20>;
+		interrupts = <1 14 0xf08>;
+	};
+
 	cpus {
 		#address-cells = <1>;
 		#size-cells = <0>;