STMicroelectronics STi SoCs Serial Port

Schema identifier ($id): "http://devicetree.org/schemas/serial/st,asc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Patrice Chotard <patrice.chotard@foss.st.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): serial.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "st,asc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

st,hw-flow-ctrl — not listed as required here #

When set, enable hardware flow control.

Value type (type): "boolean"

st,force-m1 — not listed as required here #

When set, force asc to be in Mode-1. This is recommended for high bit rates above 19.2K.

Value type (type): "boolean"

Required in this object (required): "compatible", "reg", "interrupts", "clocks"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/stih407-clks.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
serial@9830000 {
    compatible = "st,asc";
    reg = <0x9830000 0x2c>;
    interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page