| 
     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 
    7 title: Microchip MPFS {Q,}SPI Controller Device Tree Bindings
    8 
    9 maintainers:
   10   - Conor Dooley <conor.dooley@microchip.com>
   11 
   12 allOf:
   13   - $ref: spi-controller.yaml#
   14 
   15 properties:
   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 
   33 required:
   34   - compatible
   35   - reg
   36   - interrupts
   37   - clocks
   38 
   39 unevaluatedProperties: false
   40 
   41 examples:
   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 ...
Cache object: b34da7685a0c8d756a75ee0a193db92d 
 
 |