Merge tag 'pull-loongarch-20241016' of https://gitlab.com/gaosong/qemu into staging
[qemu/armbru.git] / include / hw / misc / aspeed_sli.h
blob23f346ab934b1d728e9360a8e9fdb5b653811e69
1 /*
2 * ASPEED SLI Controller
4 * Copyright (C) 2024 ASPEED Technology Inc.
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
8 #ifndef ASPEED_SLI_H
9 #define ASPEED_SLI_H
11 #include "hw/sysbus.h"
13 #define TYPE_ASPEED_SLI "aspeed.sli"
14 #define TYPE_ASPEED_2700_SLI TYPE_ASPEED_SLI "-ast2700"
15 #define TYPE_ASPEED_2700_SLIIO TYPE_ASPEED_SLI "io" "-ast2700"
16 OBJECT_DECLARE_SIMPLE_TYPE(AspeedSLIState, ASPEED_SLI)
18 #define ASPEED_SLI_NR_REGS (0x500 >> 2)
20 struct AspeedSLIState {
21 SysBusDevice parent;
22 MemoryRegion iomem;
24 uint32_t regs[ASPEED_SLI_NR_REGS];
27 #endif /* ASPEED_SLI_H */