Advertisement
Guest User

GPIO button DTS

a guest
Dec 24th, 2022
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. keys {
  2. compatible = "gpio-keys";
  3.  
  4. reset {
  5. label = "Reset button";
  6. linux,code = <KEY_RESTART>;
  7. gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
  8. };
  9. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement