ARM: dts: at91: nattis: set the PRLUD and HIPOW signals low
authorPeter Rosin <peda@axentia.se>
Tue, 28 Aug 2018 09:48:40 +0000 (11:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Jan 2020 13:49:53 +0000 (14:49 +0100)
[ Upstream commit 29feb2c960ab32fc24249443d4434194ce96f083 ]

AT91_PINCTRL_OUTPUT_VAL(0) without AT91_PINCTRL_OUTPUT is a no-op, so
make sure the pins really output a zero.

Fixes: 0e4323899973 ("ARM: dts: at91: add devicetree for the Axentia Nattis with Natte power")
Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/at91-nattis-2-natte-2.dts

index af9f384..bfa5815 100644 (file)
                                                atmel,pins =
                                                        <AT91_PIOA 21
                                                         AT91_PERIPH_GPIO
-                                                        AT91_PINCTRL_OUTPUT_VAL(0)>;
+                                                        (AT91_PINCTRL_OUTPUT |
+                                                         AT91_PINCTRL_OUTPUT_VAL(0))>;
                                        };
 
                                        pinctrl_lcd_hipow0: lcd_hipow0 {
                                                atmel,pins =
                                                        <AT91_PIOA 23
                                                         AT91_PERIPH_GPIO
-                                                        AT91_PINCTRL_OUTPUT_VAL(0)>;
+                                                        (AT91_PINCTRL_OUTPUT |
+                                                         AT91_PINCTRL_OUTPUT_VAL(0))>;
                                        };
                                };
                        };