kirkwood: dns320l: export mcu_power GPIO
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 <wigyori@uid0.hu>
This commit is contained in:
parent
945a335f66
commit
e934e67f9c
2 changed files with 12 additions and 1 deletions
|
@ -37,6 +37,17 @@
|
||||||
stdout-path = &uart0;
|
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 {
|
gpio-keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
chosen {
|
chosen {
|
||||||
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
||||||
stdout-path = &uart0;
|
stdout-path = &uart0;
|
||||||
@@ -68,7 +75,7 @@
|
@@ -79,7 +86,7 @@
|
||||||
linux,default-trigger = "usbport";
|
linux,default-trigger = "usbport";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue