Path: blob/master/Documentation/devicetree/bindings/i3c/renesas,i3c.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/i3c/renesas,i3c.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Renesas RZ/G3S and RZ/G3E I3C Bus Interface78maintainers:9- Wolfram Sang <wsa+renesas@sang-engineering.com>10- Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com>1112properties:13compatible:14items:15- enum:16- renesas,r9a08g045-i3c # RZ/G3S17- renesas,r9a09g047-i3c # RZ/G3E1819reg:20maxItems: 12122interrupts:23items:24- description: Non-recoverable internal error interrupt25- description: Normal transfer error interrupt26- description: Normal transfer abort interrupt27- description: Normal response status buffer full interrupt28- description: Normal command buffer empty interrupt29- description: Normal IBI status buffer full interrupt30- description: Normal Rx data buffer full interrupt31- description: Normal Tx data buffer empty interrupt32- description: Normal receive status buffer full interrupt33- description: START condition detection interrupt34- description: STOP condition detection interrupt35- description: Transmit end interrupt36- description: NACK detection interrupt37- description: Arbitration lost interrupt38- description: Timeout detection interrupt39- description: Wake-up condition detection interrupt40- description: HDR Exit Pattern detection interrupt41minItems: 164243interrupt-names:44items:45- const: ierr46- const: terr47- const: abort48- const: resp49- const: cmd50- const: ibi51- const: rx52- const: tx53- const: rcv54- const: st55- const: sp56- const: tend57- const: nack58- const: al59- const: tmo60- const: wu61- const: exit62minItems: 166364clocks:65items:66- description: APB bus clock67- description: transfer clock68- description: SFRs clock69minItems: 27071clock-names:72items:73- const: pclk74- const: tclk75- const: pclkrw76minItems: 27778power-domains:79maxItems: 18081resets:82items:83- description: Reset signal84- description: APB interface reset signal/SCAN reset signal8586reset-names:87items:88- const: presetn89- const: tresetn9091required:92- compatible93- reg94- interrupts95- interrupt-names96- clock-names97- clocks98- power-domains99- resets100- reset-names101102allOf:103- $ref: i3c.yaml#104105- if:106properties:107compatible:108contains:109const: renesas,r9a08g045-i3c110then:111properties:112clocks:113maxItems: 2114clock-names:115maxItems: 2116interrupts:117minItems: 17118interrupt-names:119minItems: 17120121- if:122properties:123compatible:124contains:125const: renesas,r9a09g047-i3c126then:127properties:128clocks:129minItems: 3130clock-names:131minItems: 3132interrupts:133maxItems: 16134interrupt-names:135maxItems: 16136137unevaluatedProperties: false138139examples:140- |141#include <dt-bindings/clock/r9a08g045-cpg.h>142#include <dt-bindings/interrupt-controller/arm-gic.h>143144i3c@1005b000 {145compatible = "renesas,r9a08g045-i3c";146reg = <0x1005b000 0x1000>;147clocks = <&cpg CPG_MOD R9A08G045_I3C_PCLK>,148<&cpg CPG_MOD R9A08G045_I3C_TCLK>;149clock-names = "pclk", "tclk";150interrupts = <GIC_SPI 289 IRQ_TYPE_LEVEL_HIGH>,151<GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>,152<GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH>,153<GIC_SPI 294 IRQ_TYPE_EDGE_RISING>,154<GIC_SPI 295 IRQ_TYPE_EDGE_RISING>,155<GIC_SPI 296 IRQ_TYPE_EDGE_RISING>,156<GIC_SPI 297 IRQ_TYPE_EDGE_RISING>,157<GIC_SPI 298 IRQ_TYPE_EDGE_RISING>,158<GIC_SPI 299 IRQ_TYPE_EDGE_RISING>,159<GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,160<GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>,161<GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>,162<GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>,163<GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH>,164<GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH>,165<GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH>,166<GIC_SPI 306 IRQ_TYPE_LEVEL_HIGH>;167interrupt-names = "ierr", "terr", "abort", "resp",168"cmd", "ibi", "rx", "tx", "rcv",169"st", "sp", "tend", "nack",170"al", "tmo", "wu", "exit";171resets = <&cpg R9A08G045_I3C_PRESETN>,172<&cpg R9A08G045_I3C_TRESETN>;173reset-names = "presetn", "tresetn";174power-domains = <&cpg>;175#address-cells = <3>;176#size-cells = <0>;177};178...179180181