Odroid HC1 board is based on Odroid XU4 board, but it has no HDMI, no eMMC, no build-in USB3.0 hub, no extension port pins, and no GPIO button. USB3.0 ports are used for build-in JMicron USB to SATA bridge and Gigabit R8152 ethernet chips. HC1 uses only passive cooling. This patch also updates Odroid's ADCmax array and reduces ADC tolerance to 1% to ensure that XU4 and HC1 revisions are properly detected. I've tested this with XU3, XU3-lite, XU4 and HC1 boards. In case of my test boards I got following values from ADC register: 372, 370, 1281 and 1313. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Reviewed-by: Lukasz Majewski <lukma@denx.de> Tested-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
29 lines
521 B
C
29 lines
521 B
C
#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_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);
|
|
|
|
#endif
|