brintos

brintos / linux-shallow public Read only

0
0
Text · 1011 B · 7d0a4bc Raw
57 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2# Copyright (C) Sunplus Co., Ltd. 20213%YAML 1.24---5$id: http://devicetree.org/schemas/serial/sunplus,sp7021-uart.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#7 8title: Sunplus SoC SP7021 UART Controller9 10maintainers:11  - Hammer Hsieh <hammerh0314@gmail.com>12 13allOf:14  - $ref: serial.yaml#15 16properties:17  compatible:18    const: sunplus,sp7021-uart19 20  reg:21    maxItems: 122 23  interrupts:24    maxItems: 125 26  clocks:27    maxItems: 128 29  resets:30    maxItems: 131 32required:33  - compatible34  - reg35  - interrupts36  - clocks37  - resets38 39additionalProperties: false40 41examples:42  - |43    #include <dt-bindings/interrupt-controller/irq.h>44    aliases {45        serial0 = &uart0;46    };47 48    uart0: serial@9c000900 {49        compatible = "sunplus,sp7021-uart";50        reg = <0x9c000900 0x80>;51        interrupt-parent = <&intc>;52        interrupts = <53 IRQ_TYPE_LEVEL_HIGH>;53        clocks = <&clkc 0x28>;54        resets = <&rstc 0x18>;55    };56...57