Skip to content

Commit 07a17f6

Browse files
authored
Merge pull request #414 from itisme/master
Add support for the Alinx7020 board and enable access to its PS DDR.
2 parents 6954545 + 4a8cbae commit 07a17f6

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

boards.py

+17
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,23 @@ def __init__(self):
100100
"i2c",
101101
})
102102

103+
# alinx support -------------------------------------------------------------------------------------
104+
105+
class Ax7020(Board):
106+
def __init__(self):
107+
from litex_boards.targets import alinx_ax7020
108+
Board.__init__(self, alinx_ax7020.BaseSoC, soc_capabilities={
109+
# Communication
110+
"serial",
111+
#"ethernet",
112+
# Storage
113+
#"sdcard",
114+
# GPIOs
115+
"leds",
116+
"buttons",
117+
"ps_ddr",
118+
})
119+
103120
# NeTV2 support ------------------------------------------------------------------------------------
104121

105122
class NeTV2(Board):

make.py

+2
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ def main():
122122
soc_kwargs.update(with_video_framebuffer=True)
123123
if "usb_host" in board.soc_capabilities:
124124
soc_kwargs.update(with_usb_host=True)
125+
if "ps_ddr" in board.soc_capabilities:
126+
soc_kwargs.update(with_ps_ddr=True)
125127

126128
# SoC creation -----------------------------------------------------------------------------
127129
soc = SoCLinux(board.soc_cls, **soc_kwargs)

0 commit comments

Comments
 (0)