arm: dts: mt6323: add keys, power-controller, rtc and codec

support poweroff and power-related keys on bpi-r2

Suggested-by: Frank Wunderlich <frank-w@public-files.de>
Signed-off-by: Josef Friedl <josef.friedl@speed.at>
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
This commit is contained in:
Josef Friedl 2019-09-10 09:04:46 +02:00 committed by Matthias Brugger
parent 54ecb8f702
commit 4ab88db095

View File

@ -238,5 +238,32 @@
regulator-enable-ramp-delay = <216>;
};
};
mt6323keys: mt6323keys {
compatible = "mediatek,mt6323-keys";
mediatek,long-press-mode = <1>;
power-off-time-sec = <0>;
power {
linux,keycodes = <116>;
wakeup-source;
};
home {
linux,keycodes = <114>;
};
};
codec: mt6397codec {
compatible = "mediatek,mt6397-codec";
};
power-controller {
compatible = "mediatek,mt6323-pwrc";
};
rtc {
compatible = "mediatek,mt6323-rtc";
};
};
};