diff options
author | Johann Neuhauser <johann@it-neuhauser.de> | 2018-05-18 18:06:03 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-05-22 20:53:15 +0200 |
commit | a7e1e919afa9659f66dada5e69d1b162f447ced7 (patch) | |
tree | 18d949d909bca4f07d74df18bacf72ba92d70962 /target/linux/ath79/dts/ar9344.dtsi | |
parent | faf0a460c4b8d77bed270156a4454b964a551c95 (diff) | |
download | mtk-20170518-a7e1e919afa9659f66dada5e69d1b162f447ced7.zip mtk-20170518-a7e1e919afa9659f66dada5e69d1b162f447ced7.tar.gz mtk-20170518-a7e1e919afa9659f66dada5e69d1b162f447ced7.tar.bz2 |
ath79: preliminary support for TP-Link WDR3600 / WDR4300 (AR9344)
working:
- leds
- buttons
- lan / wan
- usb (hub port 1 + 2)
- wifi 5g
- sysupgrade
- ...
not working:
- wifi 2g
Signed-off-by: Johann Neuhauser <johann@it-neuhauser.de>
Diffstat (limited to 'target/linux/ath79/dts/ar9344.dtsi')
-rw-r--r-- | target/linux/ath79/dts/ar9344.dtsi | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/ar9344.dtsi b/target/linux/ath79/dts/ar9344.dtsi new file mode 100644 index 0000000..655ab35 --- /dev/null +++ b/target/linux/ath79/dts/ar9344.dtsi @@ -0,0 +1,32 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT + +#include "ar934x.dtsi" + +/ { + compatible = "qca,ar9344"; +}; + +&apb { + pcie: pcie-controller@180c0000 { + compatible = "qcom,ar9340-pci", "qcom,ar7240-pci"; + #address-cells = <3>; + #size-cells = <2>; + bus-range = <0x0 0x0>; + reg = <0x180c0000 0x1000>, /* CRP */ + <0x180f0000 0x100>, /* CTRL */ + <0x14000000 0x1000>; /* CFG */ + reg-names = "crp_base", "ctrl_base", "cfg_base"; + ranges = <0x2000000 0 0x10000000 0x10000000 0 0x04000000 /* pci memory */ + 0x1000000 0 0x00000000 0x0000000 0 0x000001>; /* io space */ + interrupt-parent = <&cpuintc>; + interrupts = <2>; + + interrupt-controller; + #interrupt-cells = <1>; + + interrupt-map-mask = <0 0 0 1>; + interrupt-map = <0 0 0 0 &pcie 0>; + + status = "disabled"; + }; +}; |