ARM: dts: aspeed: ethanolx: Enable VUART
authorKonstantin Aladyshev <aladyshev22@gmail.com>
Wed, 11 Jan 2023 12:19:17 +0000 (15:19 +0300)
committerJoel Stanley <joel@jms.id.au>
Mon, 23 Jan 2023 03:46:48 +0000 (14:16 +1030)
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@gmail.com>
Link: https://lore.kernel.org/r/20230111121917.1636-1-aladyshev22@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts

index 6406a0f080ee6b7c73db55e222d818f60c1e9afb..93d395df1f2a95868a0bfd8a79733493f8df489f 100644 (file)
@@ -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";
        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";