xref: /freebsd/sys/contrib/device-tree/Bindings/fsi/fsi-master-aspeed.txt (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
1Device-tree bindings for AST2600 FSI master
2-------------------------------------------
3
4The AST2600 contains two identical FSI masters. They share a clock and have a
5separate interrupt line and output pins.
6
7Required 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
15Optional 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
22Examples:
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    };
37