Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: serial: Add compatible for Renesas RZ/T2H SoC in sci

RSCI of RZ/T2H SoC (a.k.a r9a09g077), as a lot
of similarities with SCI in other Renesas SoC like G2L, G3S, V2L;
However, it has a different set of registers, and in addition to serial,
this IP also supports SCIe (encoder), SmartCard, i2c and spi.
This is why the 'renesas,sci' fallback for generic SCI does not apply for it.

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Thierry Bultel <thierry.bultel.yh@bp.renesas.com>
Link: https://lore.kernel.org/r/20250403212919.1137670-4-thierry.bultel.yh@bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Thierry Bultel and committed by
Greg Kroah-Hartman
25422e8f b35f7a77

+78
+78
Documentation/devicetree/bindings/serial/renesas,rsci.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/serial/renesas,rsci.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Renesas RSCI Serial Communication Interface 8 + 9 + maintainers: 10 + - Geert Uytterhoeven <geert+renesas@glider.be> 11 + - Thierry Bultel <thierry.bultel.yh@bp.renesas.com> 12 + 13 + allOf: 14 + - $ref: serial.yaml# 15 + 16 + properties: 17 + compatible: 18 + const: renesas,r9a09g077-rsci # RZ/T2H 19 + 20 + reg: 21 + maxItems: 1 22 + 23 + interrupts: 24 + items: 25 + - description: Error interrupt 26 + - description: Receive buffer full interrupt 27 + - description: Transmit buffer empty interrupt 28 + - description: Transmit end interrupt 29 + 30 + interrupt-names: 31 + items: 32 + - const: eri 33 + - const: rxi 34 + - const: txi 35 + - const: tei 36 + 37 + clocks: 38 + maxItems: 1 39 + 40 + clock-names: 41 + const: fck # UART functional clock 42 + 43 + power-domains: 44 + maxItems: 1 45 + 46 + uart-has-rtscts: false 47 + 48 + required: 49 + - compatible 50 + - reg 51 + - interrupts 52 + - clocks 53 + - clock-names 54 + - power-domains 55 + 56 + unevaluatedProperties: false 57 + 58 + examples: 59 + - | 60 + #include <dt-bindings/interrupt-controller/arm-gic.h> 61 + #include <dt-bindings/clock/renesas-cpg-mssr.h> 62 + 63 + aliases { 64 + serial0 = &sci0; 65 + }; 66 + 67 + sci0: serial@80005000 { 68 + compatible = "renesas,r9a09g077-rsci"; 69 + reg = <0x80005000 0x400>; 70 + interrupts = <GIC_SPI 590 IRQ_TYPE_LEVEL_HIGH>, 71 + <GIC_SPI 591 IRQ_TYPE_EDGE_RISING>, 72 + <GIC_SPI 592 IRQ_TYPE_EDGE_RISING>, 73 + <GIC_SPI 593 IRQ_TYPE_LEVEL_HIGH>; 74 + interrupt-names = "eri", "rxi", "txi", "tei"; 75 + clocks = <&cpg CPG_MOD 108>; 76 + clock-names = "fck"; 77 + power-domains = <&cpg>; 78 + };