From 4662a71f44bd8a0f8ff96d12e43f69be3bff8488 Mon Sep 17 00:00:00 2001 From: robert-hh Date: Wed, 27 Mar 2024 11:11:57 +0100 Subject: [PATCH] drivers/memory: Add IS25LPWP064D chip to list of external flash devices. Confirguration provided by by @ironss-iotec. Signed-off-by: robert-hh --- drivers/memory/external_flash_device.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/drivers/memory/external_flash_device.h b/drivers/memory/external_flash_device.h index 0379844603..b5cf4a8877 100644 --- a/drivers/memory/external_flash_device.h +++ b/drivers/memory/external_flash_device.h @@ -442,6 +442,23 @@ typedef struct { .single_status_byte = false, \ } +// Settings for the ISSI devices +#define IS25LPWP064D { \ + .total_size = (1 << 23), /* 8 MiB */ \ + .start_up_time_us = 5000, \ + .manufacturer_id = 0x9D, \ + .memory_type = 0x60, \ + .capacity = 0x17, \ + .max_clock_speed_mhz = 80, \ + .quad_enable_bit_mask = 0x40, \ + .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 a GENERIC device with the most common setting #define GENERIC { \ .total_size = (1 << 21), /* 2 MiB */ \