From 77683f165926af09865bd36890ee06f587c55c13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fin=20Maa=C3=9F?= Date: Wed, 22 May 2024 16:16:03 +0200 Subject: [PATCH] litex_json2dts_zephyr.py: include ctrl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit include ctrl, needed to implement rebooting in zephyr. Signed-off-by: Fin Maaß --- litex/tools/litex_json2dts_zephyr.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/litex/tools/litex_json2dts_zephyr.py b/litex/tools/litex_json2dts_zephyr.py index 485fe9aef..3604f4f19 100755 --- a/litex/tools/litex_json2dts_zephyr.py +++ b/litex/tools/litex_json2dts_zephyr.py @@ -193,6 +193,10 @@ def peripheral_handler(name, parm, csr): overlay_handlers = { + 'ctrl': { + 'handler': peripheral_handler, + 'alias': 'ctrl0', + }, 'uart': { 'handler': peripheral_handler, 'alias': 'uart0',