Freescale low power universal asynchronous receiver/transmitter (lpuart)
Schema identifier ($id): "http://devicetree.org/schemas/serial/fsl-lpuart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Fugang Duan <fugang.duan@nxp.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):rs485.yaml#
Rule 2 #
Shared schema rule (
$ref):serial.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"fsl,vf610-lpuart","fsl,ls1021a-lpuart","fsl,ls1028a-lpuart","fsl,imx7ulp-lpuart","fsl,imx8qxp-lpuart","fsl,imxrt1050-lpuart"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"fsl,imx7ulp-lpuart"
Rule 3
Array item rules (
items)Item 1
Allowed values (
enum):"fsl,imx93-lpuart","fsl,imx94-lpuart","fsl,imx95-lpuart"Item 2
Exact value (
const):"fsl,imx8ulp-lpuart"Item 3
Exact value (
const):"fsl,imx7ulp-lpuart"
Rule 4
Array item rules (
items)Item 1
Allowed values (
enum):"fsl,imx8qm-lpuart","fsl,imx8dxl-lpuart"Item 2
Exact value (
const):"fsl,imx8qxp-lpuart"
Rule 5
Array item rules (
items)Item 1
Exact value (
const):"fsl,imxrt1050-lpuart"Item 2
Exact value (
const):"fsl,imxrt1170-lpuart"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
ipg clock
Item 2
baud clock
Minimum number of items (minItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ipg"
Item 2
Exact value (
const):"baud"
Minimum number of items (minItems): 1
dmas — not listed as required here #
Array item rules (items) #
Item 1
DMA controller phandle and request line for RX
Item 2
DMA controller phandle and request line for TX
dma-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"rx"
Item 2
Exact value (
const):"tx"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/vf610-clock.h>
serial@40027000 {
compatible = "fsl,vf610-lpuart";
reg = <0x40027000 0x1000>;
interrupts = <0 61 0x00>;
clocks = <&clks VF610_CLK_UART0>;
clock-names = "ipg";
dmas = <&edma0 0 2>, <&edma0 0 3>;
dma-names = "rx","tx";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)