X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Fath79%2Fdts%2Far9344.dtsi;h=117c0b07a7253b0b2d40d35f4a46db6115384c2c;hb=7a873974f7fd04b4d5563df2b7ed91e9be3b38b7;hp=655ab35d79883e02650c506af8d3aefb3bc8d110;hpb=a7e1e919afa9659f66dada5e69d1b162f447ced7;p=oweals%2Fopenwrt.git diff --git a/target/linux/ath79/dts/ar9344.dtsi b/target/linux/ath79/dts/ar9344.dtsi index 655ab35d79..117c0b07a7 100644 --- a/target/linux/ath79/dts/ar9344.dtsi +++ b/target/linux/ath79/dts/ar9344.dtsi @@ -6,6 +6,31 @@ compatible = "qca,ar9344"; }; +&cpuintc { + qca,ddr-wb-channel-interrupts = <3>, <4>, <5>; + qca,ddr-wb-channels = <&ddr_ctrl 2>, <&ddr_ctrl 0>, + <&ddr_ctrl 1>; +}; + +&rst { + intc2: interrupt-controller { + 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>; + }; +}; + &apb { pcie: pcie-controller@180c0000 { compatible = "qcom,ar9340-pci", "qcom,ar7240-pci"; @@ -18,15 +43,20 @@ 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-parent = <&intc2>; + interrupts = <1>; interrupt-controller; #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 1>; interrupt-map = <0 0 0 0 &pcie 0>; - + status = "disabled"; }; }; + +&wmac { + interrupt-parent = <&intc2>; + interrupts = <0>; +};