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