1 * Device tree bindings for Atmel Flexcom (Flexible Serial Communication Unit)
3 The Atmel Flexcom is just a wrapper which embeds a SPI controller, an I2C
4 controller and an USART. Only one function can be used at a time and is chosen
5 at boot time according to the device tree.
8 - compatible: Should be "atmel,sama5d2-flexcom"
9 - reg: Should be the offset/length value for Flexcom dedicated
10 I/O registers (without USART, TWI or SPI registers).
11 - clocks: Should be the Flexcom peripheral clock from PMC.
12 - #address-cells: Should be <1>
13 - #size-cells: Should be <1>
14 - ranges: Should be one range for the full I/O register region
15 (including USART, TWI and SPI registers).
16 - atmel,flexcom-mode: Should be one of the following values:
22 A single available child device of type matching the "atmel,flexcom-mode"
25 The phandle provided by the clocks property of the child is the same as one for
28 For other properties, please refer to the documentations of the respective
30 - ../serial/atmel-usart.txt
31 - ../spi/spi_atmel.txt
37 compatible = "atmel,sama5d2-flexcom";
38 reg = <0xf8034000 0x200>;
42 ranges = <0x0 0xf8034000 0x800>;
43 atmel,flexcom-mode = <2>;
46 compatible = "atmel,at91rm9200-spi";
48 interrupts = <19 IRQ_TYPE_LEVEL_HIGH 7>;
49 pinctrl-names = "default";
50 pinctrl-0 = <&pinctrl_flx0_default>;
54 clock-names = "spi_clk";
55 atmel,fifo-size = <32>;
58 compatible = "atmel,at25f512b";
60 spi-max-frequency = <20000000>;