arm64: dts: sparx5: Add the Sparx5 switch frame DMA support
authorSteen Hegelund <steen.hegelund@microchip.com>
Thu, 19 Aug 2021 07:39:40 +0000 (09:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Aug 2021 13:28:55 +0000 (14:28 +0100)
This adds the interrupt for the Sparx5 Frame DMA.

If this configuration is present the Sparx5 SwitchDev driver will use the
Frame DMA feature, and if not it will use register based injection and
extraction for sending and receiving frames to the CPU.

Signed-off-by: Steen Hegelund <steen.hegelund@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm64/boot/dts/microchip/sparx5.dtsi

index ad07fff..787ebce 100644 (file)
                                <0x6 0x10004000 0x7fc000>,
                                <0x6 0x11010000 0xaf0000>;
                        reg-names = "cpu", "dev", "gcb";
-                       interrupt-names = "xtr";
-                       interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "xtr", "fdma";
+                       interrupts =    <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>,
+                                       <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
                        resets = <&reset 0>;
                        reset-names = "switch";
                };