[RPI] Change wm8960 button pinnumber to gpio number
This commit is contained in:
parent
869c81ac2d
commit
f435366d6a
Binary file not shown.
|
@ -8,7 +8,7 @@
|
||||||
target = <&gpio>;
|
target = <&gpio>;
|
||||||
__overlay__ {
|
__overlay__ {
|
||||||
wm8960_key_pin: wm8960_key_pin {
|
wm8960_key_pin: wm8960_key_pin {
|
||||||
brcm,pins = <11>;
|
brcm,pins = <17>;
|
||||||
brcm,function = <0>; /* input mode */
|
brcm,function = <0>; /* input mode */
|
||||||
brcm,pull = <0>; /* pull up/down disabled */
|
brcm,pull = <0>; /* pull up/down disabled */
|
||||||
};
|
};
|
||||||
|
@ -27,8 +27,8 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
debounce-interval = <50>;
|
debounce-interval = <50>;
|
||||||
|
|
||||||
button_wake_up: button@11 {
|
button_wake_up: button@17 {
|
||||||
gpios = <&gpio 11 1>;
|
gpios = <&gpio 17 1>;
|
||||||
linux,code = <143>; // KEY_WAKEUP
|
linux,code = <143>; // KEY_WAKEUP
|
||||||
label = "Wake Up";
|
label = "Wake Up";
|
||||||
gpio-key,wakeup;
|
gpio-key,wakeup;
|
||||||
|
|
Loading…
Reference in New Issue