riscv: dts: sifive unmatched: Add gpio poweroff

Some of the GPIO pins on the Unmatched are wire up to control the power
of the board, indicate that in the device tree.

Signed-off-by: Ron Economos <w6rz@comcast.net>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
This commit is contained in:
Ron Economos 2021-12-30 22:11:06 -08:00 committed by Palmer Dabbelt
parent 3c2905ea79
commit db3f02df18
No known key found for this signature in database
GPG key ID: 2E1319F35FBB1889

View file

@ -39,6 +39,11 @@ rtcclk: rtcclk {
clock-frequency = <RTCCLK_FREQ>;
clock-output-names = "rtcclk";
};
gpio-poweroff {
compatible = "gpio-poweroff";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
};
&uart0 {