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