Skip to content

Commit bfcd571

Browse files
mwalleclaudiubeznea
authored andcommitted
ARM: dts: lan966x: kontron-d10: fix board reset
The pinctrl node was missing which change the pin mux to GPIO mode. Add it. Fixes: 79d83b3 ("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
1 parent 15e2d24 commit bfcd571

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818

1919
gpio-restart {
2020
compatible = "gpio-restart";
21+
pinctrl-0 = <&reset_pins>;
22+
pinctrl-names = "default";
2123
gpios = <&gpio 56 GPIO_ACTIVE_LOW>;
2224
priority = <200>;
2325
};
@@ -59,6 +61,12 @@
5961
function = "miim_c";
6062
};
6163

64+
reset_pins: reset-pins {
65+
/* SYS_RST# */
66+
pins = "GPIO_56";
67+
function = "gpio";
68+
};
69+
6270
sgpio_a_pins: sgpio-a-pins {
6371
/* SCK, D0, D1 */
6472
pins = "GPIO_32", "GPIO_33", "GPIO_34";

0 commit comments

Comments
 (0)