diff mbox series

[U-Boot,v9,7/9] x86: slimbootloader: Add a slimbootloader device tree

Message ID A1484485FD99714DB2AB2C5EF81E7AC2AA766B5E@ORSMSX116.amr.corp.intel.com
State Accepted
Commit 19cad267d92880dac3317ec43609910083152f5d
Delegated to: Bin Meng
Headers show
Series x86: Add basic Slim Bootloader payload support | expand

Commit Message

Park, Aiden Aug. 3, 2019, 8:31 a.m. UTC
Add a new device tree which has very minimum nodes
- x86 reset
- x86 tsc_timer
- x86 pci
- Slim Bootloader serial

Signed-off-by: Aiden Park <aiden.park@intel.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
---
Changes in v3:
  * Move slimbootloader.dtb before baytrail_som-db5800-som-6867.dtb

 arch/x86/dts/Makefile           |  1 +
 arch/x86/dts/slimbootloader.dts | 27 +++++++++++++++++++++++++++
 2 files changed, 28 insertions(+)
 create mode 100644 arch/x86/dts/slimbootloader.dts

Comments

Bin Meng Aug. 8, 2019, 2:35 p.m. UTC | #1
On Sat, Aug 3, 2019 at 4:31 PM Park, Aiden <aiden.park@intel.com> wrote:
>
> Add a new device tree which has very minimum nodes
> - x86 reset
> - x86 tsc_timer
> - x86 pci
> - Slim Bootloader serial
>
> Signed-off-by: Aiden Park <aiden.park@intel.com>
> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
> ---
> Changes in v3:
>   * Move slimbootloader.dtb before baytrail_som-db5800-som-6867.dtb
>
>  arch/x86/dts/Makefile           |  1 +
>  arch/x86/dts/slimbootloader.dts | 27 +++++++++++++++++++++++++++
>  2 files changed, 28 insertions(+)
>  create mode 100644 arch/x86/dts/slimbootloader.dts
>

Tested-by: Bin Meng <bmeng.cn@gmail.com>
Bin Meng Aug. 8, 2019, 2:54 p.m. UTC | #2
On Thu, Aug 8, 2019 at 10:35 PM Bin Meng <bmeng.cn@gmail.com> wrote:
>
> On Sat, Aug 3, 2019 at 4:31 PM Park, Aiden <aiden.park@intel.com> wrote:
> >
> > Add a new device tree which has very minimum nodes
> > - x86 reset
> > - x86 tsc_timer
> > - x86 pci
> > - Slim Bootloader serial
> >
> > Signed-off-by: Aiden Park <aiden.park@intel.com>
> > Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
> > Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
> > ---
> > Changes in v3:
> >   * Move slimbootloader.dtb before baytrail_som-db5800-som-6867.dtb
> >
> >  arch/x86/dts/Makefile           |  1 +
> >  arch/x86/dts/slimbootloader.dts | 27 +++++++++++++++++++++++++++
> >  2 files changed, 28 insertions(+)
> >  create mode 100644 arch/x86/dts/slimbootloader.dts
> >
>
> Tested-by: Bin Meng <bmeng.cn@gmail.com>

applied to u-boot-x86, thanks!
diff mbox series

Patch

diff --git a/arch/x86/dts/Makefile b/arch/x86/dts/Makefile
index fa717bc096..d4bdf62be6 100644
--- a/arch/x86/dts/Makefile
+++ b/arch/x86/dts/Makefile
@@ -18,6 +18,7 @@  dtb-y += bayleybay.dtb \
 	qemu-x86_i440fx.dtb \
 	qemu-x86_q35.dtb \
 	theadorable-x86-dfi-bt700.dtb \
+	slimbootloader.dtb \
 	baytrail_som-db5800-som-6867.dtb
 
 targets += $(dtb-y)
diff --git a/arch/x86/dts/slimbootloader.dts b/arch/x86/dts/slimbootloader.dts
new file mode 100644
index 0000000000..d04095c4f8
--- /dev/null
+++ b/arch/x86/dts/slimbootloader.dts
@@ -0,0 +1,27 @@ 
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2019 Intel Corporation <www.intel.com>
+ */
+
+/dts-v1/;
+
+/include/ "skeleton.dtsi"
+/include/ "reset.dtsi"
+/include/ "tsc_timer.dtsi"
+
+/ {
+	model = "slimbootloader x86 payload";
+	compatible = "slimbootloader,x86-payload";
+
+	chosen {
+		stdout-path = &serial;
+	};
+
+	serial: serial {
+		compatible = "intel,slimbootloader-uart";
+	};
+
+	pci {
+		compatible = "pci-x86";
+	};
+};