]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm64: versal: Modify cpm node interrupt-map
authorBharat Kumar Gogada <bharat.kumar.gogada@xilinx.com>
Mon, 26 Jul 2021 08:53:00 +0000 (14:23 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 26 Jul 2021 12:25:10 +0000 (14:25 +0200)
CPM root port driver doesn't use pci_irqd_intx_xlate method
to translate INTx numbers, it expects the device tree node to
provide required mapping.
Modifying interrupt-map property to provide driver with
required hwirq range to be mapped for INTx interrupts.

Signed-off-by: Bharat Kumar Gogada <bharat.kumar.gogada@xilinx.com>
arch/arm/dts/versal.dtsi

index 58829222df17d27ef7edc8415ea4ffb4cec10b55..b58402b855a729b9fc5d4321ed686fff3147847a 100644 (file)
                        #size-cells = <2>;
                        compatible = "xlnx,versal-cpm-host-1.00";
                        status = "disabled";
-                       interrupt-map = <0 0 0 1 &pcie_intc_0 1>,
-                                       <0 0 0 2 &pcie_intc_0 2>,
-                                       <0 0 0 3 &pcie_intc_0 3>,
-                                       <0 0 0 4 &pcie_intc_0 4>;
+                       interrupt-map = <0 0 0 1 &pcie_intc_0 0>,
+                                       <0 0 0 2 &pcie_intc_0 1>,
+                                       <0 0 0 3 &pcie_intc_0 2>,
+                                       <0 0 0 4 &pcie_intc_0 3>;
                        interrupt-map-mask = <0 0 0 7>;
                        interrupt-names = "misc";
                        interrupts = <0 72 4>;