xref: /freebsd/sys/contrib/device-tree/Bindings/serial/brcm,bcm7271-uart.yaml (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
12eb4d8dcSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
22eb4d8dcSEmmanuel Vadot%YAML 1.2
32eb4d8dcSEmmanuel Vadot---
42eb4d8dcSEmmanuel Vadot$id: http://devicetree.org/schemas/serial/brcm,bcm7271-uart.yaml#
52eb4d8dcSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
62eb4d8dcSEmmanuel Vadot
7*8bab661aSEmmanuel Vadottitle: Broadcom 8250 based serial port
82eb4d8dcSEmmanuel Vadot
92eb4d8dcSEmmanuel Vadotmaintainers:
102eb4d8dcSEmmanuel Vadot  - Al Cooper <alcooperx@gmail.com>
112eb4d8dcSEmmanuel Vadot
122eb4d8dcSEmmanuel VadotallOf:
135956d97fSEmmanuel Vadot  - $ref: serial.yaml#
142eb4d8dcSEmmanuel Vadot
152eb4d8dcSEmmanuel Vadotdescription: |+
162eb4d8dcSEmmanuel Vadot  The Broadcom UART is based on the basic 8250 UART but with
172eb4d8dcSEmmanuel Vadot  enhancements for more accurate high speed baud rates and support
182eb4d8dcSEmmanuel Vadot  for DMA.
192eb4d8dcSEmmanuel Vadot
202eb4d8dcSEmmanuel Vadotproperties:
212eb4d8dcSEmmanuel Vadot  compatible:
222eb4d8dcSEmmanuel Vadot    items:
232eb4d8dcSEmmanuel Vadot      - enum:
242eb4d8dcSEmmanuel Vadot          - brcm,bcm7271-uart
252eb4d8dcSEmmanuel Vadot          - brcm,bcm7278-uart
262eb4d8dcSEmmanuel Vadot
272eb4d8dcSEmmanuel Vadot  reg:
282eb4d8dcSEmmanuel Vadot    minItems: 1
292eb4d8dcSEmmanuel Vadot    maxItems: 5
302eb4d8dcSEmmanuel Vadot
312eb4d8dcSEmmanuel Vadot  reg-names:
322eb4d8dcSEmmanuel Vadot    description: The UART register block and optionally the DMA register blocks.
332eb4d8dcSEmmanuel Vadot    oneOf:
342eb4d8dcSEmmanuel Vadot      - items:
352eb4d8dcSEmmanuel Vadot          - const: uart
362eb4d8dcSEmmanuel Vadot      - items:
372eb4d8dcSEmmanuel Vadot          - const: uart
382eb4d8dcSEmmanuel Vadot          - const: dma_arb
392eb4d8dcSEmmanuel Vadot          - const: dma_rx
402eb4d8dcSEmmanuel Vadot          - const: dma_tx
412eb4d8dcSEmmanuel Vadot          - const: dma_intr2
422eb4d8dcSEmmanuel Vadot
432eb4d8dcSEmmanuel Vadot  clocks:
442eb4d8dcSEmmanuel Vadot    minItems: 1
452eb4d8dcSEmmanuel Vadot
462eb4d8dcSEmmanuel Vadot  clock-names:
472eb4d8dcSEmmanuel Vadot    const: sw_baud
482eb4d8dcSEmmanuel Vadot
492eb4d8dcSEmmanuel Vadot  interrupts:
502eb4d8dcSEmmanuel Vadot    minItems: 1
512eb4d8dcSEmmanuel Vadot    maxItems: 2
522eb4d8dcSEmmanuel Vadot
532eb4d8dcSEmmanuel Vadot  interrupt-names:
542eb4d8dcSEmmanuel Vadot    description: The UART interrupt and optionally the DMA interrupt.
552eb4d8dcSEmmanuel Vadot    minItems: 1
562eb4d8dcSEmmanuel Vadot    items:
572eb4d8dcSEmmanuel Vadot      - const: uart
582eb4d8dcSEmmanuel Vadot      - const: dma
592eb4d8dcSEmmanuel Vadot
602eb4d8dcSEmmanuel Vadotrequired:
612eb4d8dcSEmmanuel Vadot  - compatible
622eb4d8dcSEmmanuel Vadot  - reg
632eb4d8dcSEmmanuel Vadot  - reg-names
642eb4d8dcSEmmanuel Vadot  - clocks
652eb4d8dcSEmmanuel Vadot  - clock-names
662eb4d8dcSEmmanuel Vadot  - interrupts
672eb4d8dcSEmmanuel Vadot  - interrupt-names
682eb4d8dcSEmmanuel Vadot
692eb4d8dcSEmmanuel VadotunevaluatedProperties: false
702eb4d8dcSEmmanuel Vadot
712eb4d8dcSEmmanuel Vadotexamples:
722eb4d8dcSEmmanuel Vadot  - |
732eb4d8dcSEmmanuel Vadot    serial@840d000 {
742eb4d8dcSEmmanuel Vadot        compatible = "brcm,bcm7271-uart";
752eb4d8dcSEmmanuel Vadot        reg = <0x840d000 0x20>;
762eb4d8dcSEmmanuel Vadot        reg-names = "uart";
772eb4d8dcSEmmanuel Vadot        interrupts = <0x0 0x62 0x4>;
782eb4d8dcSEmmanuel Vadot        interrupt-names = "uart";
792eb4d8dcSEmmanuel Vadot        clocks = <&scmi_clk 190>;
802eb4d8dcSEmmanuel Vadot        clock-names = "sw_baud";
812eb4d8dcSEmmanuel Vadot    };
822eb4d8dcSEmmanuel Vadot
832eb4d8dcSEmmanuel Vadot    serial@840e000 {
842eb4d8dcSEmmanuel Vadot        compatible = "brcm,bcm7271-uart";
852eb4d8dcSEmmanuel Vadot        reg = <0x840e000 0x20>,
862eb4d8dcSEmmanuel Vadot              <0x840e080 0x8>,
872eb4d8dcSEmmanuel Vadot              <0x840e100 0xa8>,
882eb4d8dcSEmmanuel Vadot              <0x840e200 0x4c>,
892eb4d8dcSEmmanuel Vadot              <0x840e300 0x30>;
902eb4d8dcSEmmanuel Vadot        reg-names = "uart", "dma_arb", "dma_rx", "dma_tx", "dma_intr2";
912eb4d8dcSEmmanuel Vadot        interrupts = <0x0 0x62 0x4>, <0x0 0x75 0x4>;
922eb4d8dcSEmmanuel Vadot        interrupt-names = "uart", "dma";
932eb4d8dcSEmmanuel Vadot        clocks = <&scmi_clk 190>;
942eb4d8dcSEmmanuel Vadot        clock-names = "sw_baud";
952eb4d8dcSEmmanuel Vadot    };
96