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