| # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | |
| %YAML 1.2 | |
| --- | |
| $id: http://devicetree.org/schemas/serial/actions,owl-uart.yaml# | |
| $schema: http://devicetree.org/meta-schemas/core.yaml# | |
| title: Actions Semi Owl UART | |
| maintainers: | |
| - Kanak Shilledar <kanakshilledar111@protonmail.com> | |
| allOf: | |
| - $ref: serial.yaml | |
| properties: | |
| compatible: | |
| items: | |
| - enum: | |
| - actions,s500-uart | |
| - actions,s900-uart | |
| - const: actions,owl-uart | |
| reg: | |
| maxItems: 1 | |
| interrupts: | |
| maxItems: 1 | |
| clocks: | |
| maxItems: 1 | |
| required: | |
| - compatible | |
| - reg | |
| - interrupts | |
| unevaluatedProperties: false | |
| examples: | |
| - | | |
| #include <dt-bindings/clock/actions,s500-cmu.h> | |
| #include <dt-bindings/interrupt-controller/arm-gic.h> | |
| uart0: serial@b0126000 { | |
| compatible = "actions,s500-uart", "actions,owl-uart"; | |
| reg = <0xb0126000 0x1000>; | |
| clocks = <&cmu CLK_UART0>; | |
| interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; | |
| }; |