SPI_NOR was assigned the value 'y' but got the value 'n' based on DT_HAS_JEDEC_SPI_NOR_ENABLED using a W25Q128JV with compatible = "jedec,spi-nor"

I am getting an error

warning: SPI_NOR (defined at soc/gaisler/gr716a/Kconfig.defconfig:18, drivers/flash/Kconfig.nor:6)
was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: ((FLASH &&
SOC_GR716A) || (DT_HAS_JEDEC_SPI_NOR_ENABLED && FLASH)) (=n). See
docs.zephyrproject.org/.../kconfig.html and/or look up SPI_NOR in the
menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values,
and Kconfig - Tips and Best Practices sections of the manual might be helpful too.

The problem is: DT_HAS_JEDEC_SPI_NOR_ENABLED

I am using a W25Q128JV on SPI.

In the prj.conf I have:

CONFIG_FLASH=y
CONFIG_GPIO=y
CONFIG_SPI=y
CONFIG_SPI_NOR=y
CONFIG_SPI_NOR_SFDP_DEVICETREE=y
CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096
CONFIG_NORDIC_QSPI_NOR=n 
In the [board].dts I have:

&spi3  {
    status = "okay";
    ...
    w25q128: w25q128@0 {
		compatible = "jedec,spi-nor";
		status = "okay";
		...
	}
}
I have seen this thread: Adapted SPI NOR driver not accepted by configuration but it did not seem to answer the question.
It seems like I have everything set the way I should. What am I doing wrong?
Related