mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
hw: allwinner-r40: Complete uart devices
R40 has eight UARTs, support both 16450 and 16550 compatible modes. Signed-off-by: qianfan Zhao <qianfanguijin@163.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
dc2a070d12
commit
d1e409c583
2 changed files with 39 additions and 3 deletions
|
@ -41,6 +41,13 @@ enum {
|
|||
AW_R40_DEV_CCU,
|
||||
AW_R40_DEV_PIT,
|
||||
AW_R40_DEV_UART0,
|
||||
AW_R40_DEV_UART1,
|
||||
AW_R40_DEV_UART2,
|
||||
AW_R40_DEV_UART3,
|
||||
AW_R40_DEV_UART4,
|
||||
AW_R40_DEV_UART5,
|
||||
AW_R40_DEV_UART6,
|
||||
AW_R40_DEV_UART7,
|
||||
AW_R40_DEV_GIC_DIST,
|
||||
AW_R40_DEV_GIC_CPU,
|
||||
AW_R40_DEV_GIC_HYP,
|
||||
|
@ -70,6 +77,7 @@ OBJECT_DECLARE_SIMPLE_TYPE(AwR40State, AW_R40)
|
|||
* which are currently emulated by the R40 SoC code.
|
||||
*/
|
||||
#define AW_R40_NUM_MMCS 4
|
||||
#define AW_R40_NUM_UARTS 8
|
||||
|
||||
struct AwR40State {
|
||||
/*< private >*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue