14b74c424SGeert Uytterhoeven# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 24b74c424SGeert Uytterhoeven%YAML 1.2 34b74c424SGeert Uytterhoeven--- 4*cb95de8dSRob Herring$id: http://devicetree.org/schemas/serial/renesas,em-uart.yaml# 5*cb95de8dSRob Herring$schema: http://devicetree.org/meta-schemas/core.yaml# 64b74c424SGeert Uytterhoeven 74b74c424SGeert Uytterhoeventitle: Renesas EMMA Mobile UART Interface 84b74c424SGeert Uytterhoeven 94b74c424SGeert Uytterhoevenmaintainers: 104b74c424SGeert Uytterhoeven - Magnus Damm <magnus.damm@gmail.com> 114b74c424SGeert Uytterhoeven 124b74c424SGeert Uytterhoevenproperties: 134b74c424SGeert Uytterhoeven compatible: 147bb30181SPhil Edworthy oneOf: 157bb30181SPhil Edworthy - items: 167bb30181SPhil Edworthy - enum: 177bb30181SPhil Edworthy - renesas,r9a09g011-uart # RZ/V2M 187bb30181SPhil Edworthy - const: renesas,em-uart # generic EMMA Mobile compatible UART 197bb30181SPhil Edworthy 207bb30181SPhil Edworthy - items: 217bb30181SPhil Edworthy - const: renesas,em-uart # generic EMMA Mobile compatible UART 224b74c424SGeert Uytterhoeven 234b74c424SGeert Uytterhoeven reg: 244b74c424SGeert Uytterhoeven maxItems: 1 254b74c424SGeert Uytterhoeven 264b74c424SGeert Uytterhoeven interrupts: 274b74c424SGeert Uytterhoeven maxItems: 1 284b74c424SGeert Uytterhoeven 294b74c424SGeert Uytterhoeven clocks: 304ed26f87SPhil Edworthy minItems: 1 314ed26f87SPhil Edworthy items: 324ed26f87SPhil Edworthy - description: UART functional clock 334ed26f87SPhil Edworthy - description: Internal clock to access the registers 344b74c424SGeert Uytterhoeven 354b74c424SGeert Uytterhoeven clock-names: 364ed26f87SPhil Edworthy minItems: 1 374ed26f87SPhil Edworthy items: 384ed26f87SPhil Edworthy - const: sclk 394ed26f87SPhil Edworthy - const: pclk 404ed26f87SPhil Edworthy 414ed26f87SPhil EdworthyallOf: 424ed26f87SPhil Edworthy - $ref: serial.yaml# 434ed26f87SPhil Edworthy 444ed26f87SPhil Edworthy - if: 454ed26f87SPhil Edworthy properties: 464ed26f87SPhil Edworthy compatible: 474ed26f87SPhil Edworthy contains: 484ed26f87SPhil Edworthy const: renesas,r9a09g011-uart 494ed26f87SPhil Edworthy then: 504ed26f87SPhil Edworthy properties: 514ed26f87SPhil Edworthy clocks: 524ed26f87SPhil Edworthy minItems: 2 534ed26f87SPhil Edworthy clock-names: 544ed26f87SPhil Edworthy minItems: 2 554b74c424SGeert Uytterhoeven 564b74c424SGeert Uytterhoevenrequired: 574b74c424SGeert Uytterhoeven - compatible 584b74c424SGeert Uytterhoeven - reg 594b74c424SGeert Uytterhoeven - interrupts 604b74c424SGeert Uytterhoeven - clocks 614b74c424SGeert Uytterhoeven - clock-names 624b74c424SGeert Uytterhoeven 638f082dcfSZhen LeiunevaluatedProperties: false 644b74c424SGeert Uytterhoeven 654b74c424SGeert Uytterhoevenexamples: 664b74c424SGeert Uytterhoeven - | 674b74c424SGeert Uytterhoeven #include <dt-bindings/interrupt-controller/arm-gic.h> 684b74c424SGeert Uytterhoeven uart0: serial@e1020000 { 694b74c424SGeert Uytterhoeven compatible = "renesas,em-uart"; 704b74c424SGeert Uytterhoeven reg = <0xe1020000 0x38>; 714b74c424SGeert Uytterhoeven interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; 724b74c424SGeert Uytterhoeven clocks = <&usia_u0_sclk>; 734b74c424SGeert Uytterhoeven clock-names = "sclk"; 744b74c424SGeert Uytterhoeven }; 75