xref: /freebsd/sys/contrib/device-tree/Bindings/spi/microchip,mpfs-spi.yaml (revision 2a58b312b62f908ec92311d1bd8536dbaeb8e55b)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/spi/microchip,mpfs-spi.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Microchip MPFS {Q,}SPI Controller Device Tree Bindings
8
9maintainers:
10  - Conor Dooley <conor.dooley@microchip.com>
11
12allOf:
13  - $ref: spi-controller.yaml#
14
15properties:
16  compatible:
17    enum:
18      - microchip,mpfs-spi
19      - microchip,mpfs-qspi
20
21  reg:
22    maxItems: 1
23
24  interrupts:
25    maxItems: 1
26
27  clock-names:
28    maxItems: 1
29
30  clocks:
31    maxItems: 1
32
33required:
34  - compatible
35  - reg
36  - interrupts
37  - clocks
38
39unevaluatedProperties: false
40
41examples:
42  - |
43    #include "dt-bindings/clock/microchip,mpfs-clock.h"
44    spi@20108000 {
45        compatible = "microchip,mpfs-spi";
46        reg = <0x20108000 0x1000>;
47        clocks = <&clkcfg CLK_SPI0>;
48        interrupt-parent = <&plic>;
49        interrupts = <54>;
50    };
51...
52