Skip to content

Commit 7a609bc

Browse files
Eddie Jamesrobherring
authored andcommitted
dt-bindings: fsi: Document the AST2700 FSI controller
Add the appropriate compatible string, and document the new reg properties of the AST2700 FSI controller, which can directly access the FSI controller registers as well as the FSI link address space. Signed-off-by: Eddie James <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring (Arm) <[email protected]>
1 parent 7767cd0 commit 7a609bc

File tree

1 file changed

+44
-3
lines changed

1 file changed

+44
-3
lines changed

Documentation/devicetree/bindings/fsi/aspeed,ast2600-fsi-master.yaml

Lines changed: 44 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ properties:
1717
compatible:
1818
enum:
1919
- aspeed,ast2600-fsi-master
20-
21-
reg:
22-
maxItems: 1
20+
- aspeed,ast2700-fsi-master
2321

2422
clocks:
2523
maxItems: 1
@@ -42,6 +40,30 @@ properties:
4240
interrupts:
4341
maxItems: 1
4442

43+
if:
44+
properties:
45+
compatible:
46+
contains:
47+
enum:
48+
- aspeed,ast2600-fsi-master
49+
then:
50+
properties:
51+
reg:
52+
maxItems: 1
53+
else:
54+
properties:
55+
reg:
56+
minItems: 1
57+
items:
58+
- description: OPB control registers
59+
- description: FSI controller registers
60+
- description: FSI link address space
61+
reg-names:
62+
items:
63+
- const: opb
64+
- const: ctrl
65+
- const: fsi
66+
4567
required:
4668
- compatible
4769
- reg
@@ -78,3 +100,22 @@ examples:
78100
chip-id = <0>;
79101
};
80102
};
103+
- |
104+
bus {
105+
#address-cells = <2>;
106+
#size-cells = <2>;
107+
108+
fsi-master@21800000 {
109+
compatible = "aspeed,ast2700-fsi-master";
110+
reg = <0x0 0x21800000 0x0 0x100>,
111+
<0x0 0x21000000 0x0 0x1000>,
112+
<0x0 0x20000000 0x0 0x1000000>;
113+
reg-names = "opb", "ctrl", "fsi";
114+
#interrupt-cells = <1>;
115+
interrupt-controller;
116+
interrupts-extended = <&intc 6>;
117+
pinctrl-names = "default";
118+
pinctrl-0 = <&pinctrl_fsi0_default>;
119+
clocks = <&syscon 40>;
120+
};
121+
};

0 commit comments

Comments
 (0)