-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
STM32N6: add XSPI Flash support #85561
STM32N6: add XSPI Flash support #85561
Conversation
Test results of
|
5c4255b
to
d1f3795
Compare
Rebased to fix conflicts |
d1f3795
to
67e4230
Compare
Completed board docs with XSPI info |
67e4230
to
0a9ae32
Compare
Rebase round 2 |
0a9ae32
to
6192ed3
Compare
#size-cells = <1>; | ||
storage_partition: partition@3ff0000 { | ||
label = "storage"; | ||
reg = <0xa0000 DT_SIZE_K(64)>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why does the address differ from the partition@3ff0000
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Old value that I forgot to update. Changed
@@ -86,6 +86,8 @@ The Zephyr ``stm32n6570_dk`` board supports the following hardware features: | |||
| UART | on-chip | serial port-polling; | | |||
| | | serial port-interrupt | | |||
+-----------+------------+-------------------------------------+ | |||
| XSPI | on-chip | External Flash | | |||
+-----------+------------+-------------------------------------+ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
External Memory ( flash or PSRAM )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
6192ed3
to
0251f3a
Compare
71aa1d1
to
b199c57
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpicking comment
&xspim_p2_io6_pn10 &xspim_p2_io7_pn11>; | ||
pinctrl-names = "default"; | ||
status = "okay"; | ||
mx25um51245g: ospi-nor-flash@70000000 { |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
Set VddIO 2 and 3 voltage to 1.8V Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
Add some ifdef to fix compilation error on STM32N6 Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
Add XSPI2 support to STM32N6 Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
b199c57
to
8590e96
Compare
compatible = "fixed-partitions"; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
storage_partition: partition@3ff0000 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here also :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
compatible = "fixed-partitions"; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
storage_partition: partition@7ff0000 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
... and here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Enable XSPI external Flash for STM32N6570-DK and Nucleo N657X0 boards. Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
8590e96
to
b68cc59
Compare
Add XSPI Flash support for STM32N6. Enable XSPI Flash on STM32N6570-DK and Nucleo N657X0.