1# Copyright (c) 2024 Microchip Technology Inc. 2# SPDX-License-Identifier: Apache-2.0 3 4description: Microchip MEC5 UART 5 6compatible: "microchip,mec5-uart" 7 8include: [uart-controller.yaml, pinctrl-device.yaml] 9 10properties: 11 reg: 12 required: true 13 14 interrupts: 15 required: true 16 17 pinctrl-0: 18 required: true 19 20 pinctrl-names: 21 required: true 22 23 fifo-mode-disable: 24 type: boolean 25 description: | 26 Disable 16550 FIFO mode. Both 16-byte TX and RX FIFOs will be 27 disabled. UART will revert to a one byte holding register for 28 TX and RX. 29 30 rx-fifo-trig: 31 type: string 32 default: "8" 33 description: | 34 RX FIFO byte count trigger limit. When the number of received bytes 35 reaches this level the UART will signal an interrupt if enabled. 36 enum: 37 - "1" 38 - "4" 39 - "8" 40 - "14" 41 42 use-extclk: 43 type: boolean 44 description: | 45 Optional source of an external UART clock. If present the 46 driver will use this pin as the UART input clock source. 47 The pin should have a 1.8432 MHz clock waveform for normal 48 UART BAUD rates or 48 MHz for high speed BAUD rates. 49 Refer to data sheet for the pin(s) available as external UART 50 clock input. The pin should be added to the default PINCTRL list. 51 Example using external 1.8432MHz clock on MEC5 external UART clock pin. 52 53 clock-frequency = <1843200>; 54 pinctrl-0 = < &uart1_tx_gpio170 &uart1_tx_gpio171 &uart_clk_gpio025>; 55 pinctrl-names = "default"; 56