1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/serial/fsl-lpuart.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Freescale low power universal asynchronous receiver/transmitter (lpuart) 8 9maintainers: 10 - Fugang Duan <fugang.duan@nxp.com> 11 12allOf: 13 - $ref: rs485.yaml# 14 - $ref: serial.yaml# 15 16properties: 17 compatible: 18 oneOf: 19 - enum: 20 - fsl,vf610-lpuart 21 - fsl,ls1021a-lpuart 22 - fsl,ls1028a-lpuart 23 - fsl,imx7ulp-lpuart 24 - fsl,imx8qxp-lpuart 25 - fsl,imxrt1050-lpuart 26 - items: 27 - enum: 28 - fsl,imx93-lpuart 29 - fsl,imx8ulp-lpuart 30 - const: fsl,imx7ulp-lpuart 31 - items: 32 - enum: 33 - fsl,imx8qm-lpuart 34 - fsl,imx8dxl-lpuart 35 - const: fsl,imx8qxp-lpuart 36 - items: 37 - const: fsl,imxrt1050-lpuart 38 - const: fsl,imxrt1170-lpuart 39 40 reg: 41 maxItems: 1 42 43 interrupts: 44 maxItems: 1 45 46 clocks: 47 items: 48 - description: ipg clock 49 - description: baud clock 50 minItems: 1 51 52 clock-names: 53 items: 54 - const: ipg 55 - const: baud 56 minItems: 1 57 58 dmas: 59 items: 60 - description: DMA controller phandle and request line for RX 61 - description: DMA controller phandle and request line for TX 62 63 dma-names: 64 items: 65 - const: rx 66 - const: tx 67 68required: 69 - compatible 70 - reg 71 - interrupts 72 - clocks 73 - clock-names 74 75unevaluatedProperties: false 76 77examples: 78 - | 79 #include <dt-bindings/clock/vf610-clock.h> 80 81 serial@40027000 { 82 compatible = "fsl,vf610-lpuart"; 83 reg = <0x40027000 0x1000>; 84 interrupts = <0 61 0x00>; 85 clocks = <&clks VF610_CLK_UART0>; 86 clock-names = "ipg"; 87 dmas = <&edma0 0 2>, <&edma0 0 3>; 88 dma-names = "rx","tx"; 89 }; 90