From b84fa1462cb9df6f7d68016b2a225ddd70886db7 Mon Sep 17 00:00:00 2001 From: Nascs Fang Date: Fri, 19 Apr 2024 16:02:51 +0800 Subject: [PATCH] radxa zero: add uart-ao-b-89 for v1.51 and later Signed-off-by: Nascs Fang --- arch/arm64/boot/dts/amlogic/overlays/Makefile | 1 + .../overlays/radxa-zero-uart-ao-b-89-v1-51.dts | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/overlays/radxa-zero-uart-ao-b-89-v1-51.dts diff --git a/arch/arm64/boot/dts/amlogic/overlays/Makefile b/arch/arm64/boot/dts/amlogic/overlays/Makefile index 94d8e3c3..b36f91fb 100644 --- a/arch/arm64/boot/dts/amlogic/overlays/Makefile +++ b/arch/arm64/boot/dts/amlogic/overlays/Makefile @@ -40,6 +40,7 @@ dtb-$(CONFIG_ARCH_MESON) += \ radxa-zero-enable-vddio_c.dtbo \ radxa-zero-led-8-off.dtbo \ radxa-zero-led-10-off.dtbo \ + radxa-zero-uart-ao-b-89-v1-51.dtbo \ radxa-zero-uart-ao-b-89.dtbo \ radxa-zero2-enable-vddio_c.dtbo \ radxa-zero2-radxa-25w-poe.dtbo diff --git a/arch/arm64/boot/dts/amlogic/overlays/radxa-zero-uart-ao-b-89-v1-51.dts b/arch/arm64/boot/dts/amlogic/overlays/radxa-zero-uart-ao-b-89-v1-51.dts new file mode 100644 index 00000000..6c1b9a2c --- /dev/null +++ b/arch/arm64/boot/dts/amlogic/overlays/radxa-zero-uart-ao-b-89-v1-51.dts @@ -0,0 +1,15 @@ +/dts-v1/; +/plugin/; + +#include "radxa-zero-led-8-off.dtsi" +#include "meson-g12-uart-ao-b-89.dtsi" + +/ { + metadata { + title = "Enable UART_AO-B on GPIOAO_8 and GPIOAO_9"; + compatible = "radxa,zero"; + category = "misc"; + exclusive = "uart_AO_B", "GPIOAO_8", "GPIOAO_9"; + description = "Enable UART_AO-B on GPIOAO_8 and GPIOAO_9.\nOn Radxa Zero this is TX pin 35 & RX pin 37.\nThis applies to V1.51 and later."; + }; +};