diff options
author | Horatiu Vultur <horatiu.vultur@microchip.com> | 2022-07-19 22:11:56 +0200 |
---|---|---|
committer | Claudiu Beznea <claudiu.beznea@microchip.com> | 2022-07-22 11:11:02 +0200 |
commit | 85e4739f88296321924f20aa5ab36c1e04f3da6a (patch) | |
tree | a61021727594434e6966ef1bcca8bcdaea3943c5 /arch/arm/boot | |
parent | ARM: dts: lan966x: add clock gating register (diff) | |
download | linux-85e4739f88296321924f20aa5ab36c1e04f3da6a.tar.xz linux-85e4739f88296321924f20aa5ab36c1e04f3da6a.zip |
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/arm/boot')
-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 { |