]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: rockpro64: Add RockPro64 smbios
authorShantur Rathore <i@shantur.com>
Mon, 13 Nov 2023 11:23:09 +0000 (11:23 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 7 Feb 2024 02:49:13 +0000 (10:49 +0800)
Add smbios information for Pine64 RockPro64 board and enable in
config

Signed-off-by: Shantur Rathore <i@shantur.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/dts/rk3399-rockpro64-u-boot.dtsi
configs/rockpro64-rk3399_defconfig

index 732727d9b036198f97dc50d32bc44a39db156cd6..089732524a76364c61e615814d2e39426468aee5 100644 (file)
@@ -9,6 +9,28 @@
        chosen {
                u-boot,spl-boot-order = "same-as-spl", &spi_flash, &sdmmc, &sdhci;
        };
+
+        smbios {
+                compatible = "u-boot,sysinfo-smbios";
+                smbios {
+                        system {
+                                manufacturer = "Pine64";
+                                product = "RockPro64";
+                        };
+
+                        baseboard {
+                                manufacturer = "Pine64";
+                                product = "RockPro64";
+                        };
+
+                        chassis {
+                                manufacturer = "Pine64";
+                                product = "RockPro64";
+                        };
+                };
+        };
+
+
 };
 
 &sdhci {
index fdc4b3d0ccc9d0030633adb8b33557fba2348434..711541f8462782c161e4e397aa8798c6007c75d0 100644 (file)
@@ -89,6 +89,8 @@ CONFIG_BAUDRATE=1500000
 CONFIG_DEBUG_UART_SHIFT=2
 CONFIG_SYS_NS16550_MEM32=y
 CONFIG_ROCKCHIP_SPI=y
+CONFIG_SYSINFO=y
+CONFIG_SYSINFO_SMBIOS=y
 CONFIG_SYSRESET=y
 CONFIG_USB=y
 CONFIG_USB_XHCI_HCD=y