projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rk312x-sdk: modify adc key adc_value and power key gpio
[firefly-linux-kernel-4.4.55.git]
/
arch
/
arm
/
boot
/
dts
/
rk3128-sdk.dts
diff --git
a/arch/arm/boot/dts/rk3128-sdk.dts
b/arch/arm/boot/dts/rk3128-sdk.dts
index 51d39748b2a615785d29b4c6dd5770a2944ba878..dc5dd1f9285bfa36f89817189c8dc60588cb861c 100755
(executable)
--- a/
arch/arm/boot/dts/rk3128-sdk.dts
+++ b/
arch/arm/boot/dts/rk3128-sdk.dts
@@
-54,3
+54,11
@@
&sdmmc {
cd-gpios = <&gpio1 GPIO_C1 GPIO_ACTIVE_HIGH>;/*CD GPIO*/
};
+&key {
+ power-key {
+ gpios = <&gpio0 GPIO_A2 GPIO_ACTIVE_LOW>;
+ linux,code = <116>;
+ label = "power";
+ gpio-key,wakeup;
+ };
+};