Microchip PIC32 UART

Schema identifier ($id): "http://devicetree.org/schemas/serial/microchip,pic32mzda-uart.yaml#"

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

Maintainers (maintainers): "Andrei Pistirica <andrei.pistirica@microchip.com>", "Purna Chandra Mandal <purna.mandal@microchip.com>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "microchip,pic32mzda-uart"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Array item rules (items) #

Item 1

Fault

Item 2

RX

Item 3

TX

clocks — required here #

Maximum number of items (maxItems): 1

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/interrupt-controller/irq.h>
#include <dt-bindings/clock/microchip,pic32-clock.h>

serial@1f822000 {
    compatible = "microchip,pic32mzda-uart";
    reg = <0x1f822000 0x50>;
    interrupts = <112 IRQ_TYPE_LEVEL_HIGH>,
                <113 IRQ_TYPE_LEVEL_HIGH>,
                <114 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&rootclk PB2CLK>;
    cts-gpios = <&gpio1 15 0>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page