brintos

brintos / linux-shallow public Read only

0
0
Text · 1.6 KiB · 0a1bada Raw
86 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2# Copyright 2019,2020 Lubomir Rintel <lkundrak@v3.sk>3%YAML 1.24---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 Controller9 10maintainers:11  - Lubomir Rintel <lkundrak@v3.sk>12 13properties:14  compatible:15    enum:16      - marvell,mmp2-ssp17      - mrvl,ce4100-ssp18      - mvrl,pxa168-ssp19      - mrvl,pxa25x-ssp20      - mvrl,pxa25x-nssp21      - mrvl,pxa27x-ssp22      - mrvl,pxa3xx-ssp23      - mrvl,pxa910-ssp24 25  interrupts:26    maxItems: 127 28  reg:29    maxItems: 130 31  clocks:32    maxItems: 133 34  dmas:35    items:36      - description: Receive DMA37      - description: Transmit DMA38 39  dma-names:40    items:41      - const: rx42      - const: tx43 44  ready-gpios:45    description: |46      GPIO used to signal a SPI master that the FIFO is filled and we're47      ready to service a transfer. Only useful in slave mode.48    maxItems: 149 50required:51  - compatible52  - reg53  - interrupts54  - clocks55 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-ssp66    then:67      properties:68        dmas: false69        dma-names: false70 71unevaluatedProperties: false72 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