]> git.itanic.dy.fi Git - linux-stable/commitdiff
ARM: dts: lan966x: kontron-d10: fix board reset
authorMichael Walle <mwalle@kernel.org>
Fri, 16 Jun 2023 13:18:39 +0000 (15:18 +0200)
committerClaudiu Beznea <claudiu.beznea@microchip.com>
Wed, 21 Jun 2023 07:22:40 +0000 (10:22 +0300)
The pinctrl node was missing which change the pin mux to GPIO mode. Add
it.

Fixes: 79d83b3a458e ("ARM: dts: lan966x: add basic Kontron KSwitch D10 support")
Signed-off-by: Michael Walle <mwalle@kernel.org>
[claudiu.beznea: moved pinctrl-* bindings after compatible]
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20230616-feature-d10-dt-cleanups-v1-1-50dd0452b8fe@kernel.org
arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt.dtsi

index 0097e72e3fb22ff38e6ae7b8b0c53336650eab18..42be207509a46ca60879175d1baeb7b3812be6dc 100644 (file)
@@ -18,6 +18,8 @@ chosen {
 
        gpio-restart {
                compatible = "gpio-restart";
+               pinctrl-0 = <&reset_pins>;
+               pinctrl-names = "default";
                gpios = <&gpio 56 GPIO_ACTIVE_LOW>;
                priority = <200>;
        };
@@ -59,6 +61,12 @@ miim_c_pins: miim-c-pins {
                function = "miim_c";
        };
 
+       reset_pins: reset-pins {
+               /* SYS_RST# */
+               pins = "GPIO_56";
+               function = "gpio";
+       };
+
        sgpio_a_pins: sgpio-a-pins {
                /* SCK, D0, D1 */
                pins = "GPIO_32", "GPIO_33", "GPIO_34";