x86: Add a dtsi file for the pc speaker
authorBin Meng <bmeng.cn@gmail.com>
Tue, 26 Feb 2019 09:52:20 +0000 (01:52 -0800)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 11 Mar 2019 14:55:01 +0000 (22:55 +0800)
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>
arch/x86/dts/pcspkr.dtsi [new file with mode: 0644]

diff --git a/arch/x86/dts/pcspkr.dtsi b/arch/x86/dts/pcspkr.dtsi
new file mode 100644 (file)
index 0000000..934ab10
--- /dev/null
@@ -0,0 +1,5 @@
+/ {
+       pcspkr {
+               compatible = "i8254,beeper";
+       };
+};