summaryrefslogtreecommitdiff
path: root/src/mainboard/pcengines/apu1/Kconfig
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2015-10-13 15:01:15 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2016-10-28 16:56:55 +0200
commite1c36aecd8c5ad580595da58e180b06195df5f00 (patch)
tree142f543da79ab2090b895e0e1913e0d7aec821c8 /src/mainboard/pcengines/apu1/Kconfig
parent78f73353a3c0b7e3e59d0372f02dc1c37b226ac4 (diff)
pcengines/apu1: Add RS485 configuration
In RS485 mode RTS line acts as a transceiver direction control. The datasheet is not very clear about the polarity but register setting here is tested to drive nRTS line high when transmitting. Also note revision of B of the super-IO has errata and 8N1 setting does not work properly, you would need revision C of the chip assembled to fix this. Change-Id: I705fe0c5a5f8369b0a9358a64c74500238b5c4ba Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/14998 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/mainboard/pcengines/apu1/Kconfig')
-rw-r--r--src/mainboard/pcengines/apu1/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/pcengines/apu1/Kconfig b/src/mainboard/pcengines/apu1/Kconfig
index e9aab8cbfe..3099d14386 100644
--- a/src/mainboard/pcengines/apu1/Kconfig
+++ b/src/mainboard/pcengines/apu1/Kconfig
@@ -95,6 +95,9 @@ config APU1_PINMUX_UART_C
endchoice
+config UART_C_RS485
+ bool "UART C drives RTS# in RS485 mode" if APU1_PINMUX_UART_C
+
choice
prompt "J19 pins 11-20"
default APU1_PINMUX_OFF_D
@@ -110,4 +113,7 @@ config APU1_PINMUX_UART_D
endchoice
+config UART_D_RS485
+ bool "UART D drives RTS# in RS485 mode" if APU1_PINMUX_UART_D
+
endif # BOARD_PCENGINES_APU1