Skip to content

aspeed: Add support for the AST2600 SoC

Cédric Le Goater qemu-arm qemu-devel 2 versions – Applied

Status from this message: Applied to target-arm.next, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest23 patches 8 repliesApplied
  2. v121 patches 20 repliesSuperseded

Changes in v2 from the cover letter

- better SMC model, proof tested against Linux and Aspeed drivers used on HW bringup
- new w25q512jv flash model for the AST2600 EVB
- removed the use of "cntfrq" property not yet merged
- tuned the HW strapping values of the AST2600 EVB

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/23aspeed/wdt: Check correct register for clock sourcehw/watchdog/wdt_aspeed.c+1 -10 replies
2/23hw/sd/aspeed_sdhci: New devicehw/arm/aspeed.c hw/arm/aspeed_soc.c hw/sd/Makefile.objs +3 more+273 -11 reply
3/23hw: aspeed_scu: Add AST2600 supporthw/misc/aspeed_scu.c include/hw/misc/aspeed_scu.h+191 -80 replies
4/23aspeed/timer: Introduce an object class per SoChw/arm/aspeed_soc.c hw/timer/aspeed_timer.c include/hw/timer/aspeed_timer.h+113 -121 reply
5/23aspeed/timer: Add support for control register 3hw/timer/aspeed_timer.c include/hw/timer/aspeed_timer.h+20 -01 reply
6/23aspeed/timer: Add AST2600 supporthw/timer/aspeed_timer.c include/hw/timer/aspeed_timer.h+52 -00 replies
7/23aspeed/timer: Add support for IRQ status register on the AST2600hw/timer/aspeed_timer.c include/hw/timer/aspeed_timer.h+29 -80 replies
8/23aspeed/sdmc: Introduce an object class per SoChw/arm/aspeed_soc.c hw/misc/aspeed_sdmc.c include/hw/misc/aspeed_sdmc.h+122 -700 replies
9/23aspeed/sdmc: Add AST2600 supporthw/misc/aspeed_scu.c hw/misc/aspeed_sdmc.c include/hw/misc/aspeed_sdmc.h+85 -00 replies
10/23watchdog/aspeed: Introduce an object class per SoChw/arm/aspeed_soc.c hw/watchdog/wdt_aspeed.c include/hw/watchdog/wdt_aspeed.h+86 -630 replies
11/23hw: wdt_aspeed: Add AST2600 supporthw/watchdog/wdt_aspeed.c include/hw/arm/aspeed_soc.h include/hw/watchdog/wdt_aspeed.h+31 -10 replies
12/23aspeed/smc: Introduce segment operationshw/ssi/aspeed_smc.c include/hw/ssi/aspeed_smc.h+34 -151 reply
13/23aspeed/smc: Add AST2600 supporthw/ssi/aspeed_smc.c+128 -41 reply
14/23hw/gpio: Add in AST2600 specific implementationhw/gpio/aspeed_gpio.c+137 -51 reply
15/23aspeed/i2c: Introduce an object class per SoChw/arm/aspeed_soc.c hw/i2c/aspeed_i2c.c include/hw/i2c/aspeed_i2c.h+69 -90 replies
16/23aspeed/i2c: Add AST2600 supporthw/i2c/aspeed_i2c.c include/hw/i2c/aspeed_i2c.h+48 -30 replies
17/23aspeed: Introduce an object class per SoChw/arm/aspeed.c hw/arm/aspeed_soc.c include/hw/arm/aspeed_soc.h+84 -770 replies
18/23aspeed/soc: Add AST2600 supporthw/arm/Makefile.objs hw/arm/aspeed_ast2600.c include/hw/arm/aspeed_soc.h+497 -10 replies
19/23m25p80: Add support for w25q512jvhw/block/m25p80.c+1 -01 reply
20/23aspeed: Add an AST2600 eval boardhw/arm/aspeed.c include/hw/arm/aspeed.h+24 -00 replies
21/23aspeed: Parameterise number of MACshw/arm/aspeed_ast2600.c hw/arm/aspeed_soc.c include/hw/arm/aspeed_soc.h+16 -50 replies
22/23aspeed: add support for the Aspeed MII controller of the AST2600hw/arm/aspeed_ast2600.c hw/net/ftgmac100.c include/hw/arm/aspeed_soc.h +1 more+204 -00 replies
23/23aspeed/soc: Add ASPEED Video stubhw/arm/aspeed_ast2600.c hw/arm/aspeed_soc.c include/hw/arm/aspeed_soc.h+12 -00 replies

