Skip to content

Commit

Permalink
kirkwood: dns320l: export mcu_power GPIO
Browse files Browse the repository at this point in the history
This GPIO is pulled down by the onboard MCU when the power button
is pressed for 5 seconds, indicating a user-initiated shutdown.

Refresh patches at the same time.

Signed-off-by: Zoltan HERPAI <[email protected]>
  • Loading branch information
wigyori committed Oct 28, 2024
1 parent 945a335 commit e934e67
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,17 @@
stdout-path = &uart0;
};

gpio-export {
compatible = "gpio-export";
#size-cells = <0>;

mcu_power {
gpio-export,name = "mcu_power";
gpio-export,input = <0>;
gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
};
};

gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
Expand Down
2 changes: 1 addition & 1 deletion target/linux/kirkwood/patches-6.6/118-dns-320l.patch
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
chosen {
bootargs = "console=ttyS0,115200n8 earlyprintk";
stdout-path = &uart0;
@@ -68,7 +75,7 @@
@@ -79,7 +86,7 @@
linux,default-trigger = "usbport";
};

Expand Down

0 comments on commit e934e67

Please sign in to comment.