brintos

brintos / linux-shallow public Read only

0
0
Text · 2.8 KiB · 0565fb7 Raw
103 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2# Copyright 2019 BayLibre, SAS3%YAML 1.24---5$id: http://devicetree.org/schemas/serial/amlogic,meson-uart.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#7 8title: Amlogic Meson SoC UART Serial Interface9 10maintainers:11  - Neil Armstrong <neil.armstrong@linaro.org>12 13description: |14  The Amlogic Meson SoC UART Serial Interface is present on a large range15  of SoCs, and can be present either in the "Always-On" power domain or the16  "Everything-Else" power domain.17 18  The particularity of the "Always-On" Serial Interface is that the hardware19  is active since power-on and does not need any clock gating and is usable20  as very early serial console.21 22allOf:23  - $ref: serial.yaml#24 25properties:26  compatible:27    oneOf:28      - description: Always-on power domain UART controller29        items:30          - enum:31              - amlogic,meson6-uart32              - amlogic,meson8-uart33              - amlogic,meson8b-uart34              - amlogic,meson-gx-uart35              - amlogic,meson-s4-uart36              - amlogic,meson-a1-uart37          - const: amlogic,meson-ao-uart38      - description: Always-on power domain UART controller on G12A SoCs39        items:40          - const: amlogic,meson-g12a-uart41          - const: amlogic,meson-gx-uart42          - const: amlogic,meson-ao-uart43      - description: Everything-Else power domain UART controller44        enum:45          - amlogic,meson6-uart46          - amlogic,meson8-uart47          - amlogic,meson8b-uart48          - amlogic,meson-gx-uart49          - amlogic,meson-s4-uart50          - amlogic,meson-a1-uart51      - description: Everything-Else power domain UART controller on G12A SoCs52        items:53          - const: amlogic,meson-g12a-uart54          - const: amlogic,meson-gx-uart55      - description: UART controller on S4 compatible SoCs56        items:57          - enum:58              - amlogic,a4-uart59              - amlogic,t7-uart60          - const: amlogic,meson-s4-uart61 62  reg:63    maxItems: 164 65  interrupts:66    maxItems: 167 68  clocks:69    items:70      - description: external xtal clock identifier71      - description: the bus core clock, either the clk81 clock or the gate clock72      - description: the source of the baudrate generator, can be either the xtal or the pclk73 74  clock-names:75    items:76      - const: xtal77      - const: pclk78      - const: baud79 80  fifo-size:81    description: The fifo size supported by the UART channel.82    $ref: /schemas/types.yaml#/definitions/uint3283    enum: [64, 128]84 85required:86  - compatible87  - reg88  - interrupts89  - clocks90  - clock-names91 92unevaluatedProperties: false93 94examples:95  - |96    serial@84c0 {97        compatible = "amlogic,meson-gx-uart";98        reg = <0x84c0 0x14>;99        interrupts = <26>;100        clocks = <&xtal>, <&pclk>, <&xtal>;101        clock-names = "xtal", "pclk", "baud";102    };103