public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Artem Lapkin <email2tema@gmail.com>
To: kever.yang@rock-chips.com
Cc: sjg@chromium.org, u-boot@lists.denx.de,
	christianshewitt@gmail.com, art@khadas.com, nick@khadas.com,
	gouwa@khadas.com
Subject: [PATCH] dts: khadas Edge: Use devicetree for SMBIOS settings
Date: Thu, 15 Jul 2021 13:01:18 +0800	[thread overview]
Message-ID: <20210715050119.2940974-1-art@khadas.com> (raw)

Khadas Edge series: Use devicetree for SMBIOS settings
Add settings and enable the default sysinfo driver so that these can come
from the device tree.

Signed-off-by: Artem Lapkin <art@khadas.com>
---
 arch/arm/dts/rk3399-khadas-edge-u-boot.dtsi | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/arch/arm/dts/rk3399-khadas-edge-u-boot.dtsi b/arch/arm/dts/rk3399-khadas-edge-u-boot.dtsi
index a7039d74a0..0e1c38c6e6 100644
--- a/arch/arm/dts/rk3399-khadas-edge-u-boot.dtsi
+++ b/arch/arm/dts/rk3399-khadas-edge-u-boot.dtsi
@@ -10,6 +10,27 @@
 	chosen {
 		u-boot,spl-boot-order = "same-as-spl", &sdhci, &sdmmc;
 	};
+
+	smbios {
+		compatible = "u-boot,sysinfo-smbios";
+
+		smbios {
+			system {
+				manufacturer = "khadas";
+				product = "Edge";
+			};
+
+			baseboard {
+				manufacturer = "khadas";
+				product = "Edge";
+			};
+
+			chassis {
+				manufacturer = "khadas";
+				product = "Edge";
+			};
+		};
+	};
 };
 
 &vdd_log {
-- 
2.25.1


             reply	other threads:[~2021-07-15  5:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-15  5:01 Artem Lapkin [this message]
2021-07-15  5:01 ` [PATCH] configs: khadas-edge series: Enable SMBIOS Artem Lapkin
2021-07-20 18:33   ` Simon Glass
2021-07-20 18:33 ` [PATCH] dts: khadas Edge: Use devicetree for SMBIOS settings Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210715050119.2940974-1-art@khadas.com \
    --to=email2tema@gmail.com \
    --cc=art@khadas.com \
    --cc=christianshewitt@gmail.com \
    --cc=gouwa@khadas.com \
    --cc=kever.yang@rock-chips.com \
    --cc=nick@khadas.com \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox