Renesas I3C Bus Interface
Schema identifier ($id): "http://devicetree.org/schemas/i3c/renesas,i3c.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Wolfram Sang <wsa+renesas@sang-engineering.com>", "Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,r9a08g045-i3c","renesas,r9a09g047-i3c"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,r9a09g056-i3c","renesas,r9a09g057-i3c"Item 2
Exact value (
const):"renesas,r9a09g047-i3c"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Array item rules (items) #
Item 1
Non-recoverable internal error interrupt
Item 2
Normal transfer error interrupt
Item 3
Normal transfer abort interrupt
Item 4
Normal response status buffer full interrupt
Item 5
Normal command buffer empty interrupt
Item 6
Normal IBI status buffer full interrupt
Item 7
Normal Rx data buffer full interrupt
Item 8
Normal Tx data buffer empty interrupt
Item 9
Normal receive status buffer full interrupt
Item 10
START condition detection interrupt
Item 11
STOP condition detection interrupt
Item 12
Transmit end interrupt
Item 13
NACK detection interrupt
Item 14
Arbitration lost interrupt
Item 15
Timeout detection interrupt
Item 16
Wake-up condition detection interrupt
Item 17
HDR Exit Pattern detection interrupt
Minimum number of items (minItems): 16
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ierr"
Item 2
Exact value (
const):"terr"
Item 3
Exact value (
const):"abort"
Item 4
Exact value (
const):"resp"
Item 5
Exact value (
const):"cmd"
Item 6
Exact value (
const):"ibi"
Item 7
Exact value (
const):"rx"
Item 8
Exact value (
const):"tx"
Item 9
Exact value (
const):"rcv"
Item 10
Exact value (
const):"st"
Item 11
Exact value (
const):"sp"
Item 12
Exact value (
const):"tend"
Item 13
Exact value (
const):"nack"
Item 14
Exact value (
const):"al"
Item 15
Exact value (
const):"tmo"
Item 16
Exact value (
const):"wu"
Item 17
Exact value (
const):"exit"
Minimum number of items (minItems): 16
clocks — required here #
Array item rules (items) #
Item 1
APB bus clock
Item 2
transfer clock
Item 3
SFRs clock
Minimum number of items (minItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pclk"
Item 2
Exact value (
const):"tclk"
Item 3
Exact value (
const):"pclkrw"
Minimum number of items (minItems): 2
power-domains — required here #
Maximum number of items (maxItems): 1
resets — required here #
Array item rules (items) #
Item 1
Reset signal
Item 2
APB interface reset signal/SCAN reset signal
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"presetn"
Item 2
Exact value (
const):"tresetn"
Required in this object (required): "compatible", "reg", "interrupts", "interrupt-names", "clock-names", "clocks", "power-domains", "resets", "reset-names"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):i3c.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"renesas,r9a08g045-i3c"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):2
clock-names— not listed as required hereMaximum number of items (
maxItems):2
interrupts— not listed as required hereMinimum number of items (
minItems):17
interrupt-names— not listed as required hereMinimum number of items (
minItems):17
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"renesas,r9a09g047-i3c"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):3
clock-names— not listed as required hereMinimum number of items (
minItems):3
interrupts— not listed as required hereMaximum number of items (
maxItems):16
interrupt-names— not listed as required hereMaximum number of items (
maxItems):16
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r9a08g045-cpg.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
i3c@1005b000 {
compatible = "renesas,r9a08g045-i3c";
reg = <0x1005b000 0x1000>;
clocks = <&cpg CPG_MOD R9A08G045_I3C_PCLK>,
<&cpg CPG_MOD R9A08G045_I3C_TCLK>;
clock-names = "pclk", "tclk";
interrupts = <GIC_SPI 289 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 294 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 295 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 296 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 297 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 298 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 299 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 306 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "ierr", "terr", "abort", "resp",
"cmd", "ibi", "rx", "tx", "rcv",
"st", "sp", "tend", "nack",
"al", "tmo", "wu", "exit";
resets = <&cpg R9A08G045_I3C_PRESETN>,
<&cpg R9A08G045_I3C_TRESETN>;
reset-names = "presetn", "tresetn";
power-domains = <&cpg>;
#address-cells = <3>;
#size-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 18: RZ/G3S
Line 19: RZ/G3E
Line 22: RZ/V2N
Line 23: RZ/V2H(P)