ARM: dts: meson: Use devicetree for SMBIOS settings for Khadas VIM boards

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>
This commit is contained in:
Artem Lapkin 2021-07-27 09:23:18 +08:00 committed by Neil Armstrong
parent a3f1eaa793
commit e10481be1e
4 changed files with 90 additions and 0 deletions

View file

@ -6,3 +6,26 @@
#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";
};
};
};
};

View file

@ -5,3 +5,26 @@
*/
#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";
};
};
};
};

View file

@ -10,6 +10,27 @@
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 {

View file

@ -6,3 +6,26 @@
#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";
};
};
};
};