diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/platform_data/efm32-uart.h | 18 | ||||
| -rw-r--r-- | include/linux/serial_core.h | 2 |
2 files changed, 20 insertions, 0 deletions
diff --git a/include/linux/platform_data/efm32-uart.h b/include/linux/platform_data/efm32-uart.h new file mode 100644 index 000000000000..ed0e975b3c54 --- /dev/null +++ b/include/linux/platform_data/efm32-uart.h | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | /* | ||
| 2 | * | ||
| 3 | * | ||
| 4 | */ | ||
| 5 | #ifndef __LINUX_PLATFORM_DATA_EFM32_UART_H__ | ||
| 6 | #define __LINUX_PLATFORM_DATA_EFM32_UART_H__ | ||
| 7 | |||
| 8 | #include <linux/types.h> | ||
| 9 | |||
| 10 | /** | ||
| 11 | * struct efm32_uart_pdata | ||
| 12 | * @location: pinmux location for the I/O pins (to be written to the ROUTE | ||
| 13 | * register) | ||
| 14 | */ | ||
| 15 | struct efm32_uart_pdata { | ||
| 16 | u8 location; | ||
| 17 | }; | ||
| 18 | #endif /* ifndef __LINUX_PLATFORM_DATA_EFM32_UART_H__ */ | ||
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index c91ace70c21d..585bfd03d2ee 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h | |||
| @@ -210,6 +210,8 @@ | |||
| 210 | /* Atheros AR933X SoC */ | 210 | /* Atheros AR933X SoC */ |
| 211 | #define PORT_AR933X 99 | 211 | #define PORT_AR933X 99 |
| 212 | 212 | ||
| 213 | /* Energy Micro efm32 SoC */ | ||
| 214 | #define PORT_EFMUART 100 | ||
| 213 | 215 | ||
| 214 | #ifdef __KERNEL__ | 216 | #ifdef __KERNEL__ |
| 215 | 217 | ||
