som.h 696 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (C) 2017 PHYTEC Messtechnik GmbH
  4. * Author: Wadim Egorov <w.egorov@phytec.de>
  5. */
  6. /*
  7. * rk3288_som struct represents the eeprom layout for PHYTEC RK3288 based SoMs
  8. */
  9. struct rk3288_som {
  10. unsigned char api_version; /* EEPROM layout API version */
  11. unsigned char mod_version; /* PCM/PFL/PCA */
  12. unsigned char option[12]; /* coding for variants */
  13. unsigned char som_rev; /* SOM revision */
  14. unsigned char mac[6];
  15. unsigned char ksp; /* 1: KSP, 2: KSM */
  16. unsigned char kspno; /* Number for KSP/KSM module */
  17. unsigned char reserved[8]; /* not used */
  18. unsigned char bs; /* Bits set in previous bytes */
  19. } __attribute__ ((__packed__));