summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/spi/amlogic,a1-spifc.yaml
blob: 043879b434acc18b2f73474281739cde03839f5c (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
44
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/spi/amlogic,a1-spifc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Amlogic A1 SPI Flash Controller

maintainers:
  - Martin Kurbanov <mmkurbanov@sberdevices.ru>

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

properties:
  compatible:
    enum:
      - amlogic,a1-spifc

  reg:
    maxItems: 1

  clocks:
    maxItems: 1

  power-domains:
    maxItems: 1

required:
  - compatible
  - reg
  - clocks

unevaluatedProperties: false

examples:
  - |
    spi@fd000400 {
        compatible = "amlogic,a1-spifc";
        reg = <0xfd000400 0x290>;
        clocks = <&clkc_clkid_spifc>;
        #address-cells = <1>;
        #size-cells = <0>;
    };