actions,owl-uart.yaml 976 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/serial/actions,owl-uart.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Actions Semi Owl UART
  7. maintainers:
  8. - Kanak Shilledar <kanakshilledar111@protonmail.com>
  9. allOf:
  10. - $ref: serial.yaml
  11. properties:
  12. compatible:
  13. items:
  14. - enum:
  15. - actions,s500-uart
  16. - actions,s900-uart
  17. - const: actions,owl-uart
  18. reg:
  19. maxItems: 1
  20. interrupts:
  21. maxItems: 1
  22. clocks:
  23. maxItems: 1
  24. required:
  25. - compatible
  26. - reg
  27. - interrupts
  28. unevaluatedProperties: false
  29. examples:
  30. - |
  31. #include <dt-bindings/clock/actions,s500-cmu.h>
  32. #include <dt-bindings/interrupt-controller/arm-gic.h>
  33. uart0: serial@b0126000 {
  34. compatible = "actions,s500-uart", "actions,owl-uart";
  35. reg = <0xb0126000 0x1000>;
  36. clocks = <&cmu CLK_UART0>;
  37. interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
  38. };