2 * BCM2835 SOC MPHI state definitions
4 * Copyright (c) 2020 Paul Zimmerman <pauldzim@gmail.com>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
17 #ifndef HW_MISC_BCM2835_MPHI_H
18 #define HW_MISC_BCM2835_MPHI_H
21 #include "hw/sysbus.h"
22 #include "qom/object.h"
24 #define MPHI_MMIO_SIZE 0x1000
26 typedef struct BCM2835MphiState BCM2835MphiState
;
28 struct BCM2835MphiState
{
29 SysBusDevice parent_obj
;
40 #define TYPE_BCM2835_MPHI "bcm2835-mphi"
42 OBJECT_DECLARE_SIMPLE_TYPE(BCM2835MphiState
, BCM2835_MPHI
)