summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 683fd75)
raw | patch | inline | side by side (parent: 683fd75)
AM64x BringUp: Board: SPI: Added pinmux data for MCU Domain SPI REL.CORESDK.07.01.04.02 REL.CORESDK.07.01.04.03 REL.CORESDK.07.01.04.04
author | Don Dominic <a0486429@ti.com> | |
Tue, 8 Dec 2020 11:54:47 +0000 (17:24 +0530) | ||
committer | Sivaraj R <sivaraj@ti.com> | |
Tue, 8 Dec 2020 12:36:24 +0000 (06:36 -0600) |
- This fixes issues with McSPI tests on M4F, which uses MCU Domain
Signed-off-by: Don Dominic <a0486429@ti.com>
Signed-off-by: Don Dominic <a0486429@ti.com>
packages/ti/board/src/am64x_evm/AM64x_pinmux_data.c | patch | blob | history |
diff --git a/packages/ti/board/src/am64x_evm/AM64x_pinmux_data.c b/packages/ti/board/src/am64x_evm/AM64x_pinmux_data.c
index d558398e84d5d7b69f901a90f73fb78a9bd2d4f1..c0f937a96788f81a98888982cb7c91cc3413de8e 100755 (executable)
{PINMUX_END}\r
};\r
\r
+static pinmuxPerCfg_t gMcu_spi0PinCfg[] =\r
+{\r
+ /* MyMCU_SPI1 -> MCU_SPI0_CLK -> HSE_J1_16 */\r
+ {\r
+ PIN_MCU_SPI0_CLK, PIN_MODE(0) | \\r
+ ((PIN_PULL_DISABLE | PIN_INPUT_ENABLE) & (~PIN_PULL_DIRECTION))\r
+ },\r
+ /* MyMCU_SPI1 -> MCU_SPI0_CS0 -> HSE_J1_6 */\r
+ {\r
+ PIN_MCU_SPI0_CS0, PIN_MODE(0) | \\r
+ ((PIN_PULL_DISABLE | PIN_INPUT_ENABLE) & (~PIN_PULL_DIRECTION))\r
+ },\r
+ /* MyMCU_SPI1 -> MCU_SPI0_D0 -> HSE_J1_4 */\r
+ {\r
+ PIN_MCU_SPI0_D0, PIN_MODE(0) | \\r
+ ((PIN_PULL_DISABLE | PIN_INPUT_ENABLE) & (~PIN_PULL_DIRECTION))\r
+ },\r
+ /* MyMCU_SPI1 -> MCU_SPI0_D1 -> HSE_J1_2 */\r
+ {\r
+ PIN_MCU_SPI0_D1, PIN_MODE(0) | \\r
+ ((PIN_PULL_DISABLE | PIN_INPUT_ENABLE) & (~PIN_PULL_DIRECTION))\r
+ },\r
+ {PINMUX_END}\r
+};\r
+\r
+static pinmuxModuleCfg_t gMcu_spiPinCfg[] =\r
+{\r
+ {0, TRUE, gMcu_spi0PinCfg},\r
+ {PINMUX_END}\r
+};\r
\r
static pinmuxPerCfg_t gMcu_system0PinCfg[] =\r
{\r
{\r
{0, gMcu_gpioPinCfg},\r
{1, gMcu_i2cPinCfg},\r
- {2, gMcu_systemPinCfg},\r
- {3, gMcu_uartPinCfg},\r
+ {2, gMcu_spiPinCfg},\r
+ {3, gMcu_systemPinCfg},\r
+ {4, gMcu_uartPinCfg},\r
{PINMUX_END}\r
};\r