]> Pileus Git - ~andy/linux/blob - Documentation/devicetree/bindings/spi/spi_atmel.txt
spi: spi-imx: spi_imx_remove: do not disable disabled clocks
[~andy/linux] / Documentation / devicetree / bindings / spi / spi_atmel.txt
1 Atmel SPI device
2
3 Required properties:
4 - compatible : should be "atmel,at91rm9200-spi".
5 - reg: Address and length of the register set for the device
6 - interrupts: Should contain spi interrupt
7 - cs-gpios: chipselects
8
9 Example:
10
11 spi1: spi@fffcc000 {
12         compatible = "atmel,at91rm9200-spi";
13         reg = <0xfffcc000 0x4000>;
14         interrupts = <13 4 5>;
15         #address-cells = <1>;
16         #size-cells = <0>;
17         cs-gpios = <&pioB 3 0>;
18         status = "okay";
19
20         mmc-slot@0 {
21                 compatible = "mmc-spi-slot";
22                 reg = <0>;
23                 gpios = <&pioC 4 0>;    /* CD */
24                 spi-max-frequency = <25000000>;
25         };
26 };