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/qca,ar9330-uart.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Qualcomm Atheros AR9330 High-Speed UART |
| 8 | |
| 9 | maintainers: |
| 10 | - Oleksij Rempel <o.rempel@pengutronix.de> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: serial.yaml# |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | const: qca,ar9330-uart |
| 18 | |
| 19 | reg: |
| 20 | maxItems: 1 |
| 21 | |
| 22 | interrupts: |
| 23 | maxItems: 1 |
| 24 | |
| 25 | clocks: |
| 26 | maxItems: 1 |
| 27 | |
| 28 | clock-names: |
| 29 | const: uart |
| 30 | |
| 31 | required: |
| 32 | - compatible |
| 33 | - reg |
| 34 | - interrupts |
| 35 | - clocks |
| 36 | - clock-names |
| 37 | |
| 38 | unevaluatedProperties: false |
| 39 | |
| 40 | examples: |
| 41 | - | |
| 42 | serial@18020000 { |
| 43 | compatible = "qca,ar9330-uart"; |
| 44 | reg = <0x18020000 0x14>; |
| 45 | clocks = <&ref>; |
| 46 | clock-names = "uart"; |
| 47 | interrupt-parent = <&intc>; |
| 48 | interrupts = <3>; |
| 49 | }; |
| 50 | ... |