1*4882a593Smuzhiyun# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*4882a593Smuzhiyun# Copyright 2019 BayLibre, SAS 3*4882a593Smuzhiyun%YAML 1.2 4*4882a593Smuzhiyun--- 5*4882a593Smuzhiyun$id: "http://devicetree.org/schemas/serial/amlogic,meson-uart.yaml#" 6*4882a593Smuzhiyun$schema: "http://devicetree.org/meta-schemas/core.yaml#" 7*4882a593Smuzhiyun 8*4882a593Smuzhiyuntitle: Amlogic Meson SoC UART Serial Interface 9*4882a593Smuzhiyun 10*4882a593Smuzhiyunmaintainers: 11*4882a593Smuzhiyun - Neil Armstrong <narmstrong@baylibre.com> 12*4882a593Smuzhiyun 13*4882a593Smuzhiyundescription: | 14*4882a593Smuzhiyun The Amlogic Meson SoC UART Serial Interface is present on a large range 15*4882a593Smuzhiyun of SoCs, and can be present either in the "Always-On" power domain or the 16*4882a593Smuzhiyun "Everything-Else" power domain. 17*4882a593Smuzhiyun 18*4882a593Smuzhiyun The particularity of the "Always-On" Serial Interface is that the hardware 19*4882a593Smuzhiyun is active since power-on and does not need any clock gating and is usable 20*4882a593Smuzhiyun as very early serial console. 21*4882a593Smuzhiyun 22*4882a593Smuzhiyunproperties: 23*4882a593Smuzhiyun compatible: 24*4882a593Smuzhiyun oneOf: 25*4882a593Smuzhiyun - description: Always-on power domain UART controller 26*4882a593Smuzhiyun items: 27*4882a593Smuzhiyun - enum: 28*4882a593Smuzhiyun - amlogic,meson6-uart 29*4882a593Smuzhiyun - amlogic,meson8-uart 30*4882a593Smuzhiyun - amlogic,meson8b-uart 31*4882a593Smuzhiyun - amlogic,meson-gx-uart 32*4882a593Smuzhiyun - const: amlogic,meson-ao-uart 33*4882a593Smuzhiyun - description: Everything-Else power domain UART controller 34*4882a593Smuzhiyun enum: 35*4882a593Smuzhiyun - amlogic,meson6-uart 36*4882a593Smuzhiyun - amlogic,meson8-uart 37*4882a593Smuzhiyun - amlogic,meson8b-uart 38*4882a593Smuzhiyun - amlogic,meson-gx-uart 39*4882a593Smuzhiyun 40*4882a593Smuzhiyun reg: 41*4882a593Smuzhiyun maxItems: 1 42*4882a593Smuzhiyun 43*4882a593Smuzhiyun interrupts: 44*4882a593Smuzhiyun maxItems: 1 45*4882a593Smuzhiyun 46*4882a593Smuzhiyun clocks: 47*4882a593Smuzhiyun items: 48*4882a593Smuzhiyun - description: external xtal clock identifier 49*4882a593Smuzhiyun - description: the bus core clock, either the clk81 clock or the gate clock 50*4882a593Smuzhiyun - description: the source of the baudrate generator, can be either the xtal or the pclk 51*4882a593Smuzhiyun 52*4882a593Smuzhiyun clock-names: 53*4882a593Smuzhiyun items: 54*4882a593Smuzhiyun - const: xtal 55*4882a593Smuzhiyun - const: pclk 56*4882a593Smuzhiyun - const: baud 57*4882a593Smuzhiyun 58*4882a593Smuzhiyunrequired: 59*4882a593Smuzhiyun - compatible 60*4882a593Smuzhiyun - reg 61*4882a593Smuzhiyun - interrupts 62*4882a593Smuzhiyun - clocks 63*4882a593Smuzhiyun - clock-names 64*4882a593Smuzhiyun 65*4882a593SmuzhiyunadditionalProperties: false 66*4882a593Smuzhiyun 67*4882a593Smuzhiyunexamples: 68*4882a593Smuzhiyun - | 69*4882a593Smuzhiyun serial@84c0 { 70*4882a593Smuzhiyun compatible = "amlogic,meson-gx-uart"; 71*4882a593Smuzhiyun reg = <0x84c0 0x14>; 72*4882a593Smuzhiyun interrupts = <26>; 73*4882a593Smuzhiyun clocks = <&xtal>, <&pclk>, <&xtal>; 74*4882a593Smuzhiyun clock-names = "xtal", "pclk", "baud"; 75*4882a593Smuzhiyun }; 76