5 * Travis B. Sawyer, Sandburst Corporation, tsawyer@sandburst.com
7 * SPDX-License-Identifier: GPL-2.0+
10 typedef struct metrobox_board_id_s {
12 } METROBOX_BOARD_ID_ST, *METROBOX_BOARD_ID_PST;
15 /* Metrobox Opto-FPGA registers and definitions */
16 #include "hal_xc_auto.h"
17 typedef struct opto_fpga_regs_s {
18 volatile unsigned long revision_ul; /* Read Only */
19 volatile unsigned long reset_ul; /* Read/Write */
20 volatile unsigned long status_ul; /* Read Only */
21 volatile unsigned long interrupt_ul; /* Read Only */
22 volatile unsigned long mask_ul; /* Read/Write */
23 volatile unsigned long scratch_ul; /* Read/Write */
24 volatile unsigned long scrmask_ul; /* Read/Write */
25 volatile unsigned long control_ul; /* Read/Write */
26 volatile unsigned long boardinfo_ul; /* Read Only */
27 } __attribute__ ((packed)) OPTO_FPGA_REGS_ST , *OPTO_FPGA_REGS_PST;
29 #endif /* __METROBOX_H__ */