allwinner-h3.h (82e4838249b23c3fe20cee295f9c1b3e6abd68d1) | allwinner-h3.h (29d08975d1cc2ec668d9eb430c507a4fee515ea5) |
---|---|
1/* 2 * Allwinner H3 System on Chip emulation 3 * 4 * Copyright (C) 2019 Niek Linnenbank <nieklinnenbank@gmail.com> 5 * 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 --- 30 unchanged lines hidden (view full) --- 39#include "hw/arm/boot.h" 40#include "hw/timer/allwinner-a10-pit.h" 41#include "hw/intc/arm_gic.h" 42#include "hw/misc/allwinner-h3-ccu.h" 43#include "hw/misc/allwinner-cpucfg.h" 44#include "hw/misc/allwinner-h3-sysctrl.h" 45#include "hw/misc/allwinner-sid.h" 46#include "hw/sd/allwinner-sdhost.h" | 1/* 2 * Allwinner H3 System on Chip emulation 3 * 4 * Copyright (C) 2019 Niek Linnenbank <nieklinnenbank@gmail.com> 5 * 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 --- 30 unchanged lines hidden (view full) --- 39#include "hw/arm/boot.h" 40#include "hw/timer/allwinner-a10-pit.h" 41#include "hw/intc/arm_gic.h" 42#include "hw/misc/allwinner-h3-ccu.h" 43#include "hw/misc/allwinner-cpucfg.h" 44#include "hw/misc/allwinner-h3-sysctrl.h" 45#include "hw/misc/allwinner-sid.h" 46#include "hw/sd/allwinner-sdhost.h" |
47#include "hw/net/allwinner-sun8i-emac.h" |
|
47#include "target/arm/cpu.h" 48 49/** 50 * Allwinner H3 device list 51 * 52 * This enumeration is can be used refer to a particular device in the 53 * Allwinner H3 SoC. For example, the physical memory base address for 54 * each device can be found in the AwH3State object in the memmap member --- 17 unchanged lines hidden (view full) --- 72 AW_H3_EHCI3, 73 AW_H3_OHCI3, 74 AW_H3_CCU, 75 AW_H3_PIT, 76 AW_H3_UART0, 77 AW_H3_UART1, 78 AW_H3_UART2, 79 AW_H3_UART3, | 48#include "target/arm/cpu.h" 49 50/** 51 * Allwinner H3 device list 52 * 53 * This enumeration is can be used refer to a particular device in the 54 * Allwinner H3 SoC. For example, the physical memory base address for 55 * each device can be found in the AwH3State object in the memmap member --- 17 unchanged lines hidden (view full) --- 73 AW_H3_EHCI3, 74 AW_H3_OHCI3, 75 AW_H3_CCU, 76 AW_H3_PIT, 77 AW_H3_UART0, 78 AW_H3_UART1, 79 AW_H3_UART2, 80 AW_H3_UART3, |
81 AW_H3_EMAC, |
|
80 AW_H3_GIC_DIST, 81 AW_H3_GIC_CPU, 82 AW_H3_GIC_HYP, 83 AW_H3_GIC_VCPU, 84 AW_H3_CPUCFG, 85 AW_H3_SDRAM 86}; 87 --- 27 unchanged lines hidden (view full) --- 115 ARMCPU cpus[AW_H3_NUM_CPUS]; 116 const hwaddr *memmap; 117 AwA10PITState timer; 118 AwH3ClockCtlState ccu; 119 AwCpuCfgState cpucfg; 120 AwH3SysCtrlState sysctrl; 121 AwSidState sid; 122 AwSdHostState mmc0; | 82 AW_H3_GIC_DIST, 83 AW_H3_GIC_CPU, 84 AW_H3_GIC_HYP, 85 AW_H3_GIC_VCPU, 86 AW_H3_CPUCFG, 87 AW_H3_SDRAM 88}; 89 --- 27 unchanged lines hidden (view full) --- 117 ARMCPU cpus[AW_H3_NUM_CPUS]; 118 const hwaddr *memmap; 119 AwA10PITState timer; 120 AwH3ClockCtlState ccu; 121 AwCpuCfgState cpucfg; 122 AwH3SysCtrlState sysctrl; 123 AwSidState sid; 124 AwSdHostState mmc0; |
125 AwSun8iEmacState emac; |
|
123 GICState gic; 124 MemoryRegion sram_a1; 125 MemoryRegion sram_a2; 126 MemoryRegion sram_c; 127} AwH3State; 128 129#endif /* HW_ARM_ALLWINNER_H3_H */ | 126 GICState gic; 127 MemoryRegion sram_a1; 128 MemoryRegion sram_a2; 129 MemoryRegion sram_c; 130} AwH3State; 131 132#endif /* HW_ARM_ALLWINNER_H3_H */ |