summaryrefslogtreecommitdiff
path: root/doc/device-tree-bindings/sysinfo/smbios.txt
blob: b52232280257c9cee4e14749534e4942547140fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
SMBIOS sysinfo information
==========================

This binding allows the values for the SMBIOS tables to be specified in the
devicetree, as below.

Required properties:

  - compatible: "u-boot,smbios" or any other string depending on your board

This driver allows providing board-specific features such as power control
GPIOs. In addition, the SMBIOS values can be specified in the device tree,
as below:

An optional 'smbios' subnode can be used to provide these properties. Within
that, the properties are broken down by table type, as in the System Management
BIOS (Basic Input/Output System) Specification.

Available subnodes for each table type are:

  - 1 : system
  - 2 : baseboard
  - 3 : chassis

Within each subnode the following tables are recognised:

"system" subnode optional properties:

  - manufacturer: Product manufacturer for system
  - product:      Product name
  - version:      Product version string
  - serial:       Serial number for system (note that this can be overridden by
                      the serial# environment variable)
  - sku:          Product SKU (Stock-Keeping Unit)
  - family:       Product family

"baseboard" subnode optional properties:

  - manufacturer: Product manufacturer for baseboard
  - product:      Product name
  - asset-tag:    Asset tag for the motherboard, sometimes used in organisations
                      to track devices

"chassis" subnode optional properties:

  - manufacturer: Product manufacturer for chassis


Example:

sysinfo {
	compatible = "sandbox,sysinfo-sandbox";

	smbios {
		/* Type 1 table */
		system {
			manufacturer = "Google";
			product = "Coral";
			version = "rev2";
			serial = "123456789";
			sku = "sku3";
			family = "Google_Coral";
		};

		/* Type 2 table */
		baseboard {
			manufacturer = "Google";
			product = "Coral";
			asset-tag = "ABC123";
		};

		/* Type 3 table */
		chassis {
			manufacturer = "Google";
		};
	};
};