diff --git a/litex/tools/litex_json2dts_zephyr.py b/litex/tools/litex_json2dts_zephyr.py index 485fe9aefa..89543f9a9e 100755 --- a/litex/tools/litex_json2dts_zephyr.py +++ b/litex/tools/litex_json2dts_zephyr.py @@ -207,11 +207,6 @@ def peripheral_handler(name, parm, csr): 'alias': 'eth0', 'config_entry': 'ETH_LITEETH' }, - 'spiflash': { - 'handler': peripheral_handler, - 'alias': 'spi0', - 'config_entry': 'SPI_LITESPI' - }, 'sdcard_block2mem': { 'handler': peripheral_handler, 'alias': 'sdcard_block2mem', @@ -263,6 +258,11 @@ def peripheral_handler(name, parm, csr): 'handler': ram_handler, 'alias': 'ram0', }, + 'spiflash': { + 'handler': ram_handler, + 'alias': 'flash0', + 'config_entry': 'XIP' + }, 'identifier_mem': { 'handler': peripheral_handler, 'alias': 'dna0',