]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: mba8mx: Add Ethernet PHY IRQ support
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Mon, 12 Aug 2024 13:06:36 +0000 (15:06 +0200)
committerShawn Guo <shawnguo@kernel.org>
Wed, 28 Aug 2024 03:13:48 +0000 (11:13 +0800)
The interrupt pin of the PHY is connected to the GPIO expander, configure
it accordingly.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/mba8mx.dtsi

index 520702a465a4021966f023facd54a575a351475c..c60c7a9e54aff9c8f61784f092cba2f3635c174d 100644 (file)
                        reset-gpios = <&expander2 7 GPIO_ACTIVE_LOW>;
                        reset-assert-us = <500000>;
                        reset-deassert-us = <500>;
+                       interrupt-parent = <&expander2>;
+                       interrupts = <6 IRQ_TYPE_EDGE_FALLING>;
                };
        };
 };