diff mbox series

dts: khadas Edge: Use devicetree for SMBIOS settings

Message ID 20210715050119.2940974-1-art@khadas.com
State Deferred
Delegated to: Tom Rini
Headers show
Series dts: khadas Edge: Use devicetree for SMBIOS settings | expand

Commit Message

Art Nikpal July 15, 2021, 5:01 a.m. UTC
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(+)

Comments

Simon Glass July 20, 2021, 6:33 p.m. UTC | #1
On Wed, 14 Jul 2021 at 23:01, Artem Lapkin <email2tema@gmail.com> wrote:
>
> 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(+)
>

Reviewed-by: Simon Glass <sjg@chromium.org>
diff mbox series

Patch

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 {