brintos

brintos / linux-shallow public Read only

0
0
Text · 1.5 KiB · 89f1eb0 Raw
75 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/serial/renesas,em-uart.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Renesas EMMA Mobile UART Interface8 9maintainers:10  - Magnus Damm <magnus.damm@gmail.com>11 12properties:13  compatible:14    oneOf:15      - items:16          - enum:17              - renesas,r9a09g011-uart    # RZ/V2M18          - const: renesas,em-uart        # generic EMMA Mobile compatible UART19 20      - items:21          - const: renesas,em-uart        # generic EMMA Mobile compatible UART22 23  reg:24    maxItems: 125 26  interrupts:27    maxItems: 128 29  clocks:30    minItems: 131    items:32      - description: UART functional clock33      - description: Internal clock to access the registers34 35  clock-names:36    minItems: 137    items:38      - const: sclk39      - const: pclk40 41required:42  - compatible43  - reg44  - interrupts45  - clocks46  - clock-names47 48allOf:49  - $ref: serial.yaml#50 51  - if:52      properties:53        compatible:54          contains:55            const: renesas,r9a09g011-uart56    then:57      properties:58        clocks:59          minItems: 260        clock-names:61          minItems: 262 63unevaluatedProperties: false64 65examples:66  - |67    #include <dt-bindings/interrupt-controller/arm-gic.h>68    uart0: serial@e1020000 {69        compatible = "renesas,em-uart";70        reg = <0xe1020000 0x38>;71        interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;72        clocks = <&usia_u0_sclk>;73        clock-names = "sclk";74    };75