diff --git a/Documentation/devicetree/bindings/amlogic/meson-wdt.txt b/Documentation/devicetree/bindings/amlogic/meson-wdt.txt new file mode 100644 index 000000000000..bc5a2efb5a10 --- /dev/null +++ b/Documentation/devicetree/bindings/amlogic/meson-wdt.txt @@ -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>; +}; diff --git a/MAINTAINERS b/MAINTAINERS index ed8865715618..53931e8569f8 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13815,6 +13815,7 @@ F: drivers/amlogic/pm/* AMLOGIC WATCHDOG DRIVER SUPPORT M: Bo Yang +F: Documentation/devicetree/bindings/amlogic/meson-wdt.txt F: drivers/amlogic/watchdog/* AMLOGIC LED DRIVER SUPPORT diff --git a/drivers/amlogic/watchdog/meson_wdt_v3.c b/drivers/amlogic/watchdog/meson_wdt_v3.c index 61b602316e26..08faabefe83c 100644 --- a/drivers/amlogic/watchdog/meson_wdt_v3.c +++ b/drivers/amlogic/watchdog/meson_wdt_v3.c @@ -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 */ },