[PATCH] ARM: dts: ethanolx: Enable VUART

From: Konstantin Aladyshev
Date: Wed Jan 11 2023 - 07:19:26 EST


Enable Virtual UART (VUART) module. This module provides virtual serial
communication capabilities between host CPU and BMC and can be used for
the Serial-Over-LAN (SoL) feature implementation.

Signed-off-by: Konstantin Aladyshev <aladyshev22@xxxxxxxxx>
---
arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts b/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts
index d8e8fca44c78..6bded774c457 100644
--- a/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts
@@ -5,6 +5,7 @@

#include "aspeed-g5.dtsi"
#include <dt-bindings/gpio/aspeed-gpio.h>
+#include <dt-bindings/interrupt-controller/irq.h>

/ {
model = "AMD EthanolX BMC";
@@ -275,6 +276,12 @@ &lpc_ctrl {
status = "okay";
};

+&vuart {
+ status = "okay";
+ aspeed,lpc-io-reg = <0x3f8>;
+ aspeed,lpc-interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
+};
+
&pwm_tacho {
status = "okay";
pinctrl-names = "default";
--
2.25.1