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

Artem Lapkin
2021-07-15T05:01:39Z

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