diff --git a/litex/tools/litex_json2dts_zephyr.py b/litex/tools/litex_json2dts_zephyr.py index 485fe9aefa..086a06c169 100755 --- a/litex/tools/litex_json2dts_zephyr.py +++ b/litex/tools/litex_json2dts_zephyr.py @@ -208,9 +208,9 @@ def peripheral_handler(name, parm, csr): 'config_entry': 'ETH_LITEETH' }, 'spiflash': { - 'handler': peripheral_handler, - 'alias': 'spi0', - 'config_entry': 'SPI_LITESPI' + 'handler': ram_handler, + 'alias': 'flash0', + 'config_entry': 'XIP' }, 'sdcard_block2mem': { 'handler': peripheral_handler,