dts: sparx5: Enable ptp interrupt
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Fri, 4 Mar 2022 11:08:54 +0000 (12:08 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Mar 2022 13:03:09 +0000 (13:03 +0000)
Add support for ptp interrupt. This interrupt is used when using 2-step
timestamping. For each timestamp that is added in a queue, an interrupt
is generated.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm64/boot/dts/microchip/sparx5.dtsi

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