Cyrille Pitchen | 7ddf7c1 | 2016-06-13 17:10:25 +0200 | [diff] [blame] | 1 | * Atmel Quad Serial Peripheral Interface (QSPI) |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: Should be "atmel,sama5d2-qspi". |
| 5 | - reg: Should contain the locations and lengths of the base registers |
| 6 | and the mapped memory. |
| 7 | - reg-names: Should contain the resource reg names: |
| 8 | - qspi_base: configuration register address space |
| 9 | - qspi_mmap: memory mapped address space |
| 10 | - interrupts: Should contain the interrupt for the device. |
| 11 | - clocks: The phandle of the clock needed by the QSPI controller. |
| 12 | - #address-cells: Should be <1>. |
| 13 | - #size-cells: Should be <0>. |
| 14 | |
| 15 | Example: |
| 16 | |
| 17 | spi@f0020000 { |
| 18 | compatible = "atmel,sama5d2-qspi"; |
| 19 | reg = <0xf0020000 0x100>, <0xd0000000 0x8000000>; |
| 20 | reg-names = "qspi_base", "qspi_mmap"; |
| 21 | interrupts = <52 IRQ_TYPE_LEVEL_HIGH 7>; |
| 22 | clocks = <&spi0_clk>; |
| 23 | #address-cells = <1>; |
| 24 | #size-cells = <0>; |
| 25 | pinctrl-names = "default"; |
| 26 | pinctrl-0 = <&pinctrl_spi0_default>; |
| 27 | status = "okay"; |
| 28 | |
| 29 | m25p80@0 { |
| 30 | ... |
| 31 | }; |
| 32 | }; |