public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH] dts: khadas Edge: Use devicetree for SMBIOS settings
@ 2021-07-15  5:01 Artem Lapkin
  2021-07-15  5:01 ` [PATCH] configs: khadas-edge series: Enable SMBIOS Artem Lapkin
  2021-07-20 18:33 ` [PATCH] dts: khadas Edge: Use devicetree for SMBIOS settings Simon Glass
  0 siblings, 2 replies; 4+ messages in thread
From: Artem Lapkin @ 2021-07-15  5:01 UTC (permalink / raw)
  To: kever.yang; +Cc: sjg, u-boot, christianshewitt, art, nick, gouwa

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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-20 18:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-15  5:01 [PATCH] dts: khadas Edge: Use devicetree for SMBIOS settings Artem Lapkin
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox