diff options
author | Edoardo Tomelleri <e.tomell@gmail.com> | 2022-09-18 18:17:01 +0200 |
---|---|---|
committer | Neil Armstrong <neil.armstrong@linaro.org> | 2022-11-22 18:53:21 +0100 |
commit | 66006f86e85ad3af3393fdcd74b8373dbb7b6dc5 (patch) | |
tree | e319baf77a8b2bd73acbf061643bc8092b7fa871 /include | |
parent | 536c642ffef545b4b5b02d065a0c1de9785549d7 (diff) | |
download | u-boot-66006f86e85ad3af3393fdcd74b8373dbb7b6dc5.zip u-boot-66006f86e85ad3af3393fdcd74b8373dbb7b6dc5.tar.gz u-boot-66006f86e85ad3af3393fdcd74b8373dbb7b6dc5.tar.bz2 |
arm: amlogic: add setbrg op to serial device
Implement setbrg in amlogic/meson serial device with driver model
similar to how the meson_uart.c driver does it in Linux. Also
configure (probe) the serial device with the new reg5 register.
Signed-off-by: Edoardo Tomelleri <e.tomell@gmail.com>
Link: https://lore.kernel.org/r/20220918161701.572814-1-e.tomell@gmail.com
Acked-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/meson64.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/meson64.h b/include/configs/meson64.h index 0c41df2..726f33c 100644 --- a/include/configs/meson64.h +++ b/include/configs/meson64.h @@ -16,6 +16,13 @@ #define GICC_BASE 0xc4302000 #endif +/* Serial drivers */ +/* The following table includes the supported baudrates */ +#define CONFIG_SYS_BAUDRATE_TABLE \ + {300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200, \ + 230400, 250000, 460800, 500000, 1000000, 2000000, 4000000, \ + 8000000 } + /* For splashscreen */ #ifdef CONFIG_VIDEO #define STDOUT_CFG "vidconsole,serial" |