Debian Codegraph @

Documentation/devicetree/bindings/spi/faraday,ftssp010.yaml

raw
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/spi/faraday,ftssp010.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Faraday FTSSP010 SPI Controller
8
9 maintainers:
10 - Linus Walleij <[email protected]>
11
12 properties:
13 compatible:
14 const: faraday,ftssp010
15
16 interrupts:
17 maxItems: 1
18
19 reg:
20 maxItems: 1
21
22 cs-gpios: true
23
24 required:
25 - compatible
26 - interrupts
27 - reg
28
29 allOf:
30 - $ref: spi-controller.yaml#
31
32 unevaluatedProperties: false
33
34 examples:
35 - |
36 #include <dt-bindings/gpio/gpio.h>
37 spi@4a000000 {
38 compatible = "faraday,ftssp010";
39 #address-cells = <1>;
40 #size-cells = <0>;
41 reg = <0x4a000000 0x1000>;
42 interrupts = <0>;
43 };