xref: /freebsd/sys/contrib/device-tree/Bindings/spi/amlogic,a1-spifc.yaml (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/spi/amlogic,a1-spifc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Amlogic A1 SPI Flash Controller
8
9maintainers:
10  - Martin Kurbanov <mmkurbanov@sberdevices.ru>
11
12allOf:
13  - $ref: spi-controller.yaml#
14
15properties:
16  compatible:
17    enum:
18      - amlogic,a1-spifc
19
20  reg:
21    maxItems: 1
22
23  clocks:
24    maxItems: 1
25
26required:
27  - compatible
28  - reg
29  - clocks
30
31unevaluatedProperties: false
32
33examples:
34  - |
35    spi@fd000400 {
36        compatible = "amlogic,a1-spifc";
37        reg = <0xfd000400 0x290>;
38        clocks = <&clkc_clkid_spifc>;
39        #address-cells = <1>;
40        #size-cells = <0>;
41    };
42