Merge tag 'mfd-next-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / fsi / fsi-master-aspeed.txt
1 Device-tree bindings for AST2600 FSI master
2 -------------------------------------------
3
4 The AST2600 contains two identical FSI masters. They share a clock and have a
5 separate interrupt line and output pins.
6
7 Required properties:
8  - compatible: "aspeed,ast2600-fsi-master"
9  - reg: base address and length
10  - clocks: phandle and clock number
11  - interrupts: platform dependent interrupt description
12  - pinctrl-0: phandle to pinctrl node
13  - pinctrl-names: pinctrl state
14
15 Optional properties:
16  - cfam-reset-gpios: GPIO for CFAM reset
17
18  - fsi-routing-gpios: GPIO for setting the FSI mux (internal or cabled)
19  - fsi-mux-gpios: GPIO for detecting the desired FSI mux state
20
21
22 Examples:
23
24     fsi-master {
25         compatible = "aspeed,ast2600-fsi-master", "fsi-master";
26         reg = <0x1e79b000 0x94>;
27         interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
28         pinctrl-names = "default";
29         pinctrl-0 = <&pinctrl_fsi1_default>;
30         clocks = <&syscon ASPEED_CLK_GATE_FSICLK>;
31
32         fsi-routing-gpios = <&gpio0 ASPEED_GPIO(Q, 7) GPIO_ACTIVE_HIGH>;
33         fsi-mux-gpios = <&gpio0 ASPEED_GPIO(B, 0) GPIO_ACTIVE_HIGH>;
34
35         cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
36     };