mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-28 06:58:53 +00:00
v1.0.3
This commit is contained in:
@@ -23,20 +23,32 @@ struct aic_pinmux aic_pinmux_config[] = {
|
||||
/* uart0 */
|
||||
{5, PIN_PULL_DIS, 3, "PA.0"},
|
||||
{5, PIN_PULL_DIS, 3, "PA.1"},
|
||||
#ifdef AIC_DEV_UART0_MODE_RS485
|
||||
{1, PIN_PULL_DIS, 3, AIC_UART0_PA_RS485_CTL_NAME},
|
||||
#endif
|
||||
#endif
|
||||
#ifdef AIC_USING_UART1
|
||||
/* uart1 */
|
||||
{5, PIN_PULL_DIS, 3, "PD.2"},
|
||||
{5, PIN_PULL_DIS, 3, "PD.3"},
|
||||
#ifdef AIC_DEV_UART1_MODE_RS485
|
||||
{1, PIN_PULL_DIS, 3, AIC_UART1_PA_RS485_CTL_NAME},
|
||||
#endif
|
||||
#endif
|
||||
#ifdef AIC_USING_UART2
|
||||
/* uart2 */
|
||||
#ifdef AIC_DEV_UART2_MODE_RS485
|
||||
{5, PIN_PULL_DIS, 3, "PD.4"}, // BT_UART2_TX
|
||||
{5, PIN_PULL_DIS, 3, "PD.5"}, // BT_UART2_RX
|
||||
{1, PIN_PULL_DIS, 3, AIC_UART2_PA_RS485_CTL_NAME},
|
||||
#else
|
||||
{8, PIN_PULL_DIS, 3, "PA.2"}, // BT_UART2_CTS
|
||||
{8, PIN_PULL_DIS, 3, "PA.3"}, // BT_UART2_RTS
|
||||
{5, PIN_PULL_DIS, 3, "PD.4"}, // BT_UART2_TX
|
||||
{5, PIN_PULL_DIS, 3, "PD.5"}, // BT_UART2_RX
|
||||
{1, PIN_PULL_DIS, 3, "PD.6"}, // BT_PWR_ON
|
||||
#endif
|
||||
#endif
|
||||
#ifdef AIC_USING_CAN0
|
||||
/* can0 */
|
||||
{4, PIN_PULL_DIS, 3, "PA.4"},
|
||||
@@ -52,6 +64,13 @@ struct aic_pinmux aic_pinmux_config[] = {
|
||||
{1, PIN_PULL_DIS, 3, AIC_AUDIO_PA_ENABLE_GPIO},
|
||||
#endif
|
||||
#endif
|
||||
#ifdef AIC_USING_I2S0
|
||||
{4, PIN_PULL_DIS, 3, "PD.11"},
|
||||
{4, PIN_PULL_DIS, 3, "PD.12"},
|
||||
{4, PIN_PULL_DIS, 3, "PD.13"},
|
||||
{4, PIN_PULL_DIS, 3, "PD.14"},
|
||||
{4, PIN_PULL_DIS, 3, "PD.15"},
|
||||
#endif
|
||||
#ifdef AIC_USING_RTP
|
||||
{2, PIN_PULL_DIS, 3, "PA.8"},
|
||||
{2, PIN_PULL_DIS, 3, "PA.9"},
|
||||
@@ -88,7 +107,25 @@ struct aic_pinmux aic_pinmux_config[] = {
|
||||
{2, PIN_PULL_UP, 3, "PC.5"},
|
||||
{2, PIN_PULL_UP, 3, "PC.6"},
|
||||
#endif
|
||||
#ifdef AIC_USING_RTL8733_WLAN0
|
||||
#ifdef AIC_USING_CAP0
|
||||
{3, PIN_PULL_UP, 3, "PC.6"},
|
||||
#endif
|
||||
#ifdef AIC_USING_CAP1
|
||||
{3, PIN_PULL_UP, 3, "PC.7"},
|
||||
#endif
|
||||
#ifdef AIC_USING_CAP2
|
||||
{3, PIN_PULL_UP, 3, "PC.8"},
|
||||
#endif
|
||||
#ifdef AIC_USING_CAP3
|
||||
{3, PIN_PULL_UP, 3, "PC.9"},
|
||||
#endif
|
||||
#ifdef AIC_USING_CAP4
|
||||
{3, PIN_PULL_UP, 3, "PC.10"},
|
||||
#endif
|
||||
#ifdef AIC_USING_CAP5
|
||||
{3, PIN_PULL_UP, 3, "PC.11"},
|
||||
#endif
|
||||
#ifdef AIC_WIRELESS_LAN
|
||||
{1, PIN_PULL_DIS, 3, "PD.7"}, // WIFI_PWR_ON
|
||||
#endif
|
||||
#ifdef AIC_USING_I2C0
|
||||
@@ -146,6 +183,54 @@ struct aic_pinmux aic_pinmux_config[] = {
|
||||
{3, PIN_PULL_DIS, 3, "PE.13"},
|
||||
//{3, PIN_PULL_DIS, 3, "PE.15"},
|
||||
#endif
|
||||
#ifdef AIC_USING_EPWM0
|
||||
{7, PIN_PULL_DIS, 3, "PD.26"},
|
||||
{7, PIN_PULL_DIS, 3, "PD.27"},
|
||||
#endif
|
||||
#ifdef AIC_USING_EPWM1
|
||||
{7, PIN_PULL_DIS, 3, "PD.24"},
|
||||
{7, PIN_PULL_DIS, 3, "PD.25"},
|
||||
#endif
|
||||
#ifdef AIC_USING_EPWM2
|
||||
{7, PIN_PULL_DIS, 3, "PD.22"},
|
||||
{7, PIN_PULL_DIS, 3, "PD.23"},
|
||||
#endif
|
||||
#ifdef AIC_USING_EPWM3
|
||||
{7, PIN_PULL_DIS, 3, "PD.20"},
|
||||
{7, PIN_PULL_DIS, 3, "PD.21"},
|
||||
#endif
|
||||
#ifdef AIC_USING_EPWM4
|
||||
{7, PIN_PULL_DIS, 3, "PD.18"},
|
||||
{7, PIN_PULL_DIS, 3, "PD.19"},
|
||||
#endif
|
||||
#ifdef AIC_USING_EPWM5
|
||||
{7, PIN_PULL_DIS, 3, "PD.16"},
|
||||
{7, PIN_PULL_DIS, 3, "PD.17"},
|
||||
#endif
|
||||
#ifdef AIC_USING_EPWM6
|
||||
{7, PIN_PULL_DIS, 3, "PD.14"},
|
||||
{7, PIN_PULL_DIS, 3, "PD.15"},
|
||||
#endif
|
||||
#ifdef AIC_USING_EPWM7
|
||||
{7, PIN_PULL_DIS, 3, "PD.12"},
|
||||
{7, PIN_PULL_DIS, 3, "PD.13"},
|
||||
#endif
|
||||
#ifdef AIC_USING_EPWM8
|
||||
{7, PIN_PULL_DIS, 3, "PD.10"},
|
||||
{7, PIN_PULL_DIS, 3, "PD.11"},
|
||||
#endif
|
||||
#ifdef AIC_USING_EPWM9
|
||||
{7, PIN_PULL_DIS, 3, "PD.8"},
|
||||
{7, PIN_PULL_DIS, 3, "PD.9"},
|
||||
#endif
|
||||
#ifdef AIC_USING_EPWM10
|
||||
{7, PIN_PULL_DIS, 3, "PD.2"},
|
||||
{7, PIN_PULL_DIS, 3, "PD.3"},
|
||||
#endif
|
||||
#ifdef AIC_USING_EPWM11
|
||||
{7, PIN_PULL_DIS, 3, "PD.0"},
|
||||
{7, PIN_PULL_DIS, 3, "PD.1"},
|
||||
#endif
|
||||
#if (defined(AIC_USING_USB0_DEVICE) || defined(AIC_USING_USB0_HOST))
|
||||
/* usb0 */
|
||||
{2, PIN_PULL_DIS, 3, "PO.0"}, // USB-DM
|
||||
|
||||
Reference in New Issue
Block a user