Skip to content

Commit

Permalink
soc/cores/spi/spi_mmap: add dts support
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
Andrew Dennison committed May 30, 2024
1 parent 54219d9 commit 70b7aed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions litex/soc/cores/spi/spi_mmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 70b7aed

Please sign in to comment.