Reviews trailers per patch

18 of 23 patches have a Reviewed-by or Acked-by.

PatchJoel StanleyCédric Le Goater
1/23R-b
2/23R-b R-b
3/23
4/23R-b
5/23R-b
6/23R-b
7/23R-b
8/23R-b
9/23
10/23R-b
11/23
12/23A-b
13/23A-b
14/23A-b R-b
15/23R-b
16/23R-b
17/23R-b
18/23R-b
19/23R-b
20/23R-b
21/23
22/23R-b
23/23

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 00/23] aspeed: Add support for the AST2600 SoC

Hello,

The series starts with a watchdog fix and a new model for the SDHCI controller. Follows the code for the AST2600 SoC.

Most of the Aspeed models are reworked with an object class to introduce the AST2600 variant. A model for the AST2600 SoC and a simple AST2600 EVB machine is proposed at the end of the series. It can boot the OpenBMC firmware image which is currently used for HW bringup.

Thanks,

C.

Changes since v1:

- better SMC model, proof tested against Linux and Aspeed drivers used on HW bringup
- new w25q512jv flash model for the AST2600 EVB
- removed the use of "cntfrq" property not yet merged
- tuned the HW strapping values of the AST2600 EVB

Amithash Prasad (1):
aspeed/wdt: Check correct register for clock source

Cédric Le Goater (15):
aspeed/timer: Introduce an object class per SoC aspeed/timer: Add support for control register 3 aspeed/timer: Add AST2600 support
aspeed/timer: Add support for IRQ status register on the AST2600 aspeed/sdmc: Introduce an object class per SoC watchdog/aspeed: Introduce an object class per SoC aspeed/smc: Introduce segment operations
aspeed/smc: Add AST2600 support
aspeed/i2c: Introduce an object class per SoC aspeed/i2c: Add AST2600 support
aspeed: Introduce an object class per SoC
aspeed/soc: Add AST2600 support
m25p80: Add support for w25q512jv
aspeed: Add an AST2600 eval board
aspeed: add support for the Aspeed MII controller of the AST2600

Eddie James (1):
hw/sd/aspeed_sdhci: New device

Joel Stanley (5):
hw: aspeed_scu: Add AST2600 support
aspeed/sdmc: Add AST2600 support
hw: wdt_aspeed: Add AST2600 support
aspeed: Parameterise number of MACs
aspeed/soc: Add ASPEED Video stub

Rashmica Gupta (1):
hw/gpio: Add in AST2600 specific implementation

 include/hw/arm/aspeed.h          |   1 +
 include/hw/arm/aspeed_soc.h      |  29 +-
 include/hw/i2c/aspeed_i2c.h      |  20 +-
 include/hw/misc/aspeed_scu.h     |   7 +-
 include/hw/misc/aspeed_sdmc.h    |  20 +-
 include/hw/net/ftgmac100.h       |  17 +
 include/hw/sd/aspeed_sdhci.h     |  34 ++
 include/hw/ssi/aspeed_smc.h      |   4 +
 include/hw/timer/aspeed_timer.h  |  18 ++
 include/hw/watchdog/wdt_aspeed.h |  19 +-
 hw/arm/aspeed.c                  |  42 ++-
 hw/arm/aspeed_ast2600.c          | 523 +++++++++++++++++++++++++++++++
 hw/arm/aspeed_soc.c              | 199 +++++++-----
 hw/block/m25p80.c                |   1 +
 hw/gpio/aspeed_gpio.c            | 142 ++++++++-
 hw/i2c/aspeed_i2c.c              | 106 ++++++-
 hw/misc/aspeed_scu.c             | 194 +++++++++++-
 hw/misc/aspeed_sdmc.c            | 250 +++++++++++----
 hw/net/ftgmac100.c               | 162 ++++++++++
 hw/sd/aspeed_sdhci.c             | 198 ++++++++++++
 hw/ssi/aspeed_smc.c              | 177 +++++++++--
 hw/timer/aspeed_timer.c          | 213 +++++++++++--
 hw/watchdog/wdt_aspeed.c         | 153 +++++----
 hw/arm/Makefile.objs             |   2 +-
 hw/sd/Makefile.objs              |   1 +
 25 files changed, 2253 insertions(+), 279 deletions(-)
 create mode 100644 include/hw/sd/aspeed_sdhci.h
 create mode 100644 hw/arm/aspeed_ast2600.c
 create mode 100644 hw/sd/aspeed_sdhci.c
Signature · 1 line
2.21.0