| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/serial/nuvoton,ma35d1-serial.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Nuvoton MA35D1 Universal Asynchronous Receiver/Transmitter (UART) |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Min-Jen Chen <[email protected]> |
| 11 |
- Jacky Huang <[email protected]> |
| 12 |
|
| 13 |
allOf: |
| 14 |
- $ref: serial.yaml |
| 15 |
|
| 16 |
properties: |
| 17 |
compatible: |
| 18 |
const: nuvoton,ma35d1-uart |
| 19 |
|
| 20 |
reg: |
| 21 |
maxItems: 1 |
| 22 |
|
| 23 |
interrupts: |
| 24 |
maxItems: 1 |
| 25 |
|
| 26 |
clocks: |
| 27 |
maxItems: 1 |
| 28 |
|
| 29 |
required: |
| 30 |
- compatible |
| 31 |
- reg |
| 32 |
- interrupts |
| 33 |
- clocks |
| 34 |
|
| 35 |
unevaluatedProperties: false |
| 36 |
|
| 37 |
examples: |
| 38 |
- | |
| 39 |
#include <dt-bindings/interrupt-controller/arm-gic.h> |
| 40 |
#include <dt-bindings/clock/nuvoton,ma35d1-clk.h> |
| 41 |
|
| 42 |
serial@40700000 { |
| 43 |
compatible = "nuvoton,ma35d1-uart"; |
| 44 |
reg = <0x40700000 0x100>; |
| 45 |
interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>; |
| 46 |
clocks = <&clk UART0_GATE>; |
| 47 |
}; |
| 48 |
... |