]>
git.proxmox.com Git - mirror_qemu.git/blob - include/hw/arm/nrf51_soc.h
2 * Nordic Semiconductor nRF51 SoC
4 * Copyright 2018 Joel Stanley <joel@jms.id.au>
6 * This code is licensed under the GPL version 2 or later. See
7 * the COPYING file in the top-level directory.
13 #include "hw/sysbus.h"
14 #include "hw/arm/armv7m.h"
15 #include "hw/char/nrf51_uart.h"
16 #include "hw/misc/nrf51_rng.h"
17 #include "hw/gpio/nrf51_gpio.h"
18 #include "hw/nvram/nrf51_nvm.h"
19 #include "hw/timer/nrf51_timer.h"
20 #include "qom/object.h"
22 #define TYPE_NRF51_SOC "nrf51-soc"
23 typedef struct NRF51State NRF51State
;
24 #define NRF51_SOC(obj) \
25 OBJECT_CHECK(NRF51State, (obj), TYPE_NRF51_SOC)
27 #define NRF51_NUM_TIMERS 3
31 SysBusDevice parent_obj
;
40 NRF51TimerState timer
[NRF51_NUM_TIMERS
];
51 MemoryRegion
*board_memory
;
53 MemoryRegion container
;