Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: fsi: Document binding for the fsi-master-ast-cf "device"

This isn't per-se a real device, it's a pseudo-device that
represents the use of the Aspeed built-in ColdFire to
implement the FSI protocol by bitbanging the GPIOs instead
of doing it from the ARM core.

Thus it's a drop-in replacement for the existing
fsi-master-gpio pseudo-device for use on systems based
on the Aspeed chips. It has most of the same properties,
plus some more needed to operate the coprocessor.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: Rob Herring <robh@kernel.org>

+36
+36
Documentation/devicetree/bindings/fsi/fsi-master-ast-cf.txt
··· 1 + Device-tree bindings for ColdFire offloaded gpio-based FSI master driver 2 + ------------------------------------------------------------------------ 3 + 4 + Required properties: 5 + - compatible = 6 + "aspeed,ast2400-cf-fsi-master" for an AST2400 based system 7 + or 8 + "aspeed,ast2500-cf-fsi-master" for an AST2500 based system 9 + 10 + - clock-gpios = <gpio-descriptor>; : GPIO for FSI clock 11 + - data-gpios = <gpio-descriptor>; : GPIO for FSI data signal 12 + - enable-gpios = <gpio-descriptor>; : GPIO for enable signal 13 + - trans-gpios = <gpio-descriptor>; : GPIO for voltage translator enable 14 + - mux-gpios = <gpio-descriptor>; : GPIO for pin multiplexing with other 15 + functions (eg, external FSI masters) 16 + - memory-region = <phandle>; : Reference to the reserved memory for 17 + the ColdFire. Must be 2M aligned on 18 + AST2400 and 1M aligned on AST2500 19 + - aspeed,sram = <phandle>; : Reference to the SRAM node. 20 + - aspeed,cvic = <phandle>; : Reference to the CVIC node. 21 + 22 + Examples: 23 + 24 + fsi-master { 25 + compatible = "aspeed,ast2500-cf-fsi-master", "fsi-master"; 26 + 27 + clock-gpios = <&gpio 0>; 28 + data-gpios = <&gpio 1>; 29 + enable-gpios = <&gpio 2>; 30 + trans-gpios = <&gpio 3>; 31 + mux-gpios = <&gpio 4>; 32 + 33 + memory-region = <&coldfire_memory>; 34 + aspeed,sram = <&sram>; 35 + aspeed,cvic = <&cvic>; 36 + }