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