--- zzzz-none-000/linux-5.4.213/drivers/mtd/nand/raw/nand_ids.c 2022-09-15 10:04:56.000000000 +0000 +++ alder-5690pro-762/linux-5.4.213/drivers/mtd/nand/raw/nand_ids.c 2024-08-14 09:02:07.000000000 +0000 @@ -26,10 +26,20 @@ * listed by full ID. We list them first so that we can easily identify * the most specific match. */ + {"TC58NVG0S3HTA00 1G 3.3V 8-bit", + { .id = {0x98, 0xf1, 0x80, 0x15} }, + SZ_2K, SZ_128, SZ_128K, 0, 4, 128, NAND_ECC_INFO(8, SZ_512) }, {"TC58NVG0S3E 1G 3.3V 8-bit", { .id = {0x98, 0xd1, 0x90, 0x15, 0x76, 0x14, 0x01, 0x00} }, SZ_2K, SZ_128, SZ_128K, 0, 8, 64, NAND_ECC_INFO(1, SZ_512), 2 }, + {"TC58NYG0S3HBAI4 1.8V 1Gbit", + { .id = {0x98, 0xa1, 0x80, 0x15} }, + SZ_2K, SZ_128, SZ_128K, 0, 4, 128, NAND_ECC_INFO(8, SZ_512), + 2 }, + {"TH58NYG2S3HBAI4 1.8V 8-bit", + { .id = {0x98, 0xac, 0x91, 0x15} }, + SZ_2K, SZ_512, SZ_128K, 0, 4, 128, NAND_ECC_INFO(8, SZ_512),}, {"TC58NVG2S0F 4G 3.3V 8-bit", { .id = {0x98, 0xdc, 0x90, 0x26, 0x76, 0x15, 0x01, 0x08} }, SZ_4K, SZ_512, SZ_256K, 0, 8, 224, NAND_ECC_INFO(4, SZ_512) }, @@ -45,6 +55,10 @@ {"TC58NVG6D2 64G 3.3V 8-bit", { .id = {0x98, 0xde, 0x94, 0x82, 0x76, 0x56, 0x04, 0x20} }, SZ_8K, SZ_8K, SZ_2M, 0, 8, 640, NAND_ECC_INFO(40, SZ_1K) }, + {"TC58CYG0S3HRAIJ SPI NAND 1G 1.8V", + { .id = {0x98, 0xD2} }, + SZ_2K, SZ_128, SZ_128K, 0, 2, 128, NAND_ECC_INFO(8, SZ_512), 0}, + {"SDTNRGAMA 64G 3.3V 8-bit", { .id = {0x45, 0xde, 0x94, 0x93, 0x76, 0x50} }, SZ_16K, SZ_8K, SZ_4M, 0, 6, 1280, NAND_ECC_INFO(40, SZ_1K) }, @@ -52,6 +66,87 @@ { .id = {0xad, 0xde, 0x94, 0xda, 0x74, 0xc4} }, SZ_8K, SZ_8K, SZ_2M, NAND_NEED_SCRAMBLING, 6, 640, NAND_ECC_INFO(40, SZ_1K), 4 }, + {"TH58NYG3S0H 8G 1.8V 8-bit", + { .id = {0x98, 0xa3, 0x91, 0x26} }, + SZ_4K, SZ_1K, SZ_256K, 0, 4, 256, NAND_ECC_INFO(8, SZ_512) }, + + {"GD5F1GQ4RE9IG SPI NAND 1G 1.8V 4-bit", + { .id = {0xc8, 0xc1} }, + SZ_2K, SZ_128, SZ_128K, 0, 2, 128, NAND_ECC_INFO(8, SZ_512) }, + {"GD5F1GQ4RE9IH SPI NAND 1G 1.8V 4-bit", + { .id = {0xc8, 0xc9} }, + SZ_2K, SZ_128, SZ_128K, 0, 2, 64, NAND_ECC_INFO(4, SZ_512) }, + {"GD5F2GQ5REYIH SPI NAND 2G 4-bit", + { .id = {0xc8, 0x22} }, + SZ_2K, SZ_256, SZ_128K, 0, 2, 64, NAND_ECC_INFO(4, SZ_512) }, + {"MT29F1G01ABBFDWB-IT SPI NAND 1G 1.8V 4-bit", + { .id = {0x2c, 0x15} }, + SZ_2K, SZ_128, SZ_128K, 0, 2, 128, NAND_ECC_INFO(8, SZ_512) }, + {"MX35UF4GE4AD-Z4I SPI NAND 1G 1.8V", + { .id = {0xc2, 0xb7} }, + SZ_4K, SZ_512, SZ_256K, 0, 2, 256, NAND_ECC_INFO(8, SZ_512), 0}, + {"MX35UF4G24AD SPI NAND 4G 1.8V", + { .id = {0xc2, 0xb5} }, + SZ_4K, SZ_512, SZ_256K, NAND_MXIC_PLANE_SELECT, 2, 256, NAND_ECC_INFO(8, SZ_512), 0}, + {"MX35UF2GE4AD-Z4I SPI NAND 2G 1.8V", + { .id = {0xc2, 0xa6} }, + SZ_2K, SZ_128, SZ_128K, 0, 2, 160, NAND_ECC_INFO(4, SZ_512), 0 }, + {"MX35UF2GE4AC SPI NAND 1G 1.8V", + { .id = {0xc2, 0xA2} }, + SZ_2K, SZ_256, SZ_128K, 0, 2, 64, NAND_ECC_INFO(4, SZ_512), 0}, + {"GD5F1GQ5REYIH SPI NAND 1G 1.8V", + { .id = {0xc8, 0x21} }, + SZ_2K, SZ_128, SZ_128K, 0, 2, 64, NAND_ECC_INFO(4, SZ_512), 0}, + {"W25N01JW SPI NAND 1.8V 1G-BIT", + { .id = {0xef, 0xbc, 0x21} }, + SZ_2K, SZ_128, SZ_128K, 0, 3, 64, NAND_ECC_INFO(4, SZ_512), 0}, + {"GD5F1GQ5REYIG SPI NAND 1G", + { .id = {0xc8, 0x41} }, + SZ_2K, SZ_128, SZ_128K, 0, 2, 128, NAND_ECC_INFO(8, SZ_512), 0}, + {"GD5F1GM7REYIG SPI NAND 1G-BIT", + { .id = {0xc8, 0x81} }, + SZ_2K, SZ_128, SZ_128K, 0, 2, 128, NAND_ECC_INFO(8, SZ_512), 0}, + {"F50D1G41LB(2M) SPI NAND 1G 1.8V", + { .id = {0xc8, 0x11} }, + SZ_2K, SZ_128, SZ_128K, 0, 2, 64, NAND_ECC_INFO(4, SZ_512), 0}, + {"GD5F4GQ6REYIHR SPI NAND 4G 1.8V", + { .id = {0xc8, 0x25} }, + SZ_2K, SZ_512, SZ_128K, 0, 2, 64, NAND_ECC_INFO(4, SZ_512), 0}, + {"W25N02JWZEIF SPI NAND 2G 1.8V", + { .id = {0xef, 0xbf, 0x22} }, + SZ_2K, SZ_256, SZ_128K, 0, 3, 64, NAND_ECC_INFO(4, SZ_512), 0}, + {"MX35UF1GE4AC SPI NAND 1G 1.8V", + { .id = {0xc2, 0x92} }, + SZ_2K, SZ_128, SZ_128K, 0, 2, 64, NAND_ECC_INFO(4, SZ_512), 0}, + {"F50D2G41KA-83YIG2V SPI NAND 2G 1.8V", + { .id = {0xc8, 0x51} }, + SZ_2K, SZ_256, SZ_128K, 0, 2, 128, NAND_ECC_INFO(8, SZ_512), 0}, + {"DS35M1GA SPI NAND 1G 1.8V", + { .id = {0xe5, 0x21} }, + SZ_2K, SZ_128, SZ_128K, 0, 2, 64, NAND_ECC_INFO(4, SZ_512), 0}, + {"GD5F2GQ5REYIG SPI NAND 2G", + { .id = {0xc8, 0x42} }, + SZ_2K, SZ_256, SZ_128K, 0, 2, 128, NAND_ECC_INFO(8, SZ_512), 0}, + + {"W25N01GWZEIG SPI NAND 1G 1.8V", + { .id = {0xef, 0xba, 0x21} }, + SZ_2K, SZ_128, SZ_128K, 0, 3, 64, NAND_ECC_INFO(4, SZ_512), 0}, + + {"W25N04KW SPI NAND 4G 1.8V", + { .id = {0xef, 0xba, 0x23} }, + + SZ_2K, SZ_512, SZ_128K, 0, 3, 128, NAND_ECC_INFO(8, SZ_512), 0}, + {"W25N02KWZEIR SPI NAND 2G 1.8V", + { .id = {0xef, 0xba, 0x22} }, + SZ_2K, SZ_256, SZ_128K, 0, 3, 128, NAND_ECC_INFO(8, SZ_512), 0}, + + {"W25N512GW SPI NAND 512M 1.8V", + { .id = {0xef, 0xba, 0x20} }, + SZ_2K, SZ_64, SZ_128K, 0, 3, 64, NAND_ECC_INFO(4, SZ_512), 0}, + + {"MX35UF1G24AD SPI NAND 1G 1.8V", + { .id = {0xc2, 0x94} }, + SZ_2K, SZ_128, SZ_128K, 0, 2, 128, NAND_ECC_INFO(8, SZ_512), 0}, LEGACY_ID_NAND("NAND 4MiB 5V 8-bit", 0x6B, 4, SZ_8K, SP_OPTIONS), LEGACY_ID_NAND("NAND 4MiB 3,3V 8-bit", 0xE3, 4, SZ_8K, SP_OPTIONS),