Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions boards/arm/stm32f746g_disco/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ The Zephyr stm32f746g_disco board configuration supports the following hardware
+-----------+------------+-------------------------------------+
| SPI | on-chip | spi |
+-----------+------------+-------------------------------------+
| QSPI NOR | on-chip | flash |
+-----------+------------+-------------------------------------+

Other hardware features are not yet supported on Zephyr porting.

Expand Down
33 changes: 33 additions & 0 deletions boards/arm/stm32f746g_disco/stm32f746g_disco.dts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,dtcm = &dtcm;
zephyr,flash-controller = &n25q128a1;
};

leds {
Expand Down Expand Up @@ -119,3 +120,35 @@
&eth_txd0_pg13
&eth_txd1_pg14>;
};

&quadspi {
pinctrl-0 = <&quadspi_clk_pb2 &quadspi_bk1_ncs_pb6
&quadspi_bk1_io0_pd11 &quadspi_bk1_io1_pd12
&quadspi_bk1_io2_pe2 &quadspi_bk1_io3_pd13>;
status = "okay";

n25q128a1: qspi-nor-flash@0 {
compatible = "st,stm32-qspi-nor";
label = "N25Q128A1";
reg = <0>;
qspi-max-frequency = <72000000>;
size = <DT_SIZE_M(16*8)>;
status = "okay";

partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

slot1_partition: partition@0 {
label = "image-1";
reg = <0x00000000 0x000a0000>;
};

storage_partition: partition@a0000 {
label = "storage";
reg = <0x000a0000 DT_SIZE_M(15)>;
};
};
};
};
2 changes: 2 additions & 0 deletions boards/arm/stm32f769i_disco/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ The Zephyr stm32f769i_disco board configuration supports the following hardware
+-----------+------------+-------------------------------------+
| ETHERNET | on-chip | Ethernet |
+-----------+------------+-------------------------------------+
| QSPI NOR | on-chip | flash |
+-----------+------------+-------------------------------------+

Other hardware features are not yet supported on Zephyr porting.

Expand Down
33 changes: 33 additions & 0 deletions boards/arm/stm32f769i_disco/stm32f769i_disco.dts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,dtcm = &dtcm;
zephyr,flash-controller = &mx25l51245g;
};

leds {
Expand Down Expand Up @@ -104,3 +105,35 @@ arduino_serial: &usart6 {};
&sdmmc2_ck_pd6 &sdmmc2_cmd_pd7>;
cd-gpios = <&gpioi 15 GPIO_ACTIVE_LOW>;
};

&quadspi {
pinctrl-0 = <&quadspi_clk_pb2 &quadspi_bk1_ncs_pb6
&quadspi_bk1_io0_pc9 &quadspi_bk1_io1_pc10
&quadspi_bk1_io2_pe2 &quadspi_bk1_io3_pd13>;
status = "okay";

mx25l51245g: qspi-nor-flash@0 {
compatible = "st,stm32-qspi-nor";
label = "MX25L51245G";
reg = <0>;
qspi-max-frequency = <72000000>;
size = <DT_SIZE_M(64*8)>;
status = "okay";

partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

slot1_partition: partition@0 {
label = "image-1";
reg = <0x00000000 0x001a0000>;
};

storage_partition: partition@1a0000 {
label = "storage";
reg = <0x001a0000 DT_SIZE_M(62)>;
};
};
};
};
11 changes: 11 additions & 0 deletions dts/arm/st/f7/stm32f7.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,17 @@
label = "BACKUP_SRAM";
status = "disabled";
};

quadspi: quadspi@a0001000 {
compatible = "st,stm32-qspi";
#address-cells = <0x1>;
#size-cells = <0x0>;
reg = <0xa0001000 0x34>;
interrupts = <92 0>;
clocks = <&rcc STM32_CLOCK_BUS_AHB3 0x2>;
status = "disabled";
label = "QUADSPI";
};
};

otghs_fs_phy: otghs_fs_phy {
Expand Down