diff --git a/sdk_liteos/config/spi/spi_config.hcs b/sdk_liteos/config/spi/spi_config.hcs index 287069fc6b3ccfbb98d3b3bb8b5dc090553f95ea..c7b20d30700c493ca298c3b9e1943396a4ec477b 100755 --- a/sdk_liteos/config/spi/spi_config.hcs +++ b/sdk_liteos/config/spi/spi_config.hcs @@ -15,6 +15,7 @@ root { fifoSize = 256; numCs = 1; regBase = 0x120c0000; + irqNum = 100; REG_CRG_SPI = 0x120100e4; /* CRG_REG_BASE(0x12010000) + 0x0e4 */ CRG_SPI_CKEN = 0; CRG_SPI_RST = 0; @@ -36,6 +37,7 @@ root { CRG_SPI_RST = 0x2; /* (0x1 << 1) 0:cancel reset, 1:reset */ match_attr = "hisilicon_hi35xx_spi_1"; regBase = 0x120c1000; + irqNum = 101; } controller_0x120c2000 :: spi_controller { @@ -47,6 +49,7 @@ root { MISC_CTRL_SPI_CS_SHIFT = 0; /* 0 */ match_attr = "hisilicon_hi35xx_spi_2"; regBase = 0x120c2000; + irqNum = 102; } } }