]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
x86: dts: Add a device tree file for EFI
authorSimon Glass <sjg@chromium.org>
Tue, 4 Aug 2015 18:33:48 +0000 (12:33 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:00:55 +0000 (08:00 +0200)
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>
arch/x86/dts/Makefile
arch/x86/dts/efi.dts [new file with mode: 0644]

index 44e2829f25a0fad3866ee045755962e252d94321..71595c79fb72de37f1d59cbde36872b7e132f7d0 100644 (file)
@@ -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 (file)
index 0000000..1f50428
--- /dev/null
@@ -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";
+       };
+};