[PATCH 0/5] ARM: at91: add first DT support for Calao usb/tny boards

Sascha Hauer sha at pengutronix.de
Wed Oct 4 01:25:27 PDT 2023


On Tue, Sep 26, 2023 at 08:38:30PM +0200, Ahmad Fatoum wrote:
> We have a lot of defconfigs for ARM9 AT91 boards, that we want to get
> rid off after migrating the boards to at91_multi_defconfig.
> 
> Thanks to a temporarily donated Calao USB-A9G20 by Wolfram, we start by
> switching the Calao boards to DT.
> 
> This is not yet a complete replacement:
> 
>   - We use the legacy NAND driver instead of the newly backported driver
>     that Linux uses with the hardware, presumably without issues
> 
>   - OHCI hangs during probe, so it's disabled for now
> 
>   - A barebox with comparative functionality to the non-DT version
>     exceeds the 256K partition size
> 
> These can be resolved separately though, so add here first DT support.
> 
> Ahmad Fatoum (5):
>   Revert "mtd: nand: drop DT support in legacy driver"
>   ARM: at91: add SDRAMC driver for memory detection
>   ARM: at91: at91sam9_rst: add DT support for at91sam9260
>   ARM: at91: sam9260: don't build non-DT device support when unneeded
>   ARM: at91: add first DT support for Calao usb/tny boards

Applied, thanks

Sascha

> 
>  arch/arm/boards/Makefile              |   1 +
>  arch/arm/boards/calao/Makefile        |   4 +
>  arch/arm/boards/calao/board.c         |  13 ++++
>  arch/arm/boards/calao/lowlevel.c      |  30 ++++++++
>  arch/arm/configs/at91_multi_defconfig |   4 +-
>  arch/arm/dts/Makefile                 |   3 +
>  arch/arm/dts/at91sam9260.dtsi         |  33 ++++++++
>  arch/arm/dts/at91sam9g20.dtsi         |   2 +
>  arch/arm/dts/calao_nand.dtsi          |  48 ++++++++++++
>  arch/arm/dts/tny_a9260.dts            |   4 +
>  arch/arm/dts/tny_a9g20.dts            |   4 +
>  arch/arm/dts/usb_a9260.dts            |   4 +
>  arch/arm/dts/usb_a9g20.dts            |   4 +
>  arch/arm/mach-at91/Kconfig            |  13 ++++
>  arch/arm/mach-at91/Makefile           |   3 +-
>  arch/arm/mach-at91/at91sam9_rst.c     |  18 ++++-
>  arch/arm/mach-at91/sdramc.c           |  47 ++++++++++++
>  drivers/mtd/nand/Kconfig              |   8 +-
>  drivers/mtd/nand/atmel/legacy.c       | 104 +++++++++++++++++++++++++-
>  images/Makefile.at91                  |   9 +++
>  include/mach/at91/at91sam9260.h       |   1 +
>  include/mach/at91/at91sam9_sdramc.h   |   4 +
>  include/mach/at91/at91sam9g45.h       |   1 +
>  23 files changed, 353 insertions(+), 9 deletions(-)
>  create mode 100644 arch/arm/boards/calao/Makefile
>  create mode 100644 arch/arm/boards/calao/board.c
>  create mode 100644 arch/arm/boards/calao/lowlevel.c
>  create mode 100644 arch/arm/dts/at91sam9260.dtsi
>  create mode 100644 arch/arm/dts/at91sam9g20.dtsi
>  create mode 100644 arch/arm/dts/calao_nand.dtsi
>  create mode 100644 arch/arm/dts/tny_a9260.dts
>  create mode 100644 arch/arm/dts/tny_a9g20.dts
>  create mode 100644 arch/arm/dts/usb_a9260.dts
>  create mode 100644 arch/arm/dts/usb_a9g20.dts
>  create mode 100644 arch/arm/mach-at91/sdramc.c
> 
> -- 
> 2.39.2
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list