Back to home page

OSCL-LXR

 
 

    


0001 Device-tree bindings for AST2600 FSI master
0002 -------------------------------------------
0003 
0004 The AST2600 contains two identical FSI masters. They share a clock and have a
0005 separate interrupt line and output pins.
0006 
0007 Required properties:
0008  - compatible: "aspeed,ast2600-fsi-master"
0009  - reg: base address and length
0010  - clocks: phandle and clock number
0011  - interrupts: platform dependent interrupt description
0012  - pinctrl-0: phandle to pinctrl node
0013  - pinctrl-names: pinctrl state
0014 
0015 Optional properties:
0016  - cfam-reset-gpios: GPIO for CFAM reset
0017 
0018  - fsi-routing-gpios: GPIO for setting the FSI mux (internal or cabled)
0019  - fsi-mux-gpios: GPIO for detecting the desired FSI mux state
0020 
0021 
0022 Examples:
0023 
0024     fsi-master {
0025         compatible = "aspeed,ast2600-fsi-master", "fsi-master";
0026         reg = <0x1e79b000 0x94>;
0027         interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
0028         pinctrl-names = "default";
0029         pinctrl-0 = <&pinctrl_fsi1_default>;
0030         clocks = <&syscon ASPEED_CLK_GATE_FSICLK>;
0031 
0032         fsi-routing-gpios = <&gpio0 ASPEED_GPIO(Q, 7) GPIO_ACTIVE_HIGH>;
0033         fsi-mux-gpios = <&gpio0 ASPEED_GPIO(B, 0) GPIO_ACTIVE_HIGH>;
0034 
0035         cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
0036     };