ea47d30eef436d4b5a8521464968db68aa8f19b2
[linux-modified.git] / amlogic,a1-spifc.yaml
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
7 title: Amlogic A1 SPI Flash Controller
8
9 maintainers:
10   - Martin Kurbanov <mmkurbanov@sberdevices.ru>
11
12 allOf:
13   - $ref: spi-controller.yaml#
14
15 properties:
16   compatible:
17     enum:
18       - amlogic,a1-spifc
19
20   reg:
21     maxItems: 1
22
23   clocks:
24     maxItems: 1
25
26 required:
27   - compatible
28   - reg
29   - clocks
30
31 unevaluatedProperties: false
32
33 examples:
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     };