watchdog: meson: add watchdog support for txl

PD#168480: add watchdog support for txl

Change-Id: I53ac23d1fedec155871ecec3229dedeb13ca7076
Signed-off-by: Bo Yang <bo.yang@amlogic.com>
This commit is contained in:
Bo Yang
2018-06-28 14:39:55 +08:00
committed by Yixun Lan
parent 58801f8eb7
commit c6f2253cee
3 changed files with 24 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
Meson SoCs Watchdog timer
Required properties:
- compatible : should be one of
"amlogic,meson-gxbb-wdt"
"amlogic,meson-gxl-wdt"
"amlogic,meson-axg-wdt"
"amlogic,meson-txl-wdt"
"amlogic,meson-txlx-wdt"
"amlogic,meson-g12a-wdt"
- reg : Specifies base physical address and size of the registers.
- clocks : Should be a phandle to the Watchdog clock source, for GXBB the xtal
is the default clock source.
Example:
wdt: watchdog@98d0 {
compatible = "amlogic,meson-gxbb-wdt";
reg = <0 0x98d0 0x0 0x10>;
clocks = <&xtal>;
};

View File

@@ -13815,6 +13815,7 @@ F: drivers/amlogic/pm/*
AMLOGIC WATCHDOG DRIVER SUPPORT
M: Bo Yang <bo.yang@amlogic.com>
F: Documentation/devicetree/bindings/amlogic/meson-wdt.txt
F: drivers/amlogic/watchdog/*
AMLOGIC LED DRIVER SUPPORT

View File

@@ -182,6 +182,7 @@ static const struct of_device_id meson_wdt_dt_ids[] = {
{ .compatible = "amlogic,meson-gxbb-wdt", },
{ .compatible = "amlogic,meson-gxl-wdt", },
{ .compatible = "amlogic,meson-axg-wdt", },
{ .compatible = "amlogic,meson-txl-wdt", },
{ .compatible = "amlogic,meson-txlx-wdt", },
{ .compatible = "amlogic,meson-g12a-wdt", },
{ /* sentinel */ },