1# Copyright (c) 2023-2024 Analog Devices, Inc.
2# SPDX-License-Identifier: Apache-2.0
3
4description: MAX32 UART
5
6include: [uart-controller.yaml, pinctrl-device.yaml]
7
8compatible: "adi,max32-uart"
9
10properties:
11  reg:
12    required: true
13
14  clocks:
15    required: true
16
17  interrupts:
18    required: true
19
20  pinctrl:
21    type: phandles
22
23  clock-source:
24    type: int
25    enum: [0, 1, 2, 3, 4, 5]
26    description: |
27      Clock source to be used by the UART peripheral. The following options
28      are available:
29      - 0: "ADI_MAX32_PRPH_CLK_SRC_PCLK" Peripheral clock
30      - 1: "ADI_MAX32_PRPH_CLK_SRC_EXTCLK" External Clock
31      - 2: "ADI_MAX32_PRPH_CLK_SRC_IBRO" Internal Baud Rate Oscillator
32      - 3: "ADI_MAX32_PRPH_CLK_SRC_ERFO" External Radio Frequency Oscillator
33      - 4: "ADI_MAX32_PRPH_CLK_SRC_ERTCO" External Real-Time Clock Oscillator
34      - 5: "ADI_MAX32_PRPH_CLK_SRC_INRO" Internal Ring Oscillator
35      The target device might not support all option please take a look on
36      target device user guide
37