xref: /linux/Documentation/devicetree/bindings/spi/faraday,ftssp010.yaml (revision be1ca3ee8f97067fee87fda73ea5959d5ab75bbf)
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
7title: Faraday FTSSP010 SPI Controller
8
9maintainers:
10  - Linus Walleij <linusw@kernel.org>
11
12properties:
13  compatible:
14    const: faraday,ftssp010
15
16  interrupts:
17    maxItems: 1
18
19  reg:
20    maxItems: 1
21
22  cs-gpios: true
23
24required:
25  - compatible
26  - interrupts
27  - reg
28
29allOf:
30  - $ref: spi-controller.yaml#
31
32unevaluatedProperties: false
33
34examples:
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    };
44