1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2# Copyright 2019,2020 Lubomir Rintel <lkundrak@v3.sk> 3%YAML 1.2 4--- 5$id: http://devicetree.org/schemas/spi/marvell,mmp2-ssp.yaml# 6$schema: http://devicetree.org/meta-schemas/core.yaml# 7 8title: PXA2xx SSP SPI Controller 9 10maintainers: 11 - Lubomir Rintel <lkundrak@v3.sk> 12 13properties: 14 compatible: 15 enum: 16 - marvell,mmp2-ssp 17 - mrvl,ce4100-ssp 18 - mvrl,pxa168-ssp 19 - mrvl,pxa25x-ssp 20 - mvrl,pxa25x-nssp 21 - mrvl,pxa27x-ssp 22 - mrvl,pxa3xx-ssp 23 - mrvl,pxa910-ssp 24 25 interrupts: 26 maxItems: 1 27 28 reg: 29 maxItems: 1 30 31 clocks: 32 maxItems: 1 33 34 dmas: 35 items: 36 - description: Receive DMA 37 - description: Transmit DMA 38 39 dma-names: 40 items: 41 - const: rx 42 - const: tx 43 44 ready-gpios: 45 description: | 46 GPIO used to signal a SPI master that the FIFO is filled and we're 47 ready to service a transfer. Only useful in slave mode. 48 maxItems: 1 49 50required: 51 - compatible 52 - reg 53 - interrupts 54 - clocks 55 56dependencies: 57 ready-gpios: [ spi-slave ] 58 59allOf: 60 - $ref: spi-controller.yaml# 61 - if: 62 properties: 63 compatible: 64 contains: 65 const: marvell,mmp2-ssp 66 then: 67 properties: 68 dmas: false 69 dma-names: false 70 71unevaluatedProperties: false 72 73examples: 74 - | 75 #include <dt-bindings/clock/marvell,mmp2.h> 76 spi@d4035000 { 77 compatible = "marvell,mmp2-ssp"; 78 #address-cells = <1>; 79 #size-cells = <0>; 80 reg = <0xd4035000 0x1000>; 81 clocks = <&soc_clocks MMP2_CLK_SSP0>; 82 interrupts = <0>; 83 }; 84 85... 86