Tom Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | |
| 3 | %YAML 1.2 |
| 4 | --- |
| 5 | $id: http://devicetree.org/schemas/serial/via,vt8500-uart.yaml# |
| 6 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 7 | |
| 8 | title: VIA VT8500 and WonderMedia WM8xxx UART Controller |
| 9 | |
| 10 | maintainers: |
| 11 | - Alexey Charkov <alchark@gmail.com> |
| 12 | |
| 13 | allOf: |
| 14 | - $ref: serial.yaml |
| 15 | |
| 16 | properties: |
| 17 | compatible: |
| 18 | enum: |
| 19 | - via,vt8500-uart # up to WM8850/WM8950 |
| 20 | - wm,wm8880-uart # for WM8880 and later |
| 21 | |
| 22 | clocks: |
| 23 | maxItems: 1 |
| 24 | |
| 25 | interrupts: |
| 26 | maxItems: 1 |
| 27 | |
| 28 | reg: |
| 29 | maxItems: 1 |
| 30 | |
| 31 | required: |
| 32 | - compatible |
| 33 | - clocks |
| 34 | - interrupts |
| 35 | - reg |
| 36 | |
| 37 | unevaluatedProperties: false |
| 38 | |
| 39 | examples: |
| 40 | - | |
| 41 | serial@d8200000 { |
| 42 | compatible = "via,vt8500-uart"; |
| 43 | reg = <0xd8200000 0x1040>; |
| 44 | interrupts = <32>; |
| 45 | clocks = <&clkuart0>; |
| 46 | }; |