From: Carlo Caione <ca...@endlessm.com>

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

Signed-off-by: Carlo Caione <ca...@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@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>;
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to