summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/spi/faraday,ftssp010.yaml
blob: 678598de34006f663e933105dec26e6bc9d68aa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/spi/faraday,ftssp010.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Faraday FTSSP010 SPI Controller

maintainers:
  - Linus Walleij <linusw@kernel.org>

properties:
  compatible:
    const: faraday,ftssp010

  interrupts:
    maxItems: 1

  reg:
    maxItems: 1

  cs-gpios: true

required:
  - compatible
  - interrupts
  - reg

allOf:
  - $ref: spi-controller.yaml#

unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/gpio/gpio.h>
    spi@4a000000 {
        compatible = "faraday,ftssp010";
        #address-cells = <1>;
        #size-cells = <0>;
        reg = <0x4a000000 0x1000>;
        interrupts = <0>;
    };