1ae5de77eSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2ae5de77eSEmmanuel Vadot%YAML 1.2 3ae5de77eSEmmanuel Vadot--- 4ae5de77eSEmmanuel Vadot$id: http://devicetree.org/schemas/serial/renesas,rsci.yaml# 5ae5de77eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6ae5de77eSEmmanuel Vadot 7ae5de77eSEmmanuel Vadottitle: Renesas RSCI Serial Communication Interface 8ae5de77eSEmmanuel Vadot 9ae5de77eSEmmanuel Vadotmaintainers: 10ae5de77eSEmmanuel Vadot - Geert Uytterhoeven <geert+renesas@glider.be> 11*833e5d42SEmmanuel Vadot - Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> 12ae5de77eSEmmanuel Vadot 13ae5de77eSEmmanuel VadotallOf: 14ae5de77eSEmmanuel Vadot - $ref: serial.yaml# 15ae5de77eSEmmanuel Vadot 16ae5de77eSEmmanuel Vadotproperties: 17ae5de77eSEmmanuel Vadot compatible: 18*833e5d42SEmmanuel Vadot oneOf: 19*833e5d42SEmmanuel Vadot - items: 20*833e5d42SEmmanuel Vadot - const: renesas,r9a09g087-rsci # RZ/N2H 21*833e5d42SEmmanuel Vadot - const: renesas,r9a09g077-rsci # RZ/T2H 22*833e5d42SEmmanuel Vadot 23*833e5d42SEmmanuel Vadot - items: 24*833e5d42SEmmanuel Vadot - const: renesas,r9a09g077-rsci # RZ/T2H 25ae5de77eSEmmanuel Vadot 26ae5de77eSEmmanuel Vadot reg: 27ae5de77eSEmmanuel Vadot maxItems: 1 28ae5de77eSEmmanuel Vadot 29ae5de77eSEmmanuel Vadot interrupts: 30ae5de77eSEmmanuel Vadot items: 31ae5de77eSEmmanuel Vadot - description: Error interrupt 32ae5de77eSEmmanuel Vadot - description: Receive buffer full interrupt 33ae5de77eSEmmanuel Vadot - description: Transmit buffer empty interrupt 34ae5de77eSEmmanuel Vadot - description: Transmit end interrupt 35ae5de77eSEmmanuel Vadot 36ae5de77eSEmmanuel Vadot interrupt-names: 37ae5de77eSEmmanuel Vadot items: 38ae5de77eSEmmanuel Vadot - const: eri 39ae5de77eSEmmanuel Vadot - const: rxi 40ae5de77eSEmmanuel Vadot - const: txi 41ae5de77eSEmmanuel Vadot - const: tei 42ae5de77eSEmmanuel Vadot 43ae5de77eSEmmanuel Vadot clocks: 44*833e5d42SEmmanuel Vadot minItems: 2 45*833e5d42SEmmanuel Vadot maxItems: 3 46ae5de77eSEmmanuel Vadot 47ae5de77eSEmmanuel Vadot clock-names: 48*833e5d42SEmmanuel Vadot minItems: 2 49*833e5d42SEmmanuel Vadot items: 50*833e5d42SEmmanuel Vadot - const: operation 51*833e5d42SEmmanuel Vadot - const: bus 52*833e5d42SEmmanuel Vadot - const: sck # optional external clock input 53ae5de77eSEmmanuel Vadot 54ae5de77eSEmmanuel Vadot power-domains: 55ae5de77eSEmmanuel Vadot maxItems: 1 56ae5de77eSEmmanuel Vadot 57ae5de77eSEmmanuel Vadot uart-has-rtscts: false 58ae5de77eSEmmanuel Vadot 59ae5de77eSEmmanuel Vadotrequired: 60ae5de77eSEmmanuel Vadot - compatible 61ae5de77eSEmmanuel Vadot - reg 62ae5de77eSEmmanuel Vadot - interrupts 63ae5de77eSEmmanuel Vadot - clocks 64ae5de77eSEmmanuel Vadot - clock-names 65ae5de77eSEmmanuel Vadot - power-domains 66ae5de77eSEmmanuel Vadot 67ae5de77eSEmmanuel VadotunevaluatedProperties: false 68ae5de77eSEmmanuel Vadot 69ae5de77eSEmmanuel Vadotexamples: 70ae5de77eSEmmanuel Vadot - | 71ae5de77eSEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 72ae5de77eSEmmanuel Vadot #include <dt-bindings/clock/renesas-cpg-mssr.h> 73ae5de77eSEmmanuel Vadot 74ae5de77eSEmmanuel Vadot sci0: serial@80005000 { 75ae5de77eSEmmanuel Vadot compatible = "renesas,r9a09g077-rsci"; 76ae5de77eSEmmanuel Vadot reg = <0x80005000 0x400>; 77ae5de77eSEmmanuel Vadot interrupts = <GIC_SPI 590 IRQ_TYPE_LEVEL_HIGH>, 78ae5de77eSEmmanuel Vadot <GIC_SPI 591 IRQ_TYPE_EDGE_RISING>, 79ae5de77eSEmmanuel Vadot <GIC_SPI 592 IRQ_TYPE_EDGE_RISING>, 80ae5de77eSEmmanuel Vadot <GIC_SPI 593 IRQ_TYPE_LEVEL_HIGH>; 81ae5de77eSEmmanuel Vadot interrupt-names = "eri", "rxi", "txi", "tei"; 82*833e5d42SEmmanuel Vadot clocks = <&cpg CPG_MOD 8>, <&cpg CPG_CORE 13>; 83*833e5d42SEmmanuel Vadot clock-names = "operation", "bus"; 84ae5de77eSEmmanuel Vadot power-domains = <&cpg>; 85ae5de77eSEmmanuel Vadot }; 86