File tree Expand file tree Collapse file tree 3 files changed +34
-0
lines changed Expand file tree Collapse file tree 3 files changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -183,6 +183,7 @@ Default Zephyr Peripheral Mapping:
183
183
- LD4 (blue) : PM3
184
184
- ADC1 channel 6 input : PF12
185
185
- USB OTG FS DM/DP : PM12/PM11
186
+ - XSPI1 NCS/DQS0/DQS1/CLK/IO: PO0/PO2/PO3/PO4/PP0..15
186
187
187
188
System Clock
188
189
------------
Original file line number Diff line number Diff line change 21
21
zephyr,sram = &sram0;
22
22
};
23
23
24
+ psram: memory@90000000 {
25
+ compatible = "zephyr,memory-region";
26
+ reg = <0x90000000 DT_SIZE_M(32)>;
27
+ zephyr,memory-region = "PSRAM";
28
+ zephyr,memory-attr = <DT_MEM_ARM_MPU_RAM>;
29
+ };
30
+
24
31
leds {
25
32
compatible = "gpio-leds";
26
33
green_led: led_1 {
173
180
pinctrl-names = "default";
174
181
};
175
182
183
+ &xspi1 {
184
+ pinctrl-0 = <&xspim_p1_ncs1_po0 &xspim_p1_dqs0_po2
185
+ &xspim_p1_dqs1_po3 &xspim_p1_clk_po4
186
+ &xspim_p1_io0_pp0 &xspim_p1_io1_pp1 &xspim_p1_io2_pp2
187
+ &xspim_p1_io3_pp3 &xspim_p1_io4_pp4 &xspim_p1_io5_pp5
188
+ &xspim_p1_io6_pp6 &xspim_p1_io7_pp7 &xspim_p1_io8_pp8
189
+ &xspim_p1_io9_pp9 &xspim_p1_io10_pp10 &xspim_p1_io11_pp11
190
+ &xspim_p1_io12_pp12 &xspim_p1_io13_pp13 &xspim_p1_io14_pp14
191
+ &xspim_p1_io15_pp15>;
192
+
193
+ pinctrl-names = "default";
194
+ status = "okay";
195
+
196
+ memc: aps256xxn-obr@90000000 {
197
+ compatible = "st,stm32-xspi-psram";
198
+ reg = <0x90000000 DT_SIZE_M(32)>; /* 256 Mbits */
199
+ fixed-latency;
200
+ io-x16-mode;
201
+ read-latency = <4>;
202
+ write-latency = <1>;
203
+ burst-length = <0>;
204
+ status = "okay";
205
+ };
206
+ };
207
+
176
208
&die_temp {
177
209
status = "okay";
178
210
};
Original file line number Diff line number Diff line change @@ -15,4 +15,5 @@ supported:
15
15
- adc
16
16
- usb_device
17
17
- usbd
18
+ - memc
18
19
vendor : st
You can’t perform that action at this time.
0 commit comments