aboutsummaryrefslogtreecommitdiff
path: root/include/samsung/exynos5-dt-types.h
blob: 479e2e793dcef185de6af79b30b8d4a7d13702b3 (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
#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_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);

#endif