From 70b7aedef67894d1252469f728fc2461426d5850 Mon Sep 17 00:00:00 2001 From: Andrew Dennison Date: Thu, 30 May 2024 11:01:12 +1000 Subject: [PATCH] soc/cores/spi/spi_mmap: add dts support spi_mmap will require target integration, for example: self.spi_mmap_1 = SPIMMAP(...) self.add_core_dts("spi_mmap_1", self.spi_mmap_1.dts_compatible) --- litex/soc/cores/spi/spi_mmap.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litex/soc/cores/spi/spi_mmap.py b/litex/soc/cores/spi/spi_mmap.py index f9ac6b160a..48e196fbb3 100644 --- a/litex/soc/cores/spi/spi_mmap.py +++ b/litex/soc/cores/spi/spi_mmap.py @@ -642,6 +642,8 @@ def __init__(self, pads, ctrl, data_width, sys_clk_freq): # SPIMMAP ------------------------------------------------------------------------------------------ class SPIMMAP(LiteXModule): + dts_compatible = "litex,spi_mmap" + def __init__(self, pads, data_width, sys_clk_freq, tx_origin = 0x0000_0000, rx_origin = 0x0000_0000,