intel,keembay-wdt.yaml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/watchdog/intel,keembay-wdt.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Intel Keem Bay SoC non-secure Watchdog Timer
  7. maintainers:
  8. - Wan Ahmad Zainie <wan.ahmad.zainie.wan.mohamad@intel.com>
  9. allOf:
  10. - $ref: watchdog.yaml#
  11. properties:
  12. compatible:
  13. enum:
  14. - intel,keembay-wdt
  15. reg:
  16. maxItems: 1
  17. clocks:
  18. maxItems: 1
  19. interrupts:
  20. items:
  21. - description: interrupt specifier for threshold interrupt line
  22. - description: interrupt specifier for timeout interrupt line
  23. interrupt-names:
  24. items:
  25. - const: threshold
  26. - const: timeout
  27. required:
  28. - compatible
  29. - reg
  30. - interrupts
  31. - interrupt-names
  32. - clocks
  33. unevaluatedProperties: false
  34. examples:
  35. - |
  36. #include <dt-bindings/interrupt-controller/arm-gic.h>
  37. #include <dt-bindings/interrupt-controller/irq.h>
  38. #define KEEM_BAY_A53_TIM
  39. watchdog: watchdog@2033009c {
  40. compatible = "intel,keembay-wdt";
  41. reg = <0x2033009c 0x10>;
  42. interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
  43. <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
  44. interrupt-names = "threshold", "timeout";
  45. clocks = <&scmi_clk KEEM_BAY_A53_TIM>;
  46. };
  47. ...