--- zzzz-none-000/linux-4.19.183/drivers/mtd/nand/raw/nand_ids.c 2021-03-24 10:07:39.000000000 +0000 +++ bcm63-7530ax-756/linux-4.19.183/drivers/mtd/nand/raw/nand_ids.c 2023-06-28 08:54:19.000000000 +0000 @@ -54,7 +54,20 @@ { .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 }, +#if defined(CONFIG_BCM_KF_MTD_BCMNAND) + /* list all the NOP=1 SLC device here */ + {"K9F1G08U0E 128MiB 3.3V 8-bit", + { .id = {0xec, 0xf1, 0x00, 0x95, 0x41} }, + SZ_2K, SZ_128, SZ_128K, NAND_PAGE_NOP1, 5, 64, NAND_ECC_INFO(1, SZ_512) }, + /* list all the device here with non default timing parameter */ + {"HY27UF082G2A 256MiB 3.3V 8-bit", + { .id = {0xad, 0xda, 0x80, 0x1d, 0x00} }, + SZ_2K, SZ_256, SZ_128K, 0, 5, 64, NAND_ECC_INFO(1, SZ_512), 0, 0x00420000, 0x00000005 }, + {"HY27U4G8F2D ??512MiB?? 3.3V 8-bit", /* No datasheet available.. best guess */ + { .id = {0xad, 0xdc} }, + SZ_2K, SZ_512, SZ_128K, 0, 2, 64, NAND_ECC_INFO(1, SZ_512), 0, 0x00420000, 0x00000005 }, +#endif 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), LEGACY_ID_NAND("NAND 4MiB 3,3V 8-bit", 0xE5, 4, SZ_8K, SP_OPTIONS),