arm64: dts: mt6358: add mt6358-keys node
This enables the power,home keys on MediaTek boards with a mt6358 pmic. Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> Link: https://lore.kernel.org/r/20220121140323.4080640-5-mkorpershoek@baylibre.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
This commit is contained in:
parent
462f6c4a7c
commit
a97af4b52b
|
@ -2,6 +2,7 @@
|
|||
/*
|
||||
* Copyright (c) 2020 MediaTek Inc.
|
||||
*/
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
&pwrap {
|
||||
pmic: mt6358 {
|
||||
|
@ -357,5 +358,16 @@
|
|||
mt6358rtc: mt6358rtc {
|
||||
compatible = "mediatek,mt6358-rtc";
|
||||
};
|
||||
|
||||
mt6358keys: mt6358keys {
|
||||
compatible = "mediatek,mt6358-keys";
|
||||
power {
|
||||
linux,keycodes = <KEY_POWER>;
|
||||
wakeup-source;
|
||||
};
|
||||
home {
|
||||
linux,keycodes = <KEY_HOME>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue