From: Marek Vasut <ma...@denx.de>

[ 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 <ma...@denx.de>
Cc: Alexandre Torgue <alexandre.tor...@st.com>
Cc: Maxime Coquelin <mcoquelin.st...@gmail.com>
Cc: Patrice Chotard <patrice.chot...@st.com>
Cc: Patrick Delaunay <patrick.delau...@st.com>
Cc: linux-st...@st-md-mailman.stormreply.com
To: linux-arm-ker...@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.tor...@st.com>
Signed-off-by: Sasha Levin <sas...@kernel.org>
---
 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