Xilinx Axi Uartlite
Schema identifier ($id): "http://devicetree.org/schemas/serial/xlnx,opb-uartlite.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Peter Korsgaard <jacmet@sunsite.dk>"
Properties and child nodes (properties) #
compatible — required here #
Rule for matching array elements (contains) #
Allowed values (
enum):"xlnx,xps-uartlite-1.00.a","xlnx,opb-uartlite-1.00.b"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
port-number — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Set Uart port number
clocks — not listed as required here #
Maximum number of items (maxItems): 1
clock-names — not listed as required here #
Exact value (const): "s_axi_aclk"
current-speed — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
The fixed baud rate that the device was configured for.
xlnx,data-bits — required here #
Allowed values (enum): 5, 6, 7, 8
The fixed number of data bits that the device was configured for.
xlnx,use-parity — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Whether parity checking was enabled when the device was configured.
xlnx,odd-parity — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Whether odd parity was configured.
Required in this object (required): "compatible", "reg", "interrupts", "current-speed", "xlnx,data-bits", "xlnx,use-parity"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
xlnx,use-parity— not listed as required hereExact value (
const):1When the condition matches (
then) #
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
serial@800c0000 {
compatible = "xlnx,xps-uartlite-1.00.a";
reg = <0x800c0000 0x10000>;
interrupts = <0x0 0x6e 0x1>;
port-number = <0>;
current-speed = <115200>;
xlnx,data-bits = <8>;
xlnx,use-parity = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause