Skip to content

Commit db3f02d

Browse files
drmpegpalmer-dabbelt
authored andcommitted
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>
1 parent 3c2905e commit db3f02d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@
3939
clock-frequency = <RTCCLK_FREQ>;
4040
clock-output-names = "rtcclk";
4141
};
42+
43+
gpio-poweroff {
44+
compatible = "gpio-poweroff";
45+
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
46+
};
4247
};
4348

4449
&uart0 {

0 commit comments

Comments
 (0)