arm64: dts: imx8mm: Correct WDOG_B pin configuration
authorAnson Huang <Anson.Huang@nxp.com>
Mon, 12 Oct 2020 12:44:00 +0000 (20:44 +0800)
committerShawn Guo <shawnguo@kernel.org>
Fri, 30 Oct 2020 10:34:02 +0000 (18:34 +0800)
Different revision of i.MX8MM EVK boards may have different external
pull up registor design, some are enabled while some are NOT, to make
sure the WDOG_B pin works properly, better to enable internal pull up
resistor. Since enabling internal pull up resistor is NOT harmful and
having benefit of flexibility on different board design, just enable
it for all i.MX8MM boards; And schmitt input is NOT necessary for this
WDOG_B output pin, so remove it; Open drain outputs provide more
flexibility to a designer as they can be pulled-up to any voltage found
in the system, so enable it as well.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi
arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi
arch/arm64/boot/dts/freescale/imx8mm-var-som.dtsi

index 09ad2d71b8b37901306b4a71d91fae4074dfe408..c74e006ad0e8e3fa56581c609440608691ba06fa 100644 (file)
 
                pinctrl_wdog: wdoggrp {
                        fsl,pins = <
-                               MX8MM_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B            0xc6
+                               MX8MM_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B            0x166
                        >;
                };
 
index f305a530ff6fb9944dff9b5bf07a871e6365a330..469d5703250b3e8dbd18bed205e3576ab1664ce4 100644 (file)
 
        pinctrl_wdog: wdoggrp {
                fsl,pins = <
-                       MX8MM_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B    0xc6
+                       MX8MM_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B    0x166
                >;
        };
 };
index 4107fe914d08d1c0330cfaeb6158c5e97500e89b..38e879d3256011d8e1afa948261d75fccc7fbfaa 100644 (file)
 
        pinctrl_wdog: wdoggrp {
                fsl,pins = <
-                       MX8MM_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B    0xc6
+                       MX8MM_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B    0x166
                >;
        };
 };