Skip to content

Commit dcebec2

Browse files
committed
ARM: dts: at91: sam9x7: Add QSPI node
sam9x7 embedds One Octal Serial Peripheral Interface (OSPI) Supporting up to 100 MHz DDR. Octal, TwinQuad, HyperFlash and OctaFlash Protocols supported. Signed-off-by: Durai Manickam KR <durai.manickamkr@microchip.com>
1 parent fc7e430 commit dcebec2

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

arch/arm/boot/dts/sam9x7.dtsi

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,27 @@
315315
clock-names = "pclk";
316316
};
317317

318+
qspi: spi@f0014000 {
319+
compatible = "microchip,sam9x7-ospi";
320+
#address-cells = <1>;
321+
#size-cells = <1>;
322+
reg = <0xf0014000 0x100>, <0x60000000 0x20000000>;
323+
reg-names = "qspi_base", "qspi_mmap";
324+
interrupts = <35 IRQ_TYPE_LEVEL_HIGH 7>;
325+
dmas = <&dma0
326+
(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
327+
AT91_XDMAC_DT_PERID(26))>,
328+
<&dma0
329+
(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
330+
AT91_XDMAC_DT_PERID(27))>;
331+
dma-names = "tx", "rx";
332+
clocks = <&pmc PMC_TYPE_PERIPHERAL 35>, <&pmc PMC_TYPE_GCK 35>;
333+
clock-names = "pclk", "gclk";
334+
assigned-clocks = <&pmc PMC_TYPE_GCK 35>;
335+
assigned-clock-parents = <&pmc PMC_TYPE_CORE PMC_PLLADIV2>;
336+
status = "disabled";
337+
};
338+
318339
gpu: gfx2d@f0018000 {
319340
compatible = "microchip,sam9x60-gfx2d";
320341
reg = <0xf0018000 0x4000>;

0 commit comments

Comments
 (0)