mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
svd2repl: generate i2c bus for betrusted
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
2c270ee355
commit
a0cc1e2f24
1 changed files with 3 additions and 0 deletions
|
|
@ -487,6 +487,8 @@ cpu: CPU.VexRiscv @ sysbus
|
||||||
|
|
||||||
fn print_footer<U: Write>(out: &mut U) -> std::io::Result<()> {
|
fn print_footer<U: Write>(out: &mut U) -> std::io::Result<()> {
|
||||||
let s = r####"
|
let s = r####"
|
||||||
|
abracom_rtc: Sensors.ABRTCMC @ i2c 0x68
|
||||||
|
|
||||||
sysbus:
|
sysbus:
|
||||||
init:
|
init:
|
||||||
ApplySVD @soc/renode.svd
|
ApplySVD @soc/renode.svd
|
||||||
|
|
@ -541,6 +543,7 @@ fn print_peripherals<U: Write>(
|
||||||
known_peripherals.insert("uart", "UART.LiteX_UART");
|
known_peripherals.insert("uart", "UART.LiteX_UART");
|
||||||
known_peripherals.insert("app_uart", "UART.LiteX_UART");
|
known_peripherals.insert("app_uart", "UART.LiteX_UART");
|
||||||
known_peripherals.insert("timer0", "Timers.LiteX_Timer_32");
|
known_peripherals.insert("timer0", "Timers.LiteX_Timer_32");
|
||||||
|
known_peripherals.insert("i2c", "I2C.BetrustedI2C");
|
||||||
|
|
||||||
known_peripherals.insert("memlcd", "Video.BetrustedLCD");
|
known_peripherals.insert("memlcd", "Video.BetrustedLCD");
|
||||||
known_peripherals.insert("keyboard", "Input.BetrustedKbd");
|
known_peripherals.insert("keyboard", "Input.BetrustedKbd");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue