diff options
| author | Sean Cross <sean@xobs.io> | 2020-04-17 10:37:46 +0800 |
|---|---|---|
| committer | Sean Cross <sean@xobs.io> | 2020-04-21 09:56:05 +0800 |
| commit | 05b5356accefa02a868064fbc402a4646535004d (patch) | |
| tree | f711fc0b833490a038f35ad8444c0c211044080d | |
| parent | a4d86b96fd1e60b807258a30cd765b48f0372b6d (diff) | |
external_flash: add support for mx25r1635f
This flash chip is used in Simmel.
Signed-off-by: Sean Cross <sean@xobs.io>
| -rw-r--r-- | supervisor/shared/external_flash/devices.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/supervisor/shared/external_flash/devices.h b/supervisor/shared/external_flash/devices.h index fd9224f56..57c52e2ea 100644 --- a/supervisor/shared/external_flash/devices.h +++ b/supervisor/shared/external_flash/devices.h @@ -481,6 +481,25 @@ typedef struct { .single_status_byte = true, \ } +// Settings for the Macronix MX25R1635F 8MiB SPI flash. +// Datasheet: https://www.macronix.com/Lists/Datasheet/Attachments/7595/MX25R1635F,%20Wide%20Range,%2016Mb,%20v1.6.pdf +// In low power mode, quad operations can only run at 8 MHz. +#define MX25R1635F {\ + .total_size = (1 << 21), /* 2 MiB */ \ + .start_up_time_us = 800, \ + .manufacturer_id = 0xc2, \ + .memory_type = 0x28, \ + .capacity = 0x18, \ + .max_clock_speed_mhz = 33, /* 8 mhz for dual/quad */ \ + .quad_enable_bit_mask = 0x80, \ + .has_sector_protection = false, \ + .supports_fast_read = true, \ + .supports_qspi = true, \ + .supports_qspi_writes = true, \ + .write_status_register_split = false, \ + .single_status_byte = true, \ +} + // Settings for the Macronix MX25L51245G 64MiB SPI flash. // Datasheet: https://www.macronix.com/Lists/Datasheet/Attachments/7437/MX25L51245G,%203V,%20512Mb,%20v1.6.pdf #define MX25L51245G {\ |
