summaryrefslogtreecommitdiff
path: root/arch/arm/dts/smbios_generic.dtsi
blob: fc168317c9ec1d198ca920957696824281ec3c46 (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
78
79
80
81
82
// SPDX-License-Identifier: GPL-2.0+
/*
 * Default SMBIOS information for Arm64 platforms
 *
 * Copyright (c) 2024 Linaro Limited
 * Author: Raymond Mao <raymond.mao@linaro.org>
 */
#include <config.h>
#include <smbios_def.h>

/ {
	smbios {
		compatible = "u-boot,sysinfo-smbios";

		smbios {
			system {
				manufacturer = CONFIG_SYS_VENDOR;
				product = CONFIG_SYS_BOARD;
				version = "";
				serial = "";
				wakeup-type = <SMBIOS_WAKEUP_TYPE_UNKNOWN>;
				sku = "";
				family = "armv8";
			};

			baseboard {
				manufacturer = CONFIG_SYS_VENDOR;
				product = CONFIG_SYS_BOARD;
				version = "";
				serial = "";
				asset-tag = "";
				chassis-location = "";
				feature-flags = <SMBIOS_BOARD_FEAT_HOST_BOARD>;
				board-type = <SMBIOS_BOARD_TYPE_MOTHERBOARD>;
			};

			chassis {
				manufacturer = CONFIG_SYS_VENDOR;
				version = "";
				serial = "";
				asset-tag = "";
				chassis-type = <SMBIOS_ENCLOSURE_DESKTOP>;
				bootup-state = <SMBIOS_STATE_SAFE>;
				power-supply-state = <SMBIOS_STATE_SAFE>;
				thermal-state = <SMBIOS_STATE_SAFE>;
				security-status = <SMBIOS_SECURITY_NONE>;
				oem-defined = <SMBIOS_ENCLOSURE_OEM_UND>;
				height = <SMBIOS_ENCLOSURE_HEIGHT_UND>;
				number-of-power-cords = <SMBIOS_POWCORD_NUM_UND>;
			};

			processor {
				version = "";
				processor-type = <SMBIOS_PROCESSOR_TYPE_CENTRAL>;
				processor-status = <SMBIOS_PROCESSOR_STATUS_ENABLED>;
				upgrade = <SMBIOS_PROCESSOR_UPGRADE_NONE>;
				family = <SMBIOS_PROCESSOR_FAMILY_EXT>;
				family2 = <SMBIOS_PROCESSOR_FAMILY_ARMV8>;
				socket-design = "";
				serial = "";
				asset-tag = "";
				part-number = "";
			};

			cache {
				l1-cache {
					socket-design = "";
					config = <(SMBIOS_CACHE_LEVEL_1 |
						   SMBIOS_CACHE_ENABLED |
						   SMBIOS_CACHE_OP_WB)>;
				};

				l2-cache {
					socket-design = "";
					config = <(SMBIOS_CACHE_LEVEL_2 |
						   SMBIOS_CACHE_ENABLED |
						   SMBIOS_CACHE_OP_WB)>;
				};
			};
		};
	};
};