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/socionext,uniphier-uart.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: UniPhier UART controller |
| 8 | |
| 9 | maintainers: |
| 10 | - Masahiro Yamada <yamada.masahiro@socionext.com> |
| 11 | |
| 12 | properties: |
| 13 | compatible: |
| 14 | const: socionext,uniphier-uart |
| 15 | |
| 16 | reg: |
| 17 | maxItems: 1 |
| 18 | |
| 19 | interrupts: |
| 20 | maxItems: 1 |
| 21 | |
| 22 | clocks: |
| 23 | maxItems: 1 |
| 24 | |
| 25 | resets: |
| 26 | maxItems: 1 |
| 27 | |
| 28 | auto-flow-control: |
| 29 | description: enable automatic flow control support. |
| 30 | $ref: /schemas/types.yaml#/definitions/flag |
| 31 | |
| 32 | required: |
| 33 | - compatible |
| 34 | - reg |
| 35 | - interrupts |
| 36 | - clocks |
| 37 | |
| 38 | additionalProperties: false |
| 39 | |
| 40 | examples: |
| 41 | - | |
| 42 | aliases { |
| 43 | serial0 = &serial0; |
| 44 | }; |
| 45 | |
| 46 | serial0: serial@54006800 { |
| 47 | compatible = "socionext,uniphier-uart"; |
| 48 | reg = <0x54006800 0x40>; |
| 49 | interrupts = <0 33 4>; |
| 50 | clocks = <&uart_clk>; |
| 51 | }; |