mirror of https://github.com/m-labs/artiq.git
sayma_amc: forward RTM UART in Master variant as well
This commit is contained in:
parent
c7b18952b8
commit
9b213b17af
|
@ -441,6 +441,14 @@ class Master(MiniSoC, AMPSoC):
|
||||||
platform = self.platform
|
platform = self.platform
|
||||||
rtio_clk_freq = 150e6
|
rtio_clk_freq = 150e6
|
||||||
|
|
||||||
|
# forward RTM UART to second FTDI UART channel
|
||||||
|
serial_1 = platform.request("serial", 1)
|
||||||
|
serial_rtm = platform.request("serial_rtm")
|
||||||
|
self.comb += [
|
||||||
|
serial_1.tx.eq(serial_rtm.rx),
|
||||||
|
serial_rtm.tx.eq(serial_1.rx)
|
||||||
|
]
|
||||||
|
|
||||||
self.submodules.si5324_rst_n = gpio.GPIOOut(platform.request("si5324").rst_n)
|
self.submodules.si5324_rst_n = gpio.GPIOOut(platform.request("si5324").rst_n)
|
||||||
self.csr_devices.append("si5324_rst_n")
|
self.csr_devices.append("si5324_rst_n")
|
||||||
i2c = self.platform.request("i2c")
|
i2c = self.platform.request("i2c")
|
||||||
|
|
Loading…
Reference in New Issue