Tom Rini | 762f85b | 2024-07-20 11:15:10 -0600 | [diff] [blame^] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/serial/brcm,bcm2835-aux-uart.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: BCM2835 AUXILIARY UART |
| 8 | |
| 9 | maintainers: |
| 10 | - Pratik Farkase <pratikfarkase94@gmail.com> |
| 11 | - Florian Fainelli <florian.fainelli@broadcom.com> |
| 12 | - Stefan Wahren <wahrenst@gmx.net> |
| 13 | |
| 14 | allOf: |
| 15 | - $ref: serial.yaml |
| 16 | |
| 17 | properties: |
| 18 | compatible: |
| 19 | const: brcm,bcm2835-aux-uart |
| 20 | |
| 21 | reg: |
| 22 | maxItems: 1 |
| 23 | |
| 24 | interrupts: |
| 25 | maxItems: 1 |
| 26 | |
| 27 | clocks: |
| 28 | maxItems: 1 |
| 29 | |
| 30 | required: |
| 31 | - compatible |
| 32 | - reg |
| 33 | - interrupts |
| 34 | - clocks |
| 35 | |
| 36 | unevaluatedProperties: false |
| 37 | |
| 38 | examples: |
| 39 | - | |
| 40 | #include <dt-bindings/clock/bcm2835-aux.h> |
| 41 | serial@7e215040 { |
| 42 | compatible = "brcm,bcm2835-aux-uart"; |
| 43 | reg = <0x7e215040 0x40>; |
| 44 | interrupts = <1 29>; |
| 45 | clocks = <&aux BCM2835_AUX_CLOCK_UART>; |
| 46 | }; |