We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc82ab9 commit 938c71eCopy full SHA for 938c71e
hw/riscv/ot_earlgrey.c
@@ -552,6 +552,9 @@ static const IbexDeviceDef ot_eg_soc_devices[] = {
552
.memmap = MEMMAPENTRIES(
553
{ .base = 0x40050000u }
554
),
555
+ .link = IBEXDEVICELINKDEFS(
556
+ OT_EG_SOC_DEVLINK("spihost", SPI_HOST0)
557
+ ),
558
.gpio = IBEXGPIOCONNDEFS(
559
OT_EG_SOC_GPIO_SYSBUS_IRQ(0, PLIC, 69),
560
OT_EG_SOC_GPIO_SYSBUS_IRQ(1, PLIC, 70),
@@ -561,7 +564,11 @@ static const IbexDeviceDef ot_eg_soc_devices[] = {
561
564
OT_EG_SOC_GPIO_SYSBUS_IRQ(5, PLIC, 74),
562
565
OT_EG_SOC_GPIO_SYSBUS_IRQ(6, PLIC, 75),
563
566
OT_EG_SOC_GPIO_SYSBUS_IRQ(7, PLIC, 76),
- OT_EG_SOC_GPIO_ALERT(0, 5)
567
+ OT_EG_SOC_GPIO_ALERT(0, 5),
568
+ OT_EG_SOC_SIGNAL(OT_SPI_DEVICE_PASSTHROUGH_EN, 0, SPI_HOST0,
569
+ OT_SPI_HOST_PASSTHROUGH_EN, 0),
570
+ OT_EG_SOC_SIGNAL(OT_SPI_DEVICE_PASSTHROUGH_CS, 0, SPI_HOST0,
571
+ OT_SPI_HOST_PASSTHROUGH_CS, 0)
572
573
},
574
[OT_EG_SOC_DEV_I2C0] = {
0 commit comments