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 15properties: 16 compatible: 17 oneOf: 18 - enum: 19 - fsl,vf610-lpuart 20 - fsl,ls1021a-lpuart 21 - fsl,ls1028a-lpuart 22 - fsl,imx7ulp-lpuart 23 - fsl,imx8qxp-lpuart 24 - fsl,imxrt1050-lpuart 25 - items: 26 - enum: 27 - fsl,imx93-lpuart 28 - fsl,imx8ulp-lpuart 29 - const: fsl,imx7ulp-lpuart 30 - items: 31 - enum: 32 - fsl,imx8qm-lpuart 33 - fsl,imx8dxl-lpuart 34 - const: fsl,imx8qxp-lpuart 35 - items: 36 - const: fsl,imxrt1050-lpuart 37 - const: fsl,imxrt1170-lpuart 38 39 reg: 40 maxItems: 1 41 42 interrupts: 43 maxItems: 1 44 45 clocks: 46 items: 47 - description: ipg clock 48 - description: baud clock 49 minItems: 1 50 51 clock-names: 52 items: 53 - const: ipg 54 - const: baud 55 minItems: 1 56 57 dmas: 58 items: 59 - description: DMA controller phandle and request line for RX 60 - description: DMA controller phandle and request line for TX 61 62 dma-names: 63 items: 64 - const: rx 65 - const: tx 66 67 rs485-rts-active-low: true 68 linux,rs485-enabled-at-boot-time: true 69 70required: 71 - compatible 72 - reg 73 - interrupts 74 - clocks 75 - clock-names 76 77unevaluatedProperties: false 78 79examples: 80 - | 81 #include <dt-bindings/clock/vf610-clock.h> 82 83 serial@40027000 { 84 compatible = "fsl,vf610-lpuart"; 85 reg = <0x40027000 0x1000>; 86 interrupts = <0 61 0x00>; 87 clocks = <&clks VF610_CLK_UART0>; 88 clock-names = "ipg"; 89 dmas = <&edma0 0 2>, <&edma0 0 3>; 90 dma-names = "rx","tx"; 91 }; 92