53 lines
982 B
YAML

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/i3c/rockchip,i3c-master.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Rockchip I3C master block
allOf:
- $ref: i3c.yaml#
properties:
compatible:
const: rockchip,i3c-master
reg:
maxItems: 1
clocks:
maxItems: 2
clock-names:
minItems: 2
items:
- const: i3c
- const: pclk
interrupts:
maxItems: 1
required:
- compatible
- reg
- clocks
- clock-names
- interrupts
unevaluatedProperties: false
examples:
- |
i3c0: i3c-master@2abe0000 {
compatible = "rockchip,rk3576-i3c-master";
reg = <0x0 0x2abe0000 0x0 0x1000>;
interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <3>;
#size-cells = <0>;
clocks = <&cru HCLK_I3C>, <&cru i3C>;
clock-names = "hclk", "i3c";
dmas = <&dmac0 22>, <&dmac0 23>;
dma-names = "rx", "tx";
};