1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright (C) 2012 ARM Limited
7 #ifndef _LINUX_VEXPRESS_H
8 #define _LINUX_VEXPRESS_H
10 #include <linux/device.h>
11 #include <linux/regmap.h>
13 #define VEXPRESS_SITE_MB 0
14 #define VEXPRESS_SITE_DB1 1
15 #define VEXPRESS_SITE_DB2 2
16 #define VEXPRESS_SITE_MASTER 0xf
18 /* Config infrastructure */
20 void vexpress_config_set_master(u32 site);
22 /* Config regmap API */
24 struct regmap *devm_regmap_init_vexpress_config(struct device *dev);