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

Alexandre Torgue alexandre.torgue at st.com
Mon Nov 9 05:01:45 EST 2020


Hi Marek

On 10/8/20 9:36 PM, Marek Vasut wrote:
> 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.
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Alexandre Torgue <alexandre.torgue at st.com>
> Cc: Maxime Coquelin <mcoquelin.stm32 at gmail.com>
> Cc: Patrice Chotard <patrice.chotard at st.com>
> Cc: Patrick Delaunay <patrick.delaunay at st.com>
> Cc: linux-stm32 at st-md-mailman.stormreply.com
> To: linux-arm-kernel at lists.infradead.org
> ---
>   arch/arm/boot/dts/stm32mp15xx-dhcom-som.dtsi | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/stm32mp15xx-dhcom-som.dtsi b/arch/arm/boot/dts/stm32mp15xx-dhcom-som.dtsi
> index b4b52cf634af..bc6b2b33078d 100644
> --- a/arch/arm/boot/dts/stm32mp15xx-dhcom-som.dtsi
> +++ b/arch/arm/boot/dts/stm32mp15xx-dhcom-som.dtsi
> @@ -126,6 +126,8 @@
>   
>   		phy0: ethernet-phy at 1 {
>   			reg = <1>;
> +			interrupt-parent = <&gpioi>;
> +			interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
>   		};
>   	};
>   };
> 

Applied on stm32-next.

Thanks.
Alex



More information about the linux-arm-kernel mailing list