openMMC
Open Source Modular MMC for AMCs
Loading...
Searching...
No Matches
user_amc_fru.h
Go to the documentation of this file.
1
/*
2
* openMMC -- Open Source modular IPM Controller firmware
3
*
4
* Copyright (C) 2015 Julian Mendez <julian.mendez@cern.ch>
5
* Copyright (C) 2015-2016 Henrique Silva <henrique.silva@lnls.br>
6
* Copyright (C) 2021 Krzysztof Macias <krzysztof.macias@creotech.pl>
7
*
8
* This program is free software: you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation, either version 3 of the License, or
11
* (at your option) any later version.
12
*
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20
*
21
* @license GPL-3.0+ <http://spdx.org/licenses/GPL-3.0+>
22
*/
23
24
#include "
fru_editor.h
"
25
26
/*********************************************
27
* Common defines
28
*********************************************/
29
#define AMC_LANG_CODE 0
30
#define AMC_FRU_FILE_ID "AFCFRU"
//Allows knowing the source of the FRU present in the memory
31
32
/*********************************************
33
* Board information area
34
*********************************************/
35
#define AMC_BOARD_MANUFACTURING_TIME 13076640
/* Amount of minutes since 0:00 1/1/96 */
36
#define AMC_BOARD_MANUFACTURER "Creotech"
37
#define AMC_BOARD_NAME "AMC-FMC-Carrier"
38
#define AMC_BOARD_SN "CNxxxxx"
39
#define AMC_BOARD_PN "AFC"
40
41
/*********************************************
42
* Product information area
43
*********************************************/
44
#define AMC_PRODUCT_MANUFACTURER "Creotech"
45
#define AMC_PRODUCT_NAME "AFC"
46
#define AMC_PRODUCT_PN "AFC:4.0"
47
#define AMC_PRODUCT_VERSION "4.0"
48
#define AMC_PRODUCT_SN "CNxxxxx"
49
#define AMC_PRODUCT_ASSET_TAG "Generic FRU"
50
51
/*********************************************
52
* AMC: Point to point connectivity record
53
*********************************************/
54
#define AMC_POINT_TO_POINT_RECORD_LIST \
55
GENERIC_POINT_TO_POINT_RECORD(0, PORT(4), PORT(5), PORT(6), PORT(7), PCIE, GEN1_NO_SSC, MATCHES_01)
56
57
/*********************************************
58
* AMC: Point to point clock record
59
*********************************************/
60
/* Example:
61
DIRECT_CLOCK_CONNECTION(CLOCK_ID, ACTIVATION, PLL_USE, SOURCE/RECEIVER, CLOCK_FAMILY, ACCURACY, FREQUENCY, MIN FREQUENCY, MAX FREQUENCY) */
62
#define AMC_CLOCK_CONFIGURATION_LIST \
63
DIRECT_CLOCK_CONNECTION(FCLKA, CIPMC, NO_PLL, RECEIVER, PCI_RESERVED, 0, MHz(100), MHz(99), MHz(101)) \
64
DIRECT_CLOCK_CONNECTION(TCLKA, APP, NO_PLL, RECEIVER, UNSPEC_FAMILY, 0, KHz(62500), KHz(62450), KHz(62550))
65
/**********************************************
66
* PICMG: Module current record
67
**********************************************/
68
#define AMC_MODULE_CURRENT_RECORD current_in_ma(4000)
69
70
/*********************************************
71
* RTM Compatibility Record
72
*********************************************/
73
#define AMC_COMPATIBILITY_CODE 0x55667788
fru_editor.h
port
board
afc-v4
user_amc_fru.h
Generated on Wed Jul 24 2024 08:15:56 for openMMC by
1.11.0