File tree Expand file tree Collapse file tree 1 file changed +32
-4
lines changed
Documentation/devicetree/bindings/fsi Expand file tree Collapse file tree 1 file changed +32
-4
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,10 @@ title: IBM FSI-attached SPI controllers
9
9
maintainers :
10
10
11
11
12
- description : |
12
+ description :
13
13
This binding describes an FSI CFAM engine called the FSI2SPI. Therefore this
14
- node will always be a child of an FSI CFAM node; see fsi.txt for details on
15
- FSI slave and CFAM nodes. This FSI2SPI engine provides access to a number of
16
- SPI controllers.
14
+ node will always be a child of an FSI CFAM node. This FSI2SPI engine provides
15
+ access to a number of SPI controllers.
17
16
18
17
properties :
19
18
compatible :
@@ -24,6 +23,17 @@ properties:
24
23
items :
25
24
- description : FSI slave address
26
25
26
+ " #address-cells " :
27
+ const : 1
28
+
29
+ " #size-cells " :
30
+ const : 0
31
+
32
+ patternProperties :
33
+ " ^spi@[0-9a-f]+$ " :
34
+ type : object
35
+ $ref : /schemas/spi/ibm,spi-fsi.yaml
36
+
27
37
required :
28
38
- compatible
29
39
- reg
@@ -35,4 +45,22 @@ examples:
35
45
fsi2spi@1c00 {
36
46
compatible = "ibm,fsi2spi";
37
47
reg = <0x1c00 0x400>;
48
+ #address-cells = <1>;
49
+ #size-cells = <0>;
50
+
51
+ spi@0 {
52
+ compatible = "ibm,spi-fsi";
53
+ reg = <0>;
54
+ #address-cells = <1>;
55
+ #size-cells = <0>;
56
+
57
+ eeprom@0 {
58
+ compatible = "atmel,at25";
59
+ reg = <0>;
60
+ address-width = <24>;
61
+ pagesize = <256>;
62
+ size = <0x80000>;
63
+ spi-max-frequency = <1000000>;
64
+ };
65
+ };
38
66
};
You can’t perform that action at this time.
0 commit comments