diff options
author | Mathias Kresin <dev@kresin.me> | 2016-11-27 09:47:51 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2016-11-27 15:34:23 +0100 |
commit | 18c64f41c7d84824a81bdcd730e1796d316355d1 (patch) | |
tree | 60bf2174ee8113ffd5931fcc4c8eea25d7ada57d /target/linux/lantiq/dts/ARV752DPW22.dts | |
parent | 4780e7e994d549a375bbfba02faef9a2bb2a6ea8 (diff) | |
download | upstream-18c64f41c7d84824a81bdcd730e1796d316355d1.tar.gz upstream-18c64f41c7d84824a81bdcd730e1796d316355d1.tar.bz2 upstream-18c64f41c7d84824a81bdcd730e1796d316355d1.zip |
treewide: fix button keys codes used in dts
Use keycodes that matches the intended use case based on the label.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/lantiq/dts/ARV752DPW22.dts')
-rw-r--r-- | target/linux/lantiq/dts/ARV752DPW22.dts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/lantiq/dts/ARV752DPW22.dts b/target/linux/lantiq/dts/ARV752DPW22.dts index 2a37a3a0bd..c409fcb1ea 100644 --- a/target/linux/lantiq/dts/ARV752DPW22.dts +++ b/target/linux/lantiq/dts/ARV752DPW22.dts @@ -152,12 +152,12 @@ restart { label = "restart"; gpios = <&gpio 12 GPIO_ACTIVE_LOW>; - linux,code = <BTN_LEFT>; + linux,code = <KEY_POWER>; }; dsl { label = "dsl"; gpios = <&gpio 13 GPIO_ACTIVE_LOW>; - linux,code = <BTN_RIGHT>; + linux,code = <BTN_0>; }; reset { label = "reset"; |