2 * Copyright (C) 2017 Socionext Inc.
3 * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
5 * SPDX-License-Identifier: GPL-2.0+
8 #ifndef __UNIPHIER_SOC_INFO_H__
9 #define __UNIPHIER_SOC_INFO_H__
11 #define UNIPHIER_SLD3_ID 0x25
12 #define UNIPHIER_LD4_ID 0x26
13 #define UNIPHIER_PRO4_ID 0x28
14 #define UNIPHIER_SLD8_ID 0x29
15 #define UNIPHIER_PRO5_ID 0x2a
16 #define UNIPHIER_PXS2_ID 0x2e
17 #define UNIPHIER_LD6B_ID 0x2f
18 #define UNIPHIER_LD11_ID 0x31
19 #define UNIPHIER_LD20_ID 0x32
21 unsigned int uniphier_get_soc_id(void);
22 unsigned int uniphier_get_soc_model(void);
23 unsigned int uniphier_get_soc_revision(void);
25 #endif /* __UNIPHIER_SOC_INFO_H__ */