1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/spi/mxs-spi 4 $id: http://devicetree.org/schemas/spi/mxs-spi.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Freescale MX233/MX28 SSP/SPI 7 title: Freescale MX233/MX28 SSP/SPI 8 8 9 maintainers: 9 maintainers: 10 - Marek Vasut <marex@denx.de> 10 - Marek Vasut <marex@denx.de> 11 11 12 allOf: 12 allOf: 13 - $ref: /schemas/spi/spi-controller.yaml# 13 - $ref: /schemas/spi/spi-controller.yaml# 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 enum: 17 enum: 18 - fsl,imx23-spi 18 - fsl,imx23-spi 19 - fsl,imx28-spi 19 - fsl,imx28-spi 20 20 21 reg: 21 reg: 22 maxItems: 1 22 maxItems: 1 23 23 24 interrupts: 24 interrupts: 25 maxItems: 1 25 maxItems: 1 26 26 27 dmas: 27 dmas: 28 maxItems: 1 28 maxItems: 1 29 29 30 dma-names: 30 dma-names: 31 const: rx-tx 31 const: rx-tx 32 32 33 clock-frequency: 33 clock-frequency: 34 description: input clock frequency to the 34 description: input clock frequency to the SPI block in Hz. 35 default: 160000000 35 default: 160000000 36 36 37 required: 37 required: 38 - compatible 38 - compatible 39 - reg 39 - reg 40 - interrupts 40 - interrupts 41 - dmas 41 - dmas 42 - dma-names 42 - dma-names 43 43 44 unevaluatedProperties: false 44 unevaluatedProperties: false 45 45 46 examples: 46 examples: 47 - | 47 - | 48 spi@80010000 { 48 spi@80010000 { 49 #address-cells = <1>; 49 #address-cells = <1>; 50 #size-cells = <0>; 50 #size-cells = <0>; 51 compatible = "fsl,imx28-spi"; 51 compatible = "fsl,imx28-spi"; 52 reg = <0x80010000 0x2000>; 52 reg = <0x80010000 0x2000>; 53 interrupts = <96>; 53 interrupts = <96>; 54 dmas = <&dma_apbh 0>; 54 dmas = <&dma_apbh 0>; 55 dma-names = "rx-tx"; 55 dma-names = "rx-tx"; 56 }; 56 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.