incubator-nuttx/Documentation
Lee Lup Yuen 4ed48c33e9 arm64/a64: Add support for Multiple UART Ports
Currently only Port UART0 is supported for Allwinner A64. This PR adds support for all UART Ports: UART1 to UART4. (Except R-UART, which is a special low-power UART)

This is required for the upcoming LTE Modem Driver (Quectel EG25-G) for PINE64 PinePhone, which uses UART3. [(Details here)](https://lupyuen.github.io/articles/lte2)

The code was adapted from the NuttX UART Driver for Allwinner A1X: [`a1x_serial.c`](https://github.com/apache/nuttx/blob/master/arch/arm/src/a1x/a1x_serial.c)

`arch/arm64/src/a64/a64_serial.c`: Added ports UART1 to UART4, based on [`a1x_serial.c`](https://github.com/apache/nuttx/blob/master/arch/arm/src/a1x/a1x_serial.c)

`arch/arm64/src/a64/a64_serial.h`: Added IRQs for UART1 to UART4. Moved UART Base Addresses to `a64_memorymap.h`

`arch/arm64/src/a64/hardware/a64_memorymap.h`: Added UART Base Addresses for UART0 to UART4

`arch/arm64/src/a64/Kconfig`: Added UART1 to UART4 to Allwinner A64 Peripheral Selection menu

`boards/arm64/a64/pinephone/configs/lcd/defconfig`, `lvgl/defconfig`, `nsh/defconfig`, `sensor/defconfig`: Fixed `UART1_SERIAL_CONSOLE` to `UART0_SERIAL_CONSOLE`
2023-05-11 09:41:18 +02:00
..
_static
_templates
applications documentantion/applications: add WAPI documentation 2023-04-29 14:35:09 +08:00
components video/fb: add vsync offset support 2023-04-22 01:09:09 +08:00
contributing Doc: Explain how to rebase and squash PR's commits 2022-12-19 10:31:12 +08:00
faq Doc: Add how to configure network MTU size 2022-11-02 09:14:17 +08:00
guides documentation: add references to RTP Tools' defconfigs 2023-05-03 07:57:11 +02:00
introduction Documentation: Improve pages for ESP boards 2023-03-25 12:23:35 +02:00
platforms arm64/a64: Add support for Multiple UART Ports 2023-05-11 09:41:18 +02:00
quickstart Documentation/quickstart: update link for USBIP in WSL2 2023-03-20 08:58:14 +01:00
reference signal: Remove configurable assignment of signal numbers 2023-03-26 08:31:36 -06:00
.gitignore
Makefile
Pipfile docs: Update dependencies and fix lint errors 2022-10-10 09:29:53 +08:00
Pipfile.lock CI/Documentation: livereload hash missmatch due to new wheel package upload. 2023-01-02 14:56:51 +08:00
conf.py
glossary.rst
index.rst
make.bat
substitutions.rst Remove the double blank line from source files 2022-02-20 20:10:14 +01:00