aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar934x.dtsi
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-02-24 01:52:34 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-02-24 02:53:53 +0100
commit3a4b751110b32380cf827f14a203190cfbc2e40f (patch)
tree135fe08d50786c8f7a697dde043a95908567fe6d /target/linux/ath79/dts/ar934x.dtsi
parent1322150b0cc8acdb7fbcf7115a5201803fc4986d (diff)
downloadupstream-3a4b751110b32380cf827f14a203190cfbc2e40f.tar.gz
upstream-3a4b751110b32380cf827f14a203190cfbc2e40f.tar.bz2
upstream-3a4b751110b32380cf827f14a203190cfbc2e40f.zip
ath79: enable UART in SoC DTSI files
The uart node is enabled on all devices except one (GL-USB150 *). Thus, let's not have a few hundred nodes to enable it, but do not disable it in the first place. Where the majority of devices is using it, also move the serial0 alias to the DTSI. *) Since GL-USB150 even defines serial0 alias, the missing uart is probably just a mistake. Anyway, disable it for now so this patch stays cosmetic. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ath79/dts/ar934x.dtsi')
-rw-r--r--target/linux/ath79/dts/ar934x.dtsi6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ath79/dts/ar934x.dtsi b/target/linux/ath79/dts/ar934x.dtsi
index aa1003cdb5..42fbab4b60 100644
--- a/target/linux/ath79/dts/ar934x.dtsi
+++ b/target/linux/ath79/dts/ar934x.dtsi
@@ -8,6 +8,10 @@
#address-cells = <1>;
#size-cells = <1>;
+ aliases {
+ serial0 = &uart;
+ };
+
chosen {
bootargs = "console=ttyS0,115200";
};
@@ -70,8 +74,6 @@
reg-io-width = <4>;
reg-shift = <2>;
no-loopback-test;
-
- status = "disabled";
};
gpio: gpio@18040000 {