summaryrefslogtreecommitdiff
path: root/nuttx/configs/dk-tm4c129x/include/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/dk-tm4c129x/include/board.h')
-rw-r--r--nuttx/configs/dk-tm4c129x/include/board.h50
1 files changed, 42 insertions, 8 deletions
diff --git a/nuttx/configs/dk-tm4c129x/include/board.h b/nuttx/configs/dk-tm4c129x/include/board.h
index 7c9c4f85d..b9f23ac76 100644
--- a/nuttx/configs/dk-tm4c129x/include/board.h
+++ b/nuttx/configs/dk-tm4c129x/include/board.h
@@ -156,24 +156,58 @@
#define BUTTON_SW4_BIT (1 << BUTTON_SW4)
/* Pin Multiplexing Disambiguation **************************************************/
-/* USARTs */
+/* UARTs
+ *
+ * UART0: PA0, PA1 (fixed configuration)
+ */
+
+/* SSI:
+ *
+ * SSI0: PA2-5 are used for SSI0 to the second booster pack (fixed configuration)
+ * SSI3: PF0/PF4-5/PH4/PQ0-2 are used for the SPI flash (on-board and SD card).
+ * PH4 selects the SD card and PQ1 selects the on-board SPI flash.
+ */
+
+#define GPIO_SSI3_CLK GPIO_SSI3_CLK_2
+#define GPIO_SSI3_FSS GPIO_SSI3_FSS_2
+#define GPIO_SSI3_XDAT0 GPIO_SSI3_XDAT0_2
+#define GPIO_SSI3_XDAT1 GPIO_SSI3_XDAT1_1
+#define GPIO_SSI3_XDAT2 GPIO_SSI3_XDAT2_1
+#define GPIO_SSI3_XDAT3 GPIO_SSI3_XDAT3_1
+
+/* I2C:
+ *
+ * I2C6: PB6-7 are used for I2C to the TMP100 and the EM connector.
+ */
+
+#define GPIO_I2C6_SCL GPIO_I2C6_SCL_2
+#define GPIO_I2C6_SDA GPIO_I2C6_SDA_2
+
+/* USB:
+ *
+ * PB0-1/PD6-7/PL6-7 are used for USB (Only PD6-7 are not fixed configuration)
+ */
-#define GPIO_UART1_CTS GPIO_UART1_CTS_1
-#define GPIO_UART1_RTS GPIO_UART1_RTS_1
-#define GPIO_UART1_RX GPIO_UART1_RX_1
-#define GPIO_UART1_TX GPIO_UART1_TX_1
+#define GPIO_USB0_EPEN GPIO_USB0_EPEN_3
+#define GPIO_USB0_PFLT GPIO_USB0_PFLT_2
/* Ethernet LEDs
*
- * PK4/EN0RXD3/LED0
- * PK6/EN0TXD2/LED1
- * PF1/LED2
+ * PF1/PK4/PK6 are used for Ethernet LEDs.
+ * PK4/EN0RXD3/LED0
+ * PK6/EN0TXD2/LED1
+ * PF1/LED2
*/
# define GPIO_EN0_LED0 GPIO_EN0_LED0_2
# define GPIO_EN0_LED1 GPIO_EN0_LED1_2
# define GPIO_EN0_LED2 GPIO_EN0_LED2_1
+/* LCD
+ *
+ * PF6-7/PJ6/PS4-5/PR0-7 are used for the LCD (fixed configuration).
+ */
+
/************************************************************************************
* Public Function Prototypes
************************************************************************************/