[PATCH] dts: khadas Edge: Use devicetree for SMBIOS settings

Artem Lapkin email2tema at gmail.com
Thu Jul 15 07:01:18 CEST 2021


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 at 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



More information about the U-Boot mailing list