AMD Geode GX/LX support
PATCH 4/7 AMD Geode GX/LX support
The 5535 has a muxed serial port that can either be used to drive GPIO pins or a second 16550 UART. This code enables that UART via a command line option. This is most often used with a dongle attached to the VGA port to provide a a serial port on boards with no dedicated serial goesouta. Please apply against linux-2.6.13-rc2-mm2.
Signed off by: Jordan Crouse ([email protected])
drivers/serial/Kconfig +11 -0
@@ -608,6 +608,17 @@ config SERIAL_AU1X00_CONSOLE If you have an Alchemy AU1X00 processor (MIPS based) and you want to use a console on a serial port, say Y. Otherwise, say N. +config SERIAL_GEODE_UART2 + bool "Enable AMD CS5535 UART2 as a serial port" + depends on MGEODE_GX || MGEODE_LX + default y + select SERIAL_CORE + help + Select this to allow the user to select the secondary CS5535 UART + as a 16550 serial port instead of the default DDC interface. The + UART2 can be selected by specifying geodeuart2 on the command + line. + config SERIAL_CORE tristate
drivers/serial/Makefile +1 -0
@@ -56,3 +56,4 @@ obj-$(CONFIG_SERIAL_JSM) += jsm/ obj-$(CONFIG_SERIAL_TXX9) += serial_txx9.o obj-$(CONFIG_SERIAL_VR41XX) += vr41xx_siu.o obj-$(CONFIG_SERIAL_SGI_IOC4) += ioc4_serial.o +obj-$(CONFIG_SERIAL_GEODE_UART2) += cs5535_uart.o
drivers/serial/cs5535_uart.c new file +83 -0
83 lines not on this page · raw message