|
|
@@ -718,6 +718,49 @@
|
|
|
};
|
|
|
};
|
|
|
|
|
|
+ pcie2: pcie@1fc40000 {
|
|
|
+ compatible = "airoha,en7581-pcie";
|
|
|
+ device_type = "pci";
|
|
|
+ linux,pci-domain = <2>;
|
|
|
+ #address-cells = <3>;
|
|
|
+ #size-cells = <2>;
|
|
|
+
|
|
|
+ reg = <0x0 0x1fc40000 0x0 0x1670>;
|
|
|
+ reg-names = "pcie-mac";
|
|
|
+
|
|
|
+ clocks = <&scuclk EN7523_CLK_PCIE>;
|
|
|
+ clock-names = "sys-ck";
|
|
|
+
|
|
|
+ phys = <&pciephy>;
|
|
|
+ phy-names = "pcie-phy";
|
|
|
+
|
|
|
+ ranges = <0x02000000 0 0x28000000 0x0 0x28000000 0 0x4000000>;
|
|
|
+
|
|
|
+ resets = <&scuclk EN7581_PCIE0_RST>,
|
|
|
+ <&scuclk EN7581_PCIE1_RST>,
|
|
|
+ <&scuclk EN7581_PCIE2_RST>;
|
|
|
+ reset-names = "phy-lane0", "phy-lane1", "phy-lane2";
|
|
|
+
|
|
|
+ mediatek,pbus-csr = <&pbus_csr 0x10 0x14>;
|
|
|
+
|
|
|
+ interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
+ bus-range = <0x00 0xff>;
|
|
|
+ #interrupt-cells = <1>;
|
|
|
+ interrupt-map-mask = <0 0 0 7>;
|
|
|
+ interrupt-map = <0 0 0 1 &pcie_intc2 0>,
|
|
|
+ <0 0 0 2 &pcie_intc2 1>,
|
|
|
+ <0 0 0 3 &pcie_intc2 2>,
|
|
|
+ <0 0 0 4 &pcie_intc2 3>;
|
|
|
+
|
|
|
+ status = "disabled";
|
|
|
+
|
|
|
+ pcie_intc2: interrupt-controller {
|
|
|
+ interrupt-controller;
|
|
|
+ #address-cells = <0>;
|
|
|
+ #interrupt-cells = <1>;
|
|
|
+ };
|
|
|
+ };
|
|
|
+
|
|
|
npu: npu@1e900000 {
|
|
|
compatible = "airoha,en7581-npu";
|
|
|
reg = <0x0 0x1e900000 0x0 0x313000>;
|