aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2020-02-02 18:02:11 +0200
committerDaniel Golle <daniel@makrotopia.org>2020-02-07 12:54:33 +0200
commit16031ebaf89f68ff3328e8d4a922adb244c2d5ae (patch)
treefa794e3a8002a9044f7e5621c9f286b1bba0f94f /target/linux/ath79/dts
parentb439d3bfb5bf6e5cc1e2ad5b7a086eb46995eeaf (diff)
downloadupstream-16031ebaf89f68ff3328e8d4a922adb244c2d5ae.tar.gz
upstream-16031ebaf89f68ff3328e8d4a922adb244c2d5ae.tar.bz2
upstream-16031ebaf89f68ff3328e8d4a922adb244c2d5ae.zip
ath79: add support for Atheros AR934x HS UART
AR934x chips also got the 'old' qca,ar9330-uart in addition to the 'new' ns16550a compatible one. Add support for UART1 clock selector as well as device-tree bindings in ar934x.dtsi to make use of that uart. Reported-by: Piotr Dymacz <pepe2k@gmail.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/ath79/dts')
-rw-r--r--target/linux/ath79/dts/ar934x.dtsi13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/ar934x.dtsi b/target/linux/ath79/dts/ar934x.dtsi
index c17623511b..e8c21fb710 100644
--- a/target/linux/ath79/dts/ar934x.dtsi
+++ b/target/linux/ath79/dts/ar934x.dtsi
@@ -133,6 +133,19 @@
#reset-cells = <1>;
};
+
+ hs_uart: uart@18500000 {
+ compatible = "qca,ar9330-uart";
+ reg = <0x18500000 0x14>;
+
+ interrupts = <6>;
+ interrupt-parent = <&miscintc>;
+
+ clocks = <&pll ATH79_CLK_UART1>;
+ clock-names = "uart";
+
+ status = "disabled";
+ };
};
nand: nand@1b000200 {