Commit 4ab88db0 authored by Josef Friedl's avatar Josef Friedl Committed by Matthias Brugger
Browse files

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



support poweroff and power-related keys on bpi-r2

Suggested-by: default avatarFrank Wunderlich <frank-w@public-files.de>
Signed-off-by: default avatarJosef Friedl <josef.friedl@speed.at>
Signed-off-by: default avatarFrank Wunderlich <frank-w@public-files.de>
Signed-off-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
parent 54ecb8f7
Loading
Loading
Loading
Loading
+27 −0
Original line number Diff line number Diff line
@@ -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";
		};
	};
};