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 /*
8  * rk3288_som struct represents the eeprom layout for PHYTEC RK3288 based SoMs
9  */
10 struct rk3288_som {
11 	unsigned char api_version;	/* EEPROM layout API version */
12 	unsigned char mod_version;	/* PCM/PFL/PCA */
13 	unsigned char option[12];	/* coding for variants */
14 	unsigned char som_rev;		/* SOM revision */
15 	unsigned char mac[6];
16 	unsigned char ksp;		/* 1: KSP, 2: KSM */
17 	unsigned char kspno;		/* Number for KSP/KSM module */
18 	unsigned char reserved[8];	/* not used */
19 	unsigned char bs;		/* Bits set in previous bytes */
20 } __attribute__ ((__packed__));
21