1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright 2019 BayLibre, SAS
5 $id: "http://devicetree.org/schemas/serial/amlogic,meson-uart.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: Amlogic Meson SoC UART Serial Interface
11 - Neil Armstrong <neil.armstrong@linaro.org>
14 The Amlogic Meson SoC UART Serial Interface is present on a large range
15 of SoCs, and can be present either in the "Always-On" power domain or the
16 "Everything-Else" power domain.
18 The particularity of the "Always-On" Serial Interface is that the hardware
19 is active since power-on and does not need any clock gating and is usable
20 as very early serial console.
25 - description: Always-on power domain UART controller
30 - amlogic,meson8b-uart
31 - amlogic,meson-gx-uart
32 - amlogic,meson-s4-uart
33 - const: amlogic,meson-ao-uart
34 - description: Everything-Else power domain UART controller
38 - amlogic,meson8b-uart
39 - amlogic,meson-gx-uart
40 - amlogic,meson-s4-uart
50 - description: external xtal clock identifier
51 - description: the bus core clock, either the clk81 clock or the gate clock
52 - description: the source of the baudrate generator, can be either the xtal or the pclk
61 description: The fifo size supported by the UART channel.
62 $ref: /schemas/types.yaml#/definitions/uint32
72 additionalProperties: false
77 compatible = "amlogic,meson-gx-uart";
80 clocks = <&xtal>, <&pclk>, <&xtal>;
81 clock-names = "xtal", "pclk", "baud";