Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/i2c/ibm,i2c-fsi.yaml
26307 views
1
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2
%YAML 1.2
3
---
4
$id: http://devicetree.org/schemas/i2c/ibm,i2c-fsi.yaml#
5
$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7
title: IBM FSI-attached I2C controller
8
9
maintainers:
10
- Eddie James <eajames@linux.ibm.com>
11
12
description:
13
This I2C controller is an FSI CFAM engine, providing access to a number of
14
I2C busses. Therefore this node will always be a child of an FSI CFAM node.
15
16
properties:
17
compatible:
18
enum:
19
- ibm,i2c-fsi
20
21
reg:
22
items:
23
- description: FSI slave address
24
25
"#address-cells":
26
const: 1
27
28
"#size-cells":
29
const: 0
30
31
patternProperties:
32
"^i2c-bus@[0-9a-f]+$":
33
type: object
34
properties:
35
reg:
36
maxItems: 1
37
38
required:
39
- reg
40
41
allOf:
42
- $ref: /schemas/i2c/i2c-controller.yaml#
43
44
unevaluatedProperties: false
45
46
required:
47
- compatible
48
- reg
49
50
additionalProperties: false
51
52
examples:
53
- |
54
i2c@1800 {
55
compatible = "ibm,i2c-fsi";
56
reg = <0x1800 0x400>;
57
#address-cells = <1>;
58
#size-cells = <0>;
59
60
i2c-bus@0 {
61
reg = <0>;
62
#address-cells = <1>;
63
#size-cells = <0>;
64
};
65
66
i2c-bus@1 {
67
reg = <1>;
68
#address-cells = <1>;
69
#size-cells = <0>;
70
71
eeprom@50 {
72
compatible = "atmel,24c64";
73
reg = <0x50>;
74
};
75
};
76
};
77
78