aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorBin Meng2019-02-26 01:52:20 -0800
committerBin Meng2019-03-11 22:55:01 +0800
commit9b2c8c30668c2d3ea8637cdce436be67241981b3 (patch)
treec8806a8447d78567bbaeb5a76165134ece1d93e6 /arch
parent7d0a53a40cee6e40c173b782f26f5a2317cf39b5 (diff)
x86: Add a dtsi file for the pc speaker
The pc speaker driven by the i8254 is generic enough to deserve a single dtsi file to be included by boards that use it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/dts/pcspkr.dtsi5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/dts/pcspkr.dtsi b/arch/x86/dts/pcspkr.dtsi
new file mode 100644
index 00000000000..934ab1028d1
--- /dev/null
+++ b/arch/x86/dts/pcspkr.dtsi
@@ -0,0 +1,5 @@
+/ {
+ pcspkr {
+ compatible = "i8254,beeper";
+ };
+};