Skip to content

Commit 4e2c1a8

Browse files
committed
ARM: dts: at91: sam9x75_curiosity: Add QSPI node
Add QSPI node which defines pinctrl and partitions to store the bootable images. Signed-off-by: Durai Manickam KR <durai.manickamkr@microchip.com>
1 parent dcebec2 commit 4e2c1a8

1 file changed

Lines changed: 59 additions & 0 deletions

File tree

arch/arm/boot/dts/at91-sam9x75_curiosity.dts

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,18 @@
262262
};
263263
};
264264

265+
qspi {
266+
pinctrl_qspi: pinctrl-qspi {
267+
atmel,pins =
268+
<AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_SLEWRATE_DIS
269+
AT91_PIOB 20 AT91_PERIPH_A AT91_PINCTRL_SLEWRATE_DIS
270+
AT91_PIOB 21 AT91_PERIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_SLEWRATE_DIS)
271+
AT91_PIOB 22 AT91_PERIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_SLEWRATE_DIS)
272+
AT91_PIOB 23 AT91_PERIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_SLEWRATE_DIS)
273+
AT91_PIOB 24 AT91_PERIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_SLEWRATE_DIS)>;
274+
};
275+
};
276+
265277
flexcom {
266278
pinctrl_flx6_twi_default: flx6-twi-default {
267279
atmel,pins =
@@ -332,6 +344,53 @@
332344
atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
333345
};
334346

347+
&qspi {
348+
pinctrl-names = "default";
349+
pinctrl-0 = <&pinctrl_qspi>;
350+
status = "okay";
351+
352+
flash@0 {
353+
#address-cells = <1>;
354+
#size-cells = <1>;
355+
compatible = "jedec,spi-nor";
356+
reg = <0>;
357+
spi-max-frequency = <100000000>;
358+
spi-tx-bus-width = <4>;
359+
spi-rx-bus-width = <4>;
360+
m25p,fast-read;
361+
362+
at91bootstrap@0 {
363+
label = "qspi: at91bootstrap";
364+
reg = <0x0 0x40000>;
365+
};
366+
367+
bootloader@40000 {
368+
label = "qspi: bootloader";
369+
reg = <0x40000 0xc0000>;
370+
};
371+
372+
bootloaderenvred@100000 {
373+
label = "qspi: bootloader env redundant";
374+
reg = <0x100000 0x40000>;
375+
};
376+
377+
bootloaderenv@140000 {
378+
label = "qspi: bootloader env";
379+
reg = <0x140000 0x40000>;
380+
};
381+
382+
dtb@180000 {
383+
label = "qspi: device tree";
384+
reg = <0x180000 0x80000>;
385+
};
386+
387+
kernel@200000 {
388+
label = "qspi: kernel";
389+
reg = <0x200000 0x600000>;
390+
};
391+
};
392+
};
393+
335394
&sdmmc0 {
336395
bus-width = <4>;
337396
pinctrl-names = "default";

0 commit comments

Comments
 (0)