1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries
5 $id: http://devicetree.org/schemas/spi/atmel,at91rm9200-spi.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Atmel SPI device
11 - Tudor Ambarus <tudor.ambarus@microchip.com>
14 - $ref: spi-controller.yaml#
19 - const: atmel,at91rm9200-spi
21 - const: microchip,sam9x60-spi
22 - const: atmel,at91rm9200-spi
39 - description: TX DMA Channel
40 - description: RX DMA Channel
48 $ref: /schemas/types.yaml#/definitions/uint32
50 Maximum number of data the RX and TX FIFOs can store for FIFO
51 capable SPI controllers.
61 unevaluatedProperties: false
65 #include <dt-bindings/gpio/gpio.h>
66 #include <dt-bindings/interrupt-controller/irq.h>
69 compatible = "atmel,at91rm9200-spi";
70 reg = <0xfffcc000 0x4000>;
71 interrupts = <13 IRQ_TYPE_LEVEL_HIGH 5>;
75 clock-names = "spi_clk";
76 cs-gpios = <&pioB 3 GPIO_ACTIVE_HIGH>;
77 atmel,fifo-size = <32>;
80 compatible = "mmc-spi-slot";
82 gpios = <&pioC 4 GPIO_ACTIVE_HIGH>; /* CD */
83 spi-max-frequency = <25000000>;