From 94f344997769a9a18e2d73574d9d17785828955d Mon Sep 17 00:00:00 2001
From: Lech Perczak <lech.perczak@gmail.com>
Date: Fri, 8 May 2020 00:41:36 +0200
Subject: ath79: dts: add missing 'serial0' alias for TP-Link TL-MR3040v2

Out of all devices currently supported based on AR9331 chipset,
this one had the 'serial0' alias missing. Add it to fix setting of
/dev/console and login shell on the onboard UART.

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
---
 target/linux/ath79/dts/ar9331_tplink_tl-mr3040-v2.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/ath79/dts/ar9331_tplink_tl-mr3040-v2.dts b/target/linux/ath79/dts/ar9331_tplink_tl-mr3040-v2.dts
index 5918e611dd..57cefee819 100644
--- a/target/linux/ath79/dts/ar9331_tplink_tl-mr3040-v2.dts
+++ b/target/linux/ath79/dts/ar9331_tplink_tl-mr3040-v2.dts
@@ -11,6 +11,7 @@
 	compatible = "tplink,tl-mr3040-v2", "qca,ar9331";
 
 	aliases {
+		serial0 = &uart;
 		led-boot = &led_lan;
 		led-failsafe = &led_lan;
 		label-mac-device = &eth0;
-- 
cgit v1.2.3