description: Gecko USART

compatible: "silabs,gecko-usart"

include: [uart-controller.yaml, pinctrl-device.yaml]

properties:
  reg:
    required: true

  interrupts:
    required: true

  current-speed:
    description: |
      Initial baud rate setting for UART. Defaults to standard baudrate of 115200 if not specified.
    default: 115200

  stop-bits:
    description: |
      Sets the number of stop bits. Defaults to standard of 1 if not specified.
    default: "1"

  data-bits:
    description: |
      Sets the number of data bits. Defaults to standard of 8 if not specified.
    default: 8

  peripheral-id:
    type: int
    description: peripheral ID

  # Note: Not all SoC series support setting individual pin location. If this
  # is a case all location-* properties need to have identical value.

  location-rx:
    type: array
    description: RX pin configuration defined as <location port pin>

  location-tx:
    type: array
    description: TX pin configuration defined as <location port pin>

  location-rts:
    type: array
    description: RTS pin configuration defined as <location port pin>

  location-cts:
    type: array
    description: CTS pin configuration defined as <location port pin>
