[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220718212921.1506984-2-horatiu.vultur@microchip.com>
Date: Mon, 18 Jul 2022 23:29:19 +0200
From: Horatiu Vultur <horatiu.vultur@...rochip.com>
To: <devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>
CC: <robh+dt@...nel.org>, <krzysztof.kozlowski+dt@...aro.org>,
<claudiu.beznea@...rochip.com>, <nicolas.ferre@...rochip.com>,
<UNGLinuxDriver@...rochip.com>, <maxime.chevallier@...tlin.com>,
"Horatiu Vultur" <horatiu.vultur@...rochip.com>
Subject: [PATCH 1/3] 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@...rochip.com>
---
arch/arm/boot/dts/lan966x-pcb8291.dts | 6 ++++++
1 file changed, 6 insertions(+)
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 @@ chosen {
aliases {
serial0 = &usart3;
};
+
+ gpio-restart {
+ compatible = "gpio-restart";
+ gpios = <&gpio 56 GPIO_ACTIVE_LOW>;
+ priority = <200>;
+ };
};
&gpio {
--
2.33.0
Powered by blists - more mailing lists