summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-08-04 12:33:48 -0600
committerSimon Glass <sjg@chromium.org>2015-08-05 08:44:06 -0600
commitd6c099c2a1a12667dfa1abb03ef1eba9ab4f9197 (patch)
treea6fee7bcec0869bb8f82dc64f12d807422d40853 /arch
parent3e9aa3205529c3838e8e92d65e748c27012cca88 (diff)
downloadblackbird-obmc-uboot-d6c099c2a1a12667dfa1abb03ef1eba9ab4f9197.tar.gz
blackbird-obmc-uboot-d6c099c2a1a12667dfa1abb03ef1eba9ab4f9197.zip
x86: dts: Add a device tree file for EFI
This contains just enough to bring up the serial UART. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/dts/Makefile1
-rw-r--r--arch/x86/dts/efi.dts22
2 files changed, 23 insertions, 0 deletions
diff --git a/arch/x86/dts/Makefile b/arch/x86/dts/Makefile
index 44e2829f25..71595c79fb 100644
--- a/arch/x86/dts/Makefile
+++ b/arch/x86/dts/Makefile
@@ -2,6 +2,7 @@ dtb-y += bayleybay.dtb \
chromebook_link.dtb \
chromebox_panther.dtb \
crownbay.dtb \
+ efi.dtb \
galileo.dtb \
minnowmax.dtb \
qemu-x86_i440fx.dtb \
diff --git a/arch/x86/dts/efi.dts b/arch/x86/dts/efi.dts
new file mode 100644
index 0000000000..1f50428aa2
--- /dev/null
+++ b/arch/x86/dts/efi.dts
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2015 Google, Inc
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+/dts-v1/;
+
+/include/ "skeleton.dtsi"
+
+/ {
+ model = "EFI";
+ compatible = "efi,app";
+
+ chosen {
+ stdout-path = &serial;
+ };
+
+ serial: serial {
+ compatible = "efi,uart";
+ };
+};
OpenPOWER on IntegriCloud