2015-10-27 12:08:05 +00:00
|
|
|
#ifndef _EXYNOS5_DT_H_
|
|
|
|
#define _EXYNOS5_DT_H_
|
|
|
|
|
|
|
|
enum {
|
|
|
|
EXYNOS5_BOARD_GENERIC,
|
|
|
|
|
|
|
|
EXYNOS5_BOARD_ODROID_XU3,
|
|
|
|
EXYNOS5_BOARD_ODROID_XU3_REV01,
|
|
|
|
EXYNOS5_BOARD_ODROID_XU3_REV02,
|
|
|
|
EXYNOS5_BOARD_ODROID_XU4_REV01,
|
2017-11-03 08:30:30 +00:00
|
|
|
EXYNOS5_BOARD_ODROID_HC1_REV01,
|
2018-10-14 15:14:17 +00:00
|
|
|
EXYNOS5_BOARD_ODROID_HC2_REV01,
|
2015-10-27 12:08:05 +00:00
|
|
|
EXYNOS5_BOARD_ODROID_UNKNOWN,
|
|
|
|
|
|
|
|
EXYNOS5_BOARD_COUNT,
|
|
|
|
};
|
|
|
|
|
|
|
|
struct odroid_rev_info {
|
|
|
|
int board_type;
|
|
|
|
int board_rev;
|
|
|
|
int adc_val;
|
|
|
|
const char *name;
|
|
|
|
};
|
|
|
|
|
|
|
|
bool board_is_generic(void);
|
|
|
|
bool board_is_odroidxu3(void);
|
|
|
|
bool board_is_odroidxu4(void);
|
2017-11-03 08:30:30 +00:00
|
|
|
bool board_is_odroidhc1(void);
|
2018-10-14 15:14:17 +00:00
|
|
|
bool board_is_odroidhc2(void);
|
2015-10-27 12:08:05 +00:00
|
|
|
|
|
|
|
#endif
|