From: Marek Vasut <[email protected]>

[ Upstream commit 9ad98319e95263469d8ca2cb543c37c5a2f40980 ]

On the production revision of the SoM, 587-200, the PHY reset GPIO and
touchscreen IRQs are swapped to prevent collision between EXTi IRQs,
reflect that in DT.

Fixes: 34e0c7847dcf ("ARM: dts: stm32: Add DH Electronics DHCOM STM32MP1 SoM 
and PDK2 board")
Signed-off-by: Marek Vasut <[email protected]>
Cc: Alexandre Torgue <[email protected]>
Cc: Maxime Coquelin <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: [email protected]
To: [email protected]
Signed-off-by: Alexandre Torgue <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
 arch/arm/boot/dts/stm32mp15xx-dhcom-som.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/stm32mp15xx-dhcom-som.dtsi 
b/arch/arm/boot/dts/stm32mp15xx-dhcom-som.dtsi
index d30a3c60da9b0..a87ebc4843963 100644
--- a/arch/arm/boot/dts/stm32mp15xx-dhcom-som.dtsi
+++ b/arch/arm/boot/dts/stm32mp15xx-dhcom-som.dtsi
@@ -117,7 +117,7 @@ &ethernet0 {
        max-speed = <100>;
        phy-handle = <&phy0>;
        st,eth-ref-clk-sel;
-       phy-reset-gpios = <&gpioh 15 GPIO_ACTIVE_LOW>;
+       phy-reset-gpios = <&gpioh 3 GPIO_ACTIVE_LOW>;
 
        mdio0 {
                #address-cells = <1>;
@@ -285,7 +285,7 @@ touchscreen@49 {
                compatible = "ti,tsc2004";
                reg = <0x49>;
                vio-supply = <&v3v3>;
-               interrupts-extended = <&gpioh 3 IRQ_TYPE_EDGE_FALLING>;
+               interrupts-extended = <&gpioh 15 IRQ_TYPE_EDGE_FALLING>;
        };
 
        eeprom@50 {
-- 
2.25.1



Reply via email to