blob: b52232280257c9cee4e14749534e4942547140fd [file] [log] [blame]
Simon Glass31d187d2020-11-05 06:32:10 -07001SMBIOS sysinfo information
2==========================
3
4This binding allows the values for the SMBIOS tables to be specified in the
5devicetree, as below.
6
7Required properties:
8
9 - compatible: "u-boot,smbios" or any other string depending on your board
10
11This driver allows providing board-specific features such as power control
12GPIOs. In addition, the SMBIOS values can be specified in the device tree,
13as below:
14
15An optional 'smbios' subnode can be used to provide these properties. Within
16that, the properties are broken down by table type, as in the System Management
17BIOS (Basic Input/Output System) Specification.
18
19Available subnodes for each table type are:
20
21 - 1 : system
22 - 2 : baseboard
23 - 3 : chassis
24
25Within each subnode the following tables are recognised:
26
27"system" subnode optional properties:
28
29 - manufacturer: Product manufacturer for system
30 - product: Product name
31 - version: Product version string
32 - serial: Serial number for system (note that this can be overridden by
33 the serial# environment variable)
34 - sku: Product SKU (Stock-Keeping Unit)
35 - family: Product family
36
37"baseboard" subnode optional properties:
38
39 - manufacturer: Product manufacturer for baseboard
40 - product: Product name
41 - asset-tag: Asset tag for the motherboard, sometimes used in organisations
42 to track devices
43
44"chassis" subnode optional properties:
45
46 - manufacturer: Product manufacturer for chassis
47
48
49Example:
50
51sysinfo {
52 compatible = "sandbox,sysinfo-sandbox";
53
54 smbios {
55 /* Type 1 table */
56 system {
57 manufacturer = "Google";
58 product = "Coral";
59 version = "rev2";
60 serial = "123456789";
61 sku = "sku3";
62 family = "Google_Coral";
63 };
64
65 /* Type 2 table */
66 baseboard {
67 manufacturer = "Google";
68 product = "Coral";
69 asset-tag = "ABC123";
70 };
71
72 /* Type 3 table */
73 chassis {
74 manufacturer = "Google";
75 };
76 };
77};