aboutsummaryrefslogtreecommitdiff
path: root/include/samsung/exynos5-dt-types.h
blob: 8fe08fe2118321e634da36967dae604b280bd228 (plain)
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
#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,
	EXYNOS5_BOARD_ODROID_HC1_REV01,
	EXYNOS5_BOARD_ODROID_HC2_REV01,
	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);
bool board_is_odroidhc1(void);
bool board_is_odroidhc2(void);

#endif