summaryrefslogtreecommitdiffstats
path: root/include/linux/armada-37xx-rwtm-mailbox.h
blob: 57bb54f6767a3979af385e5d0e84fda7e3b937ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * rWTM BIU Mailbox driver for Armada 37xx
 *
 * Author: Marek Behun <marek.behun@nic.cz>
 */

#ifndef _LINUX_ARMADA_37XX_RWTM_MAILBOX_H_
#define _LINUX_ARMADA_37XX_RWTM_MAILBOX_H_

#include <linux/types.h>

struct armada_37xx_rwtm_tx_msg {
	u16 command;
	u32 args[16];
};

struct armada_37xx_rwtm_rx_msg {
	u32 retval;
	u32 status[16];
};

#endif /* _LINUX_ARMADA_37XX_RWTM_MAILBOX_H_ */
OpenPOWER on IntegriCloud