ARM: dts: stm32: Connect PHY IRQ line on DH STM32MP1 SoM
authorMarek Vasut <marex@denx.de>
Thu, 8 Oct 2020 19:36:18 +0000 (21:36 +0200)
committerAlexandre Torgue <alexandre.torgue@st.com>
Tue, 17 Nov 2020 08:30:31 +0000 (09:30 +0100)
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@denx.de>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32mp15xx-dhcom-som.dtsi

index f796a6150313e01c607384645dc1249632abe704..e257459c34dcdde61d0639d9e27108b21f2c0495 100644 (file)
 
                phy0: ethernet-phy@1 {
                        reg = <1>;
+                       interrupt-parent = <&gpioi>;
+                       interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
                };
        };
 };