aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar9344.dtsi
blob: 655ab35d79883e02650c506af8d3aefb3bc8d110 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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";
	};
};