2 * Marvell EBU SoC ID and revision definitions.
4 * Copyright (C) 2014 Marvell Semiconductor
6 * This file is licensed under the terms of the GNU General Public
7 * License version 2. This program is licensed "as is" without any
8 * warranty of any kind, whether express or implied.
11 #ifndef __LINUX_MVEBU_SOC_ID_H
12 #define __LINUX_MVEBU_SOC_ID_H
15 #define MV78230_DEV_ID 0x7823
16 #define MV78260_DEV_ID 0x7826
17 #define MV78460_DEV_ID 0x7846
19 /* Armada XP Revision */
20 #define MV78XX0_A0_REV 0x1
21 #define MV78XX0_B0_REV 0x2
23 #ifdef CONFIG_ARCH_MVEBU
24 int mvebu_get_soc_id(u32
*dev
, u32
*rev
);
26 static inline int mvebu_get_soc_id(u32
*dev
, u32
*rev
)
32 #endif /* __LINUX_MVEBU_SOC_ID_H */