^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) %YAML 1.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) ---
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) $id: http://devicetree.org/schemas/watchdog/fsl-imx-wdt.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) $schema: http://devicetree.org/meta-schemas/core.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) title: Freescale i.MX Watchdog Timer (WDT) Controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) maintainers:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - Anson Huang <Anson.Huang@nxp.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) allOf:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) - $ref: "watchdog.yaml#"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) compatible:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) oneOf:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) - const: fsl,imx21-wdt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) - items:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) - enum:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) - fsl,imx8mm-wdt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) - fsl,imx8mn-wdt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) - fsl,imx8mp-wdt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) - fsl,imx8mq-wdt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) - const: fsl,imx21-wdt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) reg:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) maxItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) interrupts:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) maxItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) clocks:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) maxItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) fsl,ext-reset-output:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) $ref: /schemas/types.yaml#/definitions/flag
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) description: |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) If present, the watchdog device is configured to assert its
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) external reset (WDOG_B) instead of issuing a software reset.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) required:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) - compatible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) - interrupts
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) - reg
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) unevaluatedProperties: false
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) examples:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) - |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) #include <dt-bindings/interrupt-controller/arm-gic.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) #include <dt-bindings/clock/imx6qdl-clock.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) watchdog@20bc000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) compatible = "fsl,imx21-wdt";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) reg = <0x020bc000 0x4000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) clocks = <&clks IMX6QDL_CLK_IPG>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) ...