smbios.txt 1.9 KB

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