]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: meson: Use devicetree for SMBIOS settings for Khadas VIM boards
authorArtem Lapkin <email2tema@gmail.com>
Tue, 27 Jul 2021 01:23:18 +0000 (09:23 +0800)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 27 Jul 2021 08:32:59 +0000 (10:32 +0200)
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>
arch/arm/dts/meson-g12b-a311d-khadas-vim3-u-boot.dtsi
arch/arm/dts/meson-gxl-s905x-khadas-vim-u-boot.dtsi
arch/arm/dts/meson-gxm-khadas-vim2-u-boot.dtsi
arch/arm/dts/meson-sm1-khadas-vim3l-u-boot.dtsi

index 489efa150a6e45977b9b506a694e1c5bd1b48908..b0909cf25f70922b4d14ace3da4d1857149e8b0a 100644 (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";
+                       };
+               };
+       };
+};
index 39270ea71c8b1b8b293090a525a6c07b07461e8a..6109088afae6f806a56415fea36807ab9ee8521e 100644 (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";
+                       };
+               };
+       };
+};
index c1763336cf0e6d25e9e99d36c443a8d552e49335..e906bcaa78e29b1fa8ecd510bafb9475dfcb8e13 100644 (file)
        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 {
index a591c0c9f230c94f8874dc041685c466a966c773..4b8ea3d21a0c64de60cc932ddfa1bc6dff00c146 100644 (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";
+                       };
+               };
+       };
+};