Skip to content

arm: atmel: add at91sam9n12ek board support

Josh Wu u-boot 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 0 repliesNew
  2. v34 patches 0 repliesSuperseded
  3. v24 patches 0 repliesSuperseded

Changes in v4 from the cover letter

- drop the patch: at91: clock: remove chip macro for plla div2. Still use macro to add 9n12 in clock.c
The reason is it will impact 9g20ek board. Since in 9g20, this PMC_MCKR bit 12 means Processor Clock Division. it is different from other boards. Thanks Shen Bo for finding this issue.
To keep it consistent, I just drop this patch. Add a 9N12 macro for MCKR.
- rebase on top of latest atmel master.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3spi: atmel_spi: using ip version to check whether has wdrbtdrivers/spi/atmel_spi.c drivers/spi/atmel_spi.h+13 -411 replies
2/3arm: at91: add at91sam9n12 register definitionarch/arm/include/asm/arch-at91/at91sam9_matrix.h arch/arm/include/asm/arch-at91/at91sam9x5.h arch/arm/include/asm/arch-at91/at91sam9x5_matrix.h +1 more+32 -80 replies
3/3arm: at91: add at91sam9n12ek board supportMAINTAINERS arch/arm/cpu/arm926ejs/at91/Makefile arch/arm/cpu/arm926ejs/at91/at91sam9n12_devices.c +5 more+698 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [U-Boot] [PATCH v4 0/3] arm: atmel: add at91sam9n12ek board support

This patch series will add at91sam9n12ek board support. In the board, spi/nand flash, mmc, lcd are supported.

TODO:
- ethernet support
- usb support.

Change since v3:
- drop the patch: at91: clock: remove chip macro for plla div2. Still use macro to add 9n12 in clock.c
The reason is it will impact 9g20ek board. Since in 9g20, this PMC_MCKR bit 12 means Processor Clock Division. it is different from other boards. Thanks Shen Bo for finding this issue.
To keep it consistent, I just drop this patch. Add a 9N12 macro for MCKR.
- rebase on top of latest atmel master.

Changes since v2:
- re-arrange the patch series order. move
'at91: clock: remove chip macro for plla div2' ahead to 9n12 patches.
- remove redudent blank line in the end of at91sam9n12_devices.c

Changes since v1:
- split into more patches to make it clearer.
- include an extra patch that use run-time detect for spi ip.
- include an extra patch to remove the chip select for clock part.
- merge at91sam9n12 register definition with at91sam9x5.
- fix copyright issue and add maintainer.
- disable pull-up as possible as we can.
- add mtdparts command.
- fix warnings and typos.

Bo Shen (1):
spi: atmel_spi: using ip version to check whether has wdrbt

Josh Wu (2):
arm: at91: add at91sam9n12 register definition
arm: at91: add at91sam9n12ek board support

 MAINTAINERS                                        |    3 +
 arch/arm/cpu/arm926ejs/at91/Makefile               |    1 +
 arch/arm/cpu/arm926ejs/at91/at91sam9n12_devices.c  |  177 +++++++++++++++
 arch/arm/cpu/arm926ejs/at91/clock.c                |    4 +-
 arch/arm/include/asm/arch-at91/at91sam9_matrix.h   |    2 +-
 arch/arm/include/asm/arch-at91/at91sam9x5.h        |   19 +-
 arch/arm/include/asm/arch-at91/at91sam9x5_matrix.h |   17 +-
 arch/arm/include/asm/arch-at91/hardware.h          |    2 +-
 board/atmel/at91sam9n12ek/Makefile                 |   52 +++++
 board/atmel/at91sam9n12ek/at91sam9n12ek.c          |  228 +++++++++++++++++++
 boards.cfg                                         |    3 +
 drivers/spi/atmel_spi.c                            |   15 +-
 drivers/spi/atmel_spi.h                            |    2 +-
 include/configs/at91sam9n12ek.h                    |  232 ++++++++++++++++++++
 14 files changed, 743 insertions(+), 14 deletions(-)
 create mode 100644 arch/arm/cpu/arm926ejs/at91/at91sam9n12_devices.c
 create mode 100644 board/atmel/at91sam9n12ek/Makefile
 create mode 100644 board/atmel/at91sam9n12ek/at91sam9n12ek.c
 create mode 100644 include/configs/at91sam9n12ek.h
Signature · 1 line
1.7.9.5