| 1 |
# SPDX-License-Identifier: GPL-2.0 |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/i3c/snps,dw-i3c-master.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Synopsys DesignWare I3C master block |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Alexandre Belloni <[email protected]> |
| 11 |
|
| 12 |
allOf: |
| 13 |
- $ref: i3c.yaml# |
| 14 |
|
| 15 |
properties: |
| 16 |
compatible: |
| 17 |
oneOf: |
| 18 |
- const: snps,dw-i3c-master-1.00a |
| 19 |
- items: |
| 20 |
- const: altr,agilex5-dw-i3c-master |
| 21 |
- const: snps,dw-i3c-master-1.00a |
| 22 |
|
| 23 |
reg: |
| 24 |
maxItems: 1 |
| 25 |
|
| 26 |
clocks: |
| 27 |
minItems: 1 |
| 28 |
items: |
| 29 |
- description: Core clock |
| 30 |
- description: APB clock |
| 31 |
|
| 32 |
clock-names: |
| 33 |
minItems: 1 |
| 34 |
items: |
| 35 |
- const: core |
| 36 |
- const: apb |
| 37 |
|
| 38 |
interrupts: |
| 39 |
maxItems: 1 |
| 40 |
|
| 41 |
power-domains: |
| 42 |
maxItems: 1 |
| 43 |
|
| 44 |
required: |
| 45 |
- compatible |
| 46 |
- reg |
| 47 |
- clocks |
| 48 |
- interrupts |
| 49 |
|
| 50 |
unevaluatedProperties: false |
| 51 |
|
| 52 |
examples: |
| 53 |
- | |
| 54 |
i3c@2000 { |
| 55 |
compatible = "snps,dw-i3c-master-1.00a"; |
| 56 |
#address-cells = <3>; |
| 57 |
#size-cells = <0>; |
| 58 |
reg = <0x02000 0x1000>; |
| 59 |
interrupts = <0>; |
| 60 |
clocks = <&i3cclk>; |
| 61 |
|
| 62 |
eeprom@57{ |
| 63 |
compatible = "atmel,24c01"; |
| 64 |
reg = <0x57 0x0 0x10>; |
| 65 |
pagesize = <0x8>; |
| 66 |
}; |
| 67 |
}; |
| 68 |
... |