Khadas vim series: Use devicetree for SMBIOS settings
Add settings and enable the default sysinfo driver so that these can come
from the device tree.
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Artem Lapkin <art@khadas.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
#include "meson-g12-common-u-boot.dtsi"
#include "meson-khadas-vim3-u-boot.dtsi"
+
+/ {
+ smbios {
+ compatible = "u-boot,sysinfo-smbios";
+
+ smbios {
+ system {
+ manufacturer = "khadas";
+ product = "VIM3";
+ };
+
+ baseboard {
+ manufacturer = "khadas";
+ product = "VIM3";
+ };
+
+ chassis {
+ manufacturer = "khadas";
+ product = "VIM3";
+ };
+ };
+ };
+};
*/
#include "meson-gxl-u-boot.dtsi"
+
+/ {
+ smbios {
+ compatible = "u-boot,sysinfo-smbios";
+
+ smbios {
+ system {
+ manufacturer = "khadas";
+ product = "VIM";
+ };
+
+ baseboard {
+ manufacturer = "khadas";
+ product = "VIM";
+ };
+
+ chassis {
+ manufacturer = "khadas";
+ product = "VIM";
+ };
+ };
+ };
+};
aliases {
spi0 = &spifc;
};
+
+ smbios {
+ compatible = "u-boot,sysinfo-smbios";
+
+ smbios {
+ system {
+ manufacturer = "khadas";
+ product = "VIM2";
+ };
+
+ baseboard {
+ manufacturer = "khadas";
+ product = "VIM2";
+ };
+
+ chassis {
+ manufacturer = "khadas";
+ product = "VIM2";
+ };
+ };
+ };
};
&sd_emmc_c {
#include "meson-sm1-u-boot.dtsi"
#include "meson-khadas-vim3-u-boot.dtsi"
+
+/ {
+ smbios {
+ compatible = "u-boot,sysinfo-smbios";
+
+ smbios {
+ system {
+ manufacturer = "khadas";
+ product = "VIM3L";
+ };
+
+ baseboard {
+ manufacturer = "khadas";
+ product = "VIM3L";
+ };
+
+ chassis {
+ manufacturer = "khadas";
+ product = "VIM3L";
+ };
+ };
+ };
+};