Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/spi/microchip,mpfs-spi.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Microchip MPFS {Q,}SPI Controller Device Tree Bindings
0008 
0009 maintainers:
0010   - Conor Dooley <conor.dooley@microchip.com>
0011 
0012 allOf:
0013   - $ref: spi-controller.yaml#
0014 
0015 properties:
0016   compatible:
0017     enum:
0018       - microchip,mpfs-spi
0019       - microchip,mpfs-qspi
0020 
0021   reg:
0022     maxItems: 1
0023 
0024   interrupts:
0025     maxItems: 1
0026 
0027   clock-names:
0028     maxItems: 1
0029 
0030   clocks:
0031     maxItems: 1
0032 
0033 required:
0034   - compatible
0035   - reg
0036   - interrupts
0037   - clocks
0038 
0039 unevaluatedProperties: false
0040 
0041 examples:
0042   - |
0043     #include "dt-bindings/clock/microchip,mpfs-clock.h"
0044     spi@20108000 {
0045         compatible = "microchip,mpfs-spi";
0046         reg = <0x20108000 0x1000>;
0047         clocks = <&clkcfg CLK_SPI0>;
0048         interrupt-parent = <&plic>;
0049         interrupts = <54>;
0050     };
0051 ...