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:
183183- LD4 (blue) : PM3
184184- ADC1 channel 6 input : PF12
185185- USB OTG FS DM/DP : PM12/PM11
186+ - XSPI1 NCS/DQS0/DQS1/CLK/IO: PO0/PO2/PO3/PO4/PP0..15
186187
187188System Clock
188189------------
Original file line number Diff line number Diff line change 2121 zephyr,sram = &sram0;
2222 };
2323
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+
2431 leds {
2532 compatible = "gpio-leds";
2633 green_led: led_1 {
173180 pinctrl-names = "default";
174181};
175182
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+
176208&die_temp {
177209 status = "okay";
178210};
Original file line number Diff line number Diff line change @@ -15,4 +15,5 @@ supported:
1515 - adc
1616 - usb_device
1717 - usbd
18+ - memc
1819vendor : st
You can’t perform that action at this time.
0 commit comments