From: Horatiu Vultur Date: Tue, 19 Jul 2022 20:11:56 +0000 (+0200) Subject: ARM: dts: lan966x: Add gpio-restart X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=85e4739f88296321924f20aa5ab36c1e04f3da6a;p=linux.git ARM: dts: lan966x: Add gpio-restart The pcb8291 can be rebooted by toggling the GPIO 56. Therefore enable this in DT. Signed-off-by: Horatiu Vultur Signed-off-by: Claudiu Beznea Link: https://lore.kernel.org/r/20220719201158.1696168-2-horatiu.vultur@microchip.com --- diff --git a/arch/arm/boot/dts/lan966x-pcb8291.dts b/arch/arm/boot/dts/lan966x-pcb8291.dts index d56d2054c38d7..02fbf7371a8df 100644 --- a/arch/arm/boot/dts/lan966x-pcb8291.dts +++ b/arch/arm/boot/dts/lan966x-pcb8291.dts @@ -16,6 +16,12 @@ aliases { serial0 = &usart3; }; + + gpio-restart { + compatible = "gpio-restart"; + gpios = <&gpio 56 GPIO_ACTIVE_LOW>; + priority = <200>; + }; }; &gpio {