Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DTS target integration #1975

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Commits on Jul 28, 2024

  1. tools/litex_json2dts_linux: add soc, csr, mem helpers

    Andrew Dennison committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    1b839d0 View commit details
    Browse the repository at this point in the history
  2. soc/integration/builder: exclude dts constants

    some dts related constants are invalid names for the
    c preprocessor, so need to be excluded from code generation.
    Andrew Dennison committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    362e2cb View commit details
    Browse the repository at this point in the history
  3. Pass DTS information from modules to json2dts

    Example usage in modules to follow
    Andrew Dennison committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    84e936d View commit details
    Browse the repository at this point in the history
  4. soc/cores/timer: add dts support

    add_timer() will now generate a dts entry.
    Andrew Dennison committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    0375181 View commit details
    Browse the repository at this point in the history
  5. soc/cores/spi/spi_mmap: add dts support

    spi_mmap will require target integration, for example:
    
        self.spi_mmap_1 = SPIMMAP(...)
        self.add_dts_node("spi_mmap_1", self.spi_mmap_1)
    Andrew Dennison committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    c112f06 View commit details
    Browse the repository at this point in the history
  6. soc/cores/gpio: add dts support

    gpio will require target integration, for example:
    
        self.gpio = gpio = GPIOTristate(pads = pads)
        self.add_dts_node("gpio", gpio)
    
    NOTE: GPIOIn and GPIOOut will generate DTS compatible with the current
    Linux driver, but the existing DTS nodes for litex GPIO depart from
    DTS conventions are are worth changing if there are no compatibility
    concerns.
    Andrew Dennison committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    e7111a5 View commit details
    Browse the repository at this point in the history
  7. soc/cores/i2c: add dts support

    Will require target integration
    Andrew Dennison committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    715098f View commit details
    Browse the repository at this point in the history