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

Unverified Commit d4185043 authored by Harald Geyer's avatar Harald Geyer Committed by Maxime Ripard
Browse files

arm64: dts: allwinner: a64: Add watchdog



Add a watchdog node for the A64, automatically enabled on all boards.
Since the device is compatible with an existing driver, we only reserve
a new compatible string to be used together with the fall back.
Tested on Olimex Teres-I.

Signed-off-by: default avatarHarald Geyer <harald@ccbib.org>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
parent 11239fe6
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -2,8 +2,10 @@ Allwinner SoCs Watchdog timer

Required properties:

- compatible : should be either "allwinner,sun4i-a10-wdt" or
- compatible : should be one of
	"allwinner,sun4i-a10-wdt"
	"allwinner,sun6i-a31-wdt"
	"allwinner,sun50i-a64-wdt","allwinner,sun6i-a31-wdt"
- reg : Specifies base physical address and size of the registers.

Example:
+7 −0
Original line number Diff line number Diff line
@@ -665,5 +665,12 @@
			#address-cells = <1>;
			#size-cells = <0>;
		};

		wdt0: watchdog@1c20ca0 {
			compatible = "allwinner,sun50i-a64-wdt",
				     "allwinner,sun6i-a31-wdt";
			reg = <0x01c20ca0 0x20>;
			interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
		};
	};
};