Skip to content

Commit b1f9351

Browse files
shifteekartben
authored andcommitted
boards: opta: enable qspi
Features enabled by this commit: * QSPI Signed-off-by: Mark O'Donovan <[email protected]>
1 parent 0537df8 commit b1f9351

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

boards/arduino/opta/arduino_opta_stm32h747xx_m7.dts

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,3 +122,34 @@ zephyr_udc0: &usbotg_fs {
122122
reg = <0x00>;
123123
};
124124
};
125+
126+
&quadspi {
127+
pinctrl-0 = < &quadspi_bk1_io0_pd11
128+
&quadspi_bk1_io1_pd12
129+
&quadspi_bk1_io2_pe2
130+
&quadspi_bk1_io3_pd13
131+
&quadspi_bk1_ncs_pg6
132+
&quadspi_clk_pb2 >;
133+
pinctrl-names = "default";
134+
status = "okay";
135+
136+
at25sf128a: qspi-nor-flash@90000000 {
137+
compatible = "st,stm32-qspi-nor";
138+
reg = < 0x90000000 DT_SIZE_M(16) >; /* 128 MBits */
139+
qspi-max-frequency = <DT_FREQ_M(70)>;
140+
status = "okay";
141+
spi-bus-width = <2>;
142+
st,read-id-dummy-cycles = <16>;
143+
144+
partitions {
145+
compatible = "fixed-partitions";
146+
#address-cells = < 1 >;
147+
#size-cells = < 1 >;
148+
149+
storage_partition: partition@0 {
150+
label = "storage";
151+
reg=< 0x0 DT_SIZE_K(15872) >;
152+
};
153+
};
154+
};
155+
};

boards/arduino/opta/arduino_opta_stm32h747xx_m7.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ flash: 768
1010
supported:
1111
- gpio
1212
- netif:eth
13+
- qspi
1314
testing:
1415
ignore_tags:
1516
- mpu

0 commit comments

Comments
 (0)