diff options
author | Horatiu Vultur | 2022-07-19 22:11:56 +0200 |
---|---|---|
committer | Claudiu Beznea | 2022-07-22 12:11:02 +0300 |
commit | 85e4739f88296321924f20aa5ab36c1e04f3da6a (patch) | |
tree | a61021727594434e6966ef1bcca8bcdaea3943c5 /arch | |
parent | 819c620507229332e2a038b1d742ee1eee5946ad (diff) |
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 <horatiu.vultur@microchip.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20220719201158.1696168-2-horatiu.vultur@microchip.com
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/lan966x-pcb8291.dts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/lan966x-pcb8291.dts b/arch/arm/boot/dts/lan966x-pcb8291.dts index d56d2054c38d..02fbf7371a8d 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 { |