ARM: dts: stm32: Swap PHY reset GPIO and TSC2004 IRQ on DHCOM SOM
authorMarek Vasut <marex@denx.de>
Fri, 28 Aug 2020 12:14:12 +0000 (14:14 +0200)
committerAlexandre Torgue <alexandre.torgue@st.com>
Wed, 23 Sep 2020 16:37:02 +0000 (18:37 +0200)
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 <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 60e3d66..b4b52cf 100644 (file)
        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>;
                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 {