st,asc.yaml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/serial/st,asc.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: STMicroelectronics STi SoCs Serial Port
  7. maintainers:
  8. - Patrice Chotard <patrice.chotard@foss.st.com>
  9. allOf:
  10. - $ref: serial.yaml#
  11. properties:
  12. compatible:
  13. const: st,asc
  14. reg:
  15. maxItems: 1
  16. interrupts:
  17. maxItems: 1
  18. clocks:
  19. maxItems: 1
  20. st,hw-flow-ctrl:
  21. description: When set, enable hardware flow control.
  22. type: boolean
  23. st,force-m1:
  24. description: When set, force asc to be in Mode-1. This is recommended for
  25. high bit rates above 19.2K.
  26. type: boolean
  27. required:
  28. - compatible
  29. - reg
  30. - interrupts
  31. - clocks
  32. unevaluatedProperties: false
  33. examples:
  34. - |
  35. #include <dt-bindings/clock/stih407-clks.h>
  36. #include <dt-bindings/interrupt-controller/arm-gic.h>
  37. serial@9830000 {
  38. compatible = "st,asc";
  39. reg = <0x9830000 0x2c>;
  40. interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
  41. clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
  42. };
  43. ...