mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v2 00/11] ARM: at91: sama5d4: add basic Wifx L1 support
@ 2023-01-09 13:08 Ahmad Fatoum
  2023-01-09 13:08 ` [PATCH v2 01/11] ARM: at91: sama5: switch to nonnaked entry functions Ahmad Fatoum
                   ` (11 more replies)
  0 siblings, 12 replies; 14+ messages in thread
From: Ahmad Fatoum @ 2023-01-09 13:08 UTC (permalink / raw)
  To: barebox

The Wifx L1 is a SAMA5D4 LoRaWAN gateway. It boots from NAND, but this
can be overridden by inserting a bootable SD-Card.

This first port only provides second-stage SD-Card support. It enables
use of UART, I2C/EEPROM, Ethernet and SD-Card. For NAND use on SAMA5D4,
an updated Linux driver was ported to barebox.
This will follow separately.

v1 -> v2:
  - skip stack setup on SAMA5D2 (Sascha)
  - Add Sam's Acked-by
  - Rebase on upstream/next

Ahmad Fatoum (11):
  ARM: at91: sama5: switch to nonnaked entry functions
  ARM: at91: sama5d4: add entry point helpers
  ARM: at91: sama5d4: enable for DT use
  net: macb: match atmel,sama5d4-gem compatible
  i2c: at91: extend for SAMA5D4 support
  eeprom: at24: add 24mac402/602 support
  driver: always ensure probe of RAM registered with mem_platform_driver
  common: deep-probe: don't build without CONFIG_OFDEVICE
  pinctrl: at91: make deep-probe compatible
  ARM: at91: make bootsource code generic to all SAMA5
  ARM: at91: SAMA5D4: add Wifx L1 support

 arch/arm/boards/Makefile                      |   1 +
 .../boards/microchip-ksz9477-evb/lowlevel.c   |   6 +-
 .../arm/boards/sama5d27-giantboard/lowlevel.c |   4 +-
 arch/arm/boards/sama5d27-som1/lowlevel.c      |   4 +-
 arch/arm/boards/sama5d3_xplained/lowlevel.c   |   6 +-
 arch/arm/boards/sama5d4_wifx/Makefile         |   4 +
 arch/arm/boards/sama5d4_wifx/board.c          |  38 ++
 arch/arm/boards/sama5d4_wifx/lowlevel.c       |  18 +
 arch/arm/dts/Makefile                         |   1 +
 arch/arm/dts/at91-sama5d4_wifx_l1.dts         | 358 ++++++++++++++++++
 arch/arm/dts/sama5d4.dtsi                     |   9 +
 arch/arm/mach-at91/Kconfig                    |  11 +
 arch/arm/mach-at91/Makefile                   |   3 +-
 arch/arm/mach-at91/bootm-barebox.c            |   3 +-
 arch/arm/mach-at91/ddramc.c                   |   7 +
 arch/arm/mach-at91/include/mach/barebox-arm.h |  23 +-
 arch/arm/mach-at91/include/mach/cpu.h         |   1 -
 arch/arm/mach-at91/include/mach/ddramc.h      |   1 +
 .../mach-at91/include/mach/sama5_bootsource.h |   5 +
 arch/arm/mach-at91/sama5_bootsource.c         |  36 ++
 arch/arm/mach-at91/sama5d2.c                  |  15 -
 arch/arm/mach-at91/setup.c                    |   3 -
 common/Makefile                               |   2 +-
 drivers/eeprom/at24.c                         |   2 +
 drivers/i2c/busses/i2c-at91.c                 |  14 +-
 drivers/net/macb.c                            |   1 +
 drivers/pinctrl/pinctrl-at91.c                |  20 +-
 images/Makefile.at91                          |   4 +
 include/deep-probe.h                          |   7 +
 include/driver.h                              |  13 +-
 30 files changed, 572 insertions(+), 48 deletions(-)
 create mode 100644 arch/arm/boards/sama5d4_wifx/Makefile
 create mode 100644 arch/arm/boards/sama5d4_wifx/board.c
 create mode 100644 arch/arm/boards/sama5d4_wifx/lowlevel.c
 create mode 100644 arch/arm/dts/at91-sama5d4_wifx_l1.dts
 create mode 100644 arch/arm/dts/sama5d4.dtsi
 create mode 100644 arch/arm/mach-at91/sama5_bootsource.c

-- 
2.30.2




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

end of thread, other threads:[~2023-01-11 10:38 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-09 13:08 [PATCH v2 00/11] ARM: at91: sama5d4: add basic Wifx L1 support Ahmad Fatoum
2023-01-09 13:08 ` [PATCH v2 01/11] ARM: at91: sama5: switch to nonnaked entry functions Ahmad Fatoum
2023-01-09 13:08 ` [PATCH v2 02/11] ARM: at91: sama5d4: add entry point helpers Ahmad Fatoum
2023-01-09 13:08 ` [PATCH v2 03/11] ARM: at91: sama5d4: enable for DT use Ahmad Fatoum
2023-01-11 10:37   ` Sascha Hauer
2023-01-09 13:08 ` [PATCH v2 04/11] net: macb: match atmel,sama5d4-gem compatible Ahmad Fatoum
2023-01-09 13:08 ` [PATCH v2 05/11] i2c: at91: extend for SAMA5D4 support Ahmad Fatoum
2023-01-09 13:08 ` [PATCH v2 06/11] eeprom: at24: add 24mac402/602 support Ahmad Fatoum
2023-01-09 13:08 ` [PATCH v2 07/11] driver: always ensure probe of RAM registered with mem_platform_driver Ahmad Fatoum
2023-01-09 13:08 ` [PATCH v2 08/11] common: deep-probe: don't build without CONFIG_OFDEVICE Ahmad Fatoum
2023-01-09 13:08 ` [PATCH v2 09/11] pinctrl: at91: make deep-probe compatible Ahmad Fatoum
2023-01-09 13:08 ` [PATCH v2 10/11] ARM: at91: make bootsource code generic to all SAMA5 Ahmad Fatoum
2023-01-09 13:08 ` [PATCH v2 11/11] ARM: at91: SAMA5D4: add Wifx L1 support Ahmad Fatoum
2023-01-10 15:05 ` [PATCH v2 00/11] ARM: at91: sama5d4: add basic " Sascha Hauer

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