Skip to content

Commit 05b5356

Browse files
committed
external_flash: add support for mx25r1635f
This flash chip is used in Simmel. Signed-off-by: Sean Cross <[email protected]>
1 parent a4d86b9 commit 05b5356

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

supervisor/shared/external_flash/devices.h

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,25 @@ typedef struct {
481481
.single_status_byte = true, \
482482
}
483483

484+
// Settings for the Macronix MX25R1635F 8MiB SPI flash.
485+
// Datasheet: https://www.macronix.com/Lists/Datasheet/Attachments/7595/MX25R1635F,%20Wide%20Range,%2016Mb,%20v1.6.pdf
486+
// In low power mode, quad operations can only run at 8 MHz.
487+
#define MX25R1635F {\
488+
.total_size = (1 << 21), /* 2 MiB */ \
489+
.start_up_time_us = 800, \
490+
.manufacturer_id = 0xc2, \
491+
.memory_type = 0x28, \
492+
.capacity = 0x18, \
493+
.max_clock_speed_mhz = 33, /* 8 mhz for dual/quad */ \
494+
.quad_enable_bit_mask = 0x80, \
495+
.has_sector_protection = false, \
496+
.supports_fast_read = true, \
497+
.supports_qspi = true, \
498+
.supports_qspi_writes = true, \
499+
.write_status_register_split = false, \
500+
.single_status_byte = true, \
501+
}
502+
484503
// Settings for the Macronix MX25L51245G 64MiB SPI flash.
485504
// Datasheet: https://www.macronix.com/Lists/Datasheet/Attachments/7437/MX25L51245G,%203V,%20512Mb,%20v1.6.pdf
486505
#define MX25L51245G {\

0 commit comments

Comments
 (0)