boards: arm: stm32h747i disco board enables QSPI interface
The stm32h474i_disco has a twin NOR flash made of two MT25QL512 64MBytes quad-NOR devices. Here, the partition is fully adressing the memory size. The 1st NOR device is selected (U3 on the schematics). Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
parent
06b8f4b994
commit
c7b82096a4
3 changed files with 43 additions and 0 deletions
|
@ -27,6 +27,7 @@ Additionally, the board features:
|
|||
- USB OTG HS
|
||||
- Stereo speaker outputs
|
||||
- ST-MEMS digital microphones
|
||||
- 2 x 512-Mbit QUAD-SPI NOR Flash memory
|
||||
- 256-Mbit SDRAM
|
||||
- 4 color user LEDs
|
||||
- 1 user and reset push-button
|
||||
|
@ -71,6 +72,8 @@ The current Zephyr stm32h747i_disco board configuration supports the following h
|
|||
+-----------+------------+-------------------------------------+
|
||||
| SPI | on-chip | spi |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| QSPI NOR | on-chip | off-chip flash |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| SDMMC | on-chip | disk access |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| IPM | on-chip | virtual mailbox based on HSEM |
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
zephyr,shell-uart = &usart1;
|
||||
zephyr,sram = &sram0;
|
||||
zephyr,flash = &flash0;
|
||||
zephyr,flash-controller = &mt25ql512ab1;
|
||||
};
|
||||
|
||||
sdram2: sdram@d0000000 {
|
||||
|
@ -53,6 +54,7 @@
|
|||
led0 = &green_led_1;
|
||||
led1 = &orange_led_2;
|
||||
sw0 = &wake_up;
|
||||
spi-flash0 = &mt25ql512ab1;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -206,4 +208,41 @@ zephyr_udc0: &usbotg_hs {
|
|||
cd-gpios = <&gpioi 8 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
&quadspi {
|
||||
pinctrl-0 = <&quadspi_clk_pb2 &quadspi_bk1_ncs_pg6
|
||||
&quadspi_bk1_io0_pd11 &quadspi_bk1_io1_pf9
|
||||
&quadspi_bk1_io2_pf7 &quadspi_bk1_io3_pf6
|
||||
&quadspi_bk2_io0_ph2 &quadspi_bk2_io1_ph3
|
||||
&quadspi_bk2_io2_pg9 &quadspi_bk2_io3_pg14>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
|
||||
mt25ql512ab1: qspi-nor-flash-1@0 {
|
||||
compatible = "st,stm32-qspi-nor";
|
||||
reg = <0>;
|
||||
qspi-max-frequency = <72000000>;
|
||||
size = <DT_SIZE_M(512)>; /* 64 MBytes */
|
||||
spi-bus-width = <4>;
|
||||
status = "okay";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
partition@0 {
|
||||
reg = <0x0 DT_SIZE_M(64)>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
mt25ql512ab2: qspi-nor-flash-2@0 {
|
||||
compatible = "st,stm32-qspi-nor";
|
||||
reg = <0>;
|
||||
qspi-max-frequency = <72000000>;
|
||||
size = <DT_SIZE_M(512)>; /* 64 MBytes */
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
arduino_spi: &spi5 {};
|
||||
|
|
|
@ -14,6 +14,7 @@ supported:
|
|||
- arduino_spi
|
||||
- spi
|
||||
- netif:eth
|
||||
- qspi
|
||||
- memc
|
||||
- usb_cdc
|
||||
- usb_device
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue