aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar9341.dtsi
diff options
context:
space:
mode:
authorJohann Neuhauser <johann@it-neuhauser.de>2018-06-19 08:16:01 +0200
committerJohn Crispin <john@phrozen.org>2018-06-20 11:12:00 +0200
commitdcc942e66685b3ec51906c51b005895f967169b7 (patch)
treedde9c712f8ef935e4d9c6b59dea82c8328e587f9 /target/linux/ath79/dts/ar9341.dtsi
parentb8562f168b2bb2defc87e94db6ff98fe8471dc71 (diff)
downloadupstream-dcc942e66685b3ec51906c51b005895f967169b7.tar.gz
upstream-dcc942e66685b3ec51906c51b005895f967169b7.tar.bz2
upstream-dcc942e66685b3ec51906c51b005895f967169b7.zip
ath79: ar934x: use irq-ath79-intc driver and enable wmac
Signed-off-by: Johann Neuhauser <johann@it-neuhauser.de>
Diffstat (limited to 'target/linux/ath79/dts/ar9341.dtsi')
-rw-r--r--target/linux/ath79/dts/ar9341.dtsi18
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/ar9341.dtsi b/target/linux/ath79/dts/ar9341.dtsi
new file mode 100644
index 0000000000..751db2a1e8
--- /dev/null
+++ b/target/linux/ath79/dts/ar9341.dtsi
@@ -0,0 +1,18 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+
+#include "ar934x.dtsi"
+
+/ {
+ compatible = "qca,ar9341";
+};
+
+&cpuintc {
+ qca,ddr-wb-channel-interrupts = <2>, <3>, <4>, <5>;
+ qca,ddr-wb-channels = <&ddr_ctrl 4>, <&ddr_ctrl 2>,
+ <&ddr_ctrl 0>, <&ddr_ctrl 1>;
+};
+
+&wmac {
+ interrupt-parent = <&cpuintc>;
+ interrupts = <2>;
+};