Skip to contentSkip to conversation

ARM: dts: stm32: Connect PHY IRQ line on DH STM32MP1 SoM

PATCH In review Marek Vasut 2 participants 2 messages Oct 8, 2020 – Nov 9, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: stm32: Connect PHY IRQ line on DH STM32MP1 SoM

On the production DHCOM STM32MP15xx SoM, the PHY IRQ line is connected to the PI11 pin. Describe it in the DT as well, so the PHY IRQ can be used e.g. to detect cable insertion and removal.

Cc Alexandre Torgue <[email protected]>
Cc Maxime Coquelin <[email protected]>
Cc Patrice Chotard <[email protected]>
Cc Patrick Delaunay <[email protected]>

To: [email protected]

---
 arch/arm/boot/dts/stm32mp15xx-dhcom-som.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/boot/dts/stm32mp15xx-dhcom-som.dtsi +2 -0
index b4b52cf634af..bc6b2b33078d 100644
@@ -126,6 +126,8 @@
 
 		phy0: ethernet-phy@1 {
 			reg = <1>;
+			interrupt-parent = <&gpioi>;
+			interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
 		};
 	};
 };
Signature · 7 lines
2.28.0


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#1 lore raw

Hi Marek

Quoted 21 lines · Marek Vasut

On the production DHCOM STM32MP15xx SoM, the PHY IRQ line is connected to the PI11 pin. Describe it in the DT as well, so the PHY IRQ can be used e.g. to detect cable insertion and removal.

Cc Alexandre Torgue <[email protected]>
Cc Maxime Coquelin <[email protected]>
Cc Patrice Chotard <[email protected]>
Cc Patrick Delaunay <[email protected]>

To: [email protected]

---
  arch/arm/boot/dts/stm32mp15xx-dhcom-som.dtsi | 2 ++
  1 file changed, 2 insertions(+)
arch/arm/boot/dts/stm32mp15xx-dhcom-som.dtsi +0 -0
index b4b52cf634af..bc6b2b33078d 100644

arch/arm/boot/dts/stm32mp15xx-dhcom-som.dtsi line 133

Quoted 8 lines
arch/arm/boot/dts/stm32mp15xx-dhcom-som.dtsi +2 -0
@@ -126,6 +126,8 @@
 
  		phy0: ethernet-phy@1 {
  			reg = <1>;
+			interrupt-parent = <&gpioi>;
+			interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
  		};
  	};
  };

Applied on stm32-next.

Thanks.
Alex

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel