Broadcom 8250 based serial port
Schema identifier ($id): "http://devicetree.org/schemas/serial/brcm,bcm7271-uart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Al Cooper <alcooperx@gmail.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml#
The Broadcom UART is based on the basic 8250 UART but with enhancements for more accurate high speed baud rates and support for DMA.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"brcm,bcm7271-uart","brcm,bcm7278-uart"
reg — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 5
reg-names — required here #
The UART register block and optionally the DMA register blocks.
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"uart"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"uart"Item 2
Exact value (
const):"dma_arb"Item 3
Exact value (
const):"dma_rx"Item 4
Exact value (
const):"dma_tx"Item 5
Exact value (
const):"dma_intr2"
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "sw_baud"
interrupts — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
interrupt-names — required here #
The UART interrupt and optionally the DMA interrupt.
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"uart"
Item 2
Exact value (
const):"dma"
Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names", "interrupts", "interrupt-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
serial@840d000 {
compatible = "brcm,bcm7271-uart";
reg = <0x840d000 0x20>;
reg-names = "uart";
interrupts = <0x0 0x62 0x4>;
interrupt-names = "uart";
clocks = <&scmi_clk 190>;
clock-names = "sw_baud";
};
serial@840e000 {
compatible = "brcm,bcm7271-uart";
reg = <0x840e000 0x20>,
<0x840e080 0x8>,
<0x840e100 0xa8>,
<0x840e200 0x4c>,
<0x840e300 0x30>;
reg-names = "uart", "dma_arb", "dma_rx", "dma_tx", "dma_intr2";
interrupts = <0x0 0x62 0x4>, <0x0 0x75 0x4>;
interrupt-names = "uart", "dma";
clocks = <&scmi_clk 190>;
clock-names = "sw_baud";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)