mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/5] ARM: at91: add first DT support for Calao usb/tny boards
@ 2023-09-26 18:38 Ahmad Fatoum
  2023-09-26 18:38 ` [PATCH 1/5] Revert "mtd: nand: drop DT support in legacy driver" Ahmad Fatoum
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Ahmad Fatoum @ 2023-09-26 18:38 UTC (permalink / raw)
  To: barebox; +Cc: wsa

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

 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




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-10-04  8:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-26 18:38 [PATCH 0/5] ARM: at91: add first DT support for Calao usb/tny boards Ahmad Fatoum
2023-09-26 18:38 ` [PATCH 1/5] Revert "mtd: nand: drop DT support in legacy driver" Ahmad Fatoum
2023-09-26 18:38 ` [PATCH 2/5] ARM: at91: add SDRAMC driver for memory detection Ahmad Fatoum
2023-09-26 18:38 ` [PATCH 3/5] ARM: at91: at91sam9_rst: add DT support for at91sam9260 Ahmad Fatoum
2023-09-26 18:38 ` [PATCH 4/5] ARM: at91: sam9260: don't build non-DT device support when unneeded Ahmad Fatoum
2023-09-26 18:38 ` [PATCH 5/5] ARM: at91: add first DT support for Calao usb/tny boards Ahmad Fatoum
2023-09-26 21:21 ` OFFLIST Re: [PATCH 0/5] " Wolfram Sang
2023-10-04  8:25 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox