diff mbox series

[v2,1/1] arm64: dts: mba8mx: Add Ethernet PHY IRQ support

Message ID 20240812130636.180483-1-alexander.stein@ew.tq-group.com (mailing list archive)
State New
Headers show
Series [v2,1/1] arm64: dts: mba8mx: Add Ethernet PHY IRQ support | expand

Commit Message

Alexander Stein Aug. 12, 2024, 1:06 p.m. UTC
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>
---
Changes in v2:
* Fix context (wrong local rebase)

 arch/arm64/boot/dts/freescale/mba8mx.dtsi | 2 ++
 1 file changed, 2 insertions(+)

Comments

Shawn Guo Aug. 28, 2024, 3:13 a.m. UTC | #1
On Mon, Aug 12, 2024 at 03:06:36PM +0200, Alexander Stein wrote:
> 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>

Applied, thanks!
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/mba8mx.dtsi b/arch/arm64/boot/dts/freescale/mba8mx.dtsi
index 815241526a0d3..8d898506b3bce 100644
--- a/arch/arm64/boot/dts/freescale/mba8mx.dtsi
+++ b/arch/arm64/boot/dts/freescale/mba8mx.dtsi
@@ -185,6 +185,8 @@  ethphy0: ethernet-phy@e {
 			reset-gpios = <&expander2 7 GPIO_ACTIVE_LOW>;
 			reset-assert-us = <500000>;
 			reset-deassert-us = <500>;
+			interrupt-parent = <&expander2>;
+			interrupts = <6 IRQ_TYPE_EDGE_FALLING>;
 		};
 	};
 };