-
Notifications
You must be signed in to change notification settings - Fork 11
/
config_cx5130.h
44 lines (36 loc) · 1.34 KB
/
config_cx5130.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// SPDX-License-Identifier: MIT
/**
Beckhoff BIOS API driver to access hwmon sensors for Beckhoff IPCs
Copyright (C) 2015 - 2019 Beckhoff Automation GmbH &Co. KG
Author: Patrick Bruenn <[email protected]>
*/
#ifndef TEST_DEVICE
#define TEST_DEVICE 0x5130
/** general configuration */
#define CONFIG_GENERAL_BOARDINFO {"CX51x0\0", 1, 0, 81}
#define CONFIG_GENERAL_BOARDNAME "CBxx63\0\0\0\0\0\0\0\0\0"
#define CONFIG_GENERAL_VERSION {2, 16, 1}
#define CONFIG_USE_GPIO_EX 1
/** PWRCTRL configuration */
#define CONFIG_PWRCTRL_LAST_SHUTDOWN_ENABLED 0
#define CONFIG_PWRCTRL_BL_REVISION {1, 0, 26}
#define CONFIG_PWRCTRL_FW_REVISION {1, 0, 97}
#define CONFIG_PWRCTRL_DEVICE_ID 0x6
#define CONFIG_PWRCTRL_SERIAL "12003415020116"
#define CONFIG_PWRCTRL_PRODUCTION_DATE {7, 15}
#define CONFIG_PWRCTRL_TEST_COUNT 1
#define CONFIG_PWRCTRL_TEST_NUMBER "151020"
/** S-UPS configuration */
#define CONFIG_SUPS_STATUS_OFF 0xAA
#define CONFIG_SUPS_GPIO_PIN_EX {0, 0x4, 0x5, 0x588, 0x00400000}
/** CX Power Supply configuration */
#define CONFIG_CXPWRSUPP_DISABLED 1
/** LED configuration */
#define CONFIG_LED_TC_ENABLED 0
#define CONFIG_LED_USER_ENABLED 0
/** Watchdog configuration */
#define CONFIG_WATCHDOG_DISABLED 0
#else
#define TEST_DEVICE /* redefine to get a nice warning from gcc */
#error "TEST_DEVICE was already defined"
#endif /* #ifndef TEST_DEVICE */