Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [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/rda,8810pl-uart.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: RDA Micro UART Interface |
| 8 | |
| 9 | maintainers: |
| 10 | - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: serial.yaml# |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | const: rda,8810pl-uart |
| 18 | |
| 19 | reg: |
| 20 | maxItems: 1 |
| 21 | |
| 22 | interrupts: |
| 23 | maxItems: 1 |
| 24 | |
| 25 | clocks: |
| 26 | maxItems: 1 |
| 27 | |
| 28 | required: |
| 29 | - compatible |
| 30 | - reg |
| 31 | - interrupts |
| 32 | - clocks |
| 33 | |
| 34 | unevaluatedProperties: false |
| 35 | |
| 36 | examples: |
| 37 | - | |
| 38 | #include <dt-bindings/interrupt-controller/irq.h> |
| 39 | |
| 40 | uart3: serial@20a90000 { |
| 41 | compatible = "rda,8810pl-uart"; |
| 42 | reg = <0x20a90000 0x1000>; |
| 43 | interrupts = <11 IRQ_TYPE_LEVEL_HIGH>; |
| 44 | clocks = <&uart_clk>; |
| 45 | }; |
| 46 | ... |