2018-05-18 16:06:03 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
|
|
|
|
#include "ar934x.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "qca,ar9344";
|
|
|
|
};
|
|
|
|
|
2018-06-19 06:16:01 +00:00
|
|
|
&cpuintc {
|
|
|
|
qca,ddr-wb-channel-interrupts = <3>, <4>, <5>;
|
|
|
|
qca,ddr-wb-channels = <&ddr_ctrl 2>, <&ddr_ctrl 0>,
|
|
|
|
<&ddr_ctrl 1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&rst {
|
2018-08-06 05:11:13 +00:00
|
|
|
intc2: interrupt-controller {
|
2018-06-19 06:16:01 +00:00
|
|
|
compatible = "qca,ar9340-intc";
|
|
|
|
|
|
|
|
interrupt-parent = <&cpuintc>;
|
|
|
|
interrupts = <2>;
|
|
|
|
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
|
|
|
|
qca,int-status-addr = <0xac>;
|
|
|
|
qca,pending-bits = <0xf>, /* wmac */
|
|
|
|
<0x1f0>; /* pcie rc1 */
|
|
|
|
|
|
|
|
qca,ddr-wb-channel-interrupts = <0>, <1>;
|
|
|
|
qca,ddr-wb-channels = <&ddr_ctrl 4>, <&ddr_ctrl 3>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-06-21 10:25:12 +00:00
|
|
|
&ahb {
|
2018-05-18 16:06:03 +00:00
|
|
|
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 */
|
2018-06-19 06:16:01 +00:00
|
|
|
interrupt-parent = <&intc2>;
|
|
|
|
interrupts = <1>;
|
2018-05-18 16:06:03 +00:00
|
|
|
|
2021-02-17 04:53:32 +00:00
|
|
|
device_type = "pci";
|
|
|
|
|
2020-04-12 11:03:31 +00:00
|
|
|
resets = <&rst 6>, <&rst 7>;
|
|
|
|
reset-names = "hc", "phy";
|
|
|
|
|
2018-05-18 16:06:03 +00:00
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
|
|
|
|
interrupt-map-mask = <0 0 0 1>;
|
|
|
|
interrupt-map = <0 0 0 0 &pcie 0>;
|
2018-08-06 05:55:13 +00:00
|
|
|
|
2018-05-18 16:06:03 +00:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
2018-06-19 06:16:01 +00:00
|
|
|
|
|
|
|
&wmac {
|
|
|
|
interrupt-parent = <&intc2>;
|
|
|
|
interrupts = <0>;
|
|
|
|
};
|