mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
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:
committed by
Matthias Brugger
parent
54ecb8f702
commit
4ab88db095
@@ -238,5 +238,32 @@
|
|||||||
regulator-enable-ramp-delay = <216>;
|
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";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user