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