qemu/include/hw/arm/ast2400.h
<<
>>
Prefs
   1/*
   2 * ASPEED AST2400 SoC
   3 *
   4 * Andrew Jeffery <andrew@aj.id.au>
   5 *
   6 * Copyright 2016 IBM Corp.
   7 *
   8 * This code is licensed under the GPL version 2 or later.  See
   9 * the COPYING file in the top-level directory.
  10 */
  11
  12#ifndef AST2400_H
  13#define AST2400_H
  14
  15#include "hw/arm/arm.h"
  16#include "hw/intc/aspeed_vic.h"
  17#include "hw/timer/aspeed_timer.h"
  18
  19typedef struct AST2400State {
  20    /*< private >*/
  21    DeviceState parent;
  22
  23    /*< public >*/
  24    ARMCPU *cpu;
  25    MemoryRegion iomem;
  26    AspeedVICState vic;
  27    AspeedTimerCtrlState timerctrl;
  28} AST2400State;
  29
  30#define TYPE_AST2400 "ast2400"
  31#define AST2400(obj) OBJECT_CHECK(AST2400State, (obj), TYPE_AST2400)
  32
  33#define AST2400_SDRAM_BASE       0x40000000
  34
  35#endif /* AST2400_H */
  36