From: Renaud Barbier <Renaud.Barbier@ametek.com>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH 0/2] Initial LS1021-IOT board support
Date: Wed, 8 Feb 2023 13:26:21 +0000 [thread overview]
Message-ID: <BL0PR07MB566568DCB4AD086C7C4C3961ECD89@BL0PR07MB5665.namprd07.prod.outlook.com> (raw)
The LS1021A-IOT is NXP ARMv7 Layerscape evaluation board.
These patches provide a basic board support with:
- UART
- boot from SPI
- One Ethernet port - eth1*
The content of the EEPROM having been lost so the MAC should be set in the
config file
The code is ported from NXP U-boot 2021-04. Like U-boot, the machine support
i.e mac-lxxx lives in its own directory. However, it is very similar to the
ls1046a machine support. This migth be merged. Please advise.
Renaud Barbier (2):
ARM: Add Layerscape v7 support
ARM: Layerscape: Add LS1021A IOT board support
arch/arm/Kconfig | 12 +
arch/arm/Makefile | 1 +
arch/arm/boards/Makefile | 1 +
arch/arm/boards/ls1021aiot/Makefile | 3 +
arch/arm/boards/ls1021aiot/board.c | 83 ++++
arch/arm/boards/ls1021aiot/lowlevel.c | 121 ++++++
arch/arm/boards/ls1021aiot/ls102xa_pbi.cfg | 11 +
.../boards/ls1021aiot/ls102xa_rcw_sd_qspi.cfg | 8 +
arch/arm/boards/ls1021aiot/start.S | 11 +
arch/arm/configs/layerscape_v7_defconfig | 100 +++++
arch/arm/dts/Makefile | 1 +
arch/arm/dts/fsl-ls1021a-iot.dts | 124 ++++++
arch/arm/lib32/Makefile | 1 +
arch/arm/lib32/pbl.c | 21 +
arch/arm/mach-ls102xa/Kconfig | 22 +
arch/arm/mach-ls102xa/Makefile | 9 +
arch/arm/mach-ls102xa/boot.c | 39 ++
arch/arm/mach-ls102xa/errata.c | 112 +++++
arch/arm/mach-ls102xa/include/mach/debug_ll.h | 36 ++
arch/arm/mach-ls102xa/include/mach/errata.h | 9 +
arch/arm/mach-ls102xa/include/mach/fsl_epu.h | 73 ++++
.../mach-ls102xa/include/mach/layerscape.h | 11 +
arch/arm/mach-ls102xa/include/mach/lowlevel.h | 8 +
arch/arm/mach-ls102xa/include/mach/xload.h | 14 +
arch/arm/mach-ls102xa/lowlevel-ls102xa.c | 378 ++++++++++++++++
arch/arm/mach-ls102xa/ls102xa_stream_id.c | 46 ++
arch/arm/mach-ls102xa/ls102xa_stream_id.h | 17 +
arch/arm/mach-ls102xa/pblimage.c | 60 +++
arch/arm/mach-ls102xa/restart.c | 27 ++
arch/arm/mach-ls102xa/xload-qspi.c | 34 ++
arch/arm/mach-ls102xa/xload.c | 22 +
common/Kconfig | 2 +-
drivers/clk/Makefile | 1 +
drivers/ddr/fsl/Kconfig | 2 +-
drivers/i2c/busses/Kconfig | 2 +-
drivers/net/Kconfig | 2 +-
drivers/net/gianfar.c | 211 ++++++++-
drivers/net/gianfar.h | 16 +-
images/Makefile.layerscape | 9 +
include/soc/fsl/immap_ls102xa.h | 408 ++++++++++++++++++
scripts/Kconfig | 4 +-
41 files changed, 2044 insertions(+), 28 deletions(-)
create mode 100644 arch/arm/boards/ls1021aiot/Makefile
create mode 100644 arch/arm/boards/ls1021aiot/board.c
create mode 100644 arch/arm/boards/ls1021aiot/lowlevel.c
create mode 100644 arch/arm/boards/ls1021aiot/ls102xa_pbi.cfg
create mode 100644 arch/arm/boards/ls1021aiot/ls102xa_rcw_sd_qspi.cfg
create mode 100644 arch/arm/boards/ls1021aiot/start.S
create mode 100644 arch/arm/configs/layerscape_v7_defconfig
create mode 100644 arch/arm/dts/fsl-ls1021a-iot.dts
create mode 100644 arch/arm/lib32/pbl.c
create mode 100644 arch/arm/mach-ls102xa/Kconfig
create mode 100644 arch/arm/mach-ls102xa/Makefile
create mode 100644 arch/arm/mach-ls102xa/boot.c
create mode 100644 arch/arm/mach-ls102xa/errata.c
create mode 100644 arch/arm/mach-ls102xa/include/mach/debug_ll.h
create mode 100644 arch/arm/mach-ls102xa/include/mach/errata.h
create mode 100644 arch/arm/mach-ls102xa/include/mach/fsl_epu.h
create mode 100644 arch/arm/mach-ls102xa/include/mach/layerscape.h
create mode 100644 arch/arm/mach-ls102xa/include/mach/lowlevel.h
create mode 100644 arch/arm/mach-ls102xa/include/mach/xload.h
create mode 100644 arch/arm/mach-ls102xa/lowlevel-ls102xa.c
create mode 100644 arch/arm/mach-ls102xa/ls102xa_stream_id.c
create mode 100644 arch/arm/mach-ls102xa/ls102xa_stream_id.h
create mode 100644 arch/arm/mach-ls102xa/pblimage.c
create mode 100644 arch/arm/mach-ls102xa/restart.c
create mode 100644 arch/arm/mach-ls102xa/xload-qspi.c
create mode 100644 arch/arm/mach-ls102xa/xload.c
create mode 100644 include/soc/fsl/immap_ls102xa.h
next reply other threads:[~2023-02-08 13:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-08 13:26 Renaud Barbier [this message]
2023-02-10 11:25 ` Sascha Hauer
2023-02-10 11:54 ` Renaud Barbier
2023-02-10 12:25 ` Sascha Hauer
2023-02-10 15:57 ` Renaud Barbier
2023-02-10 16:59 ` Ahmad Fatoum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BL0PR07MB566568DCB4AD086C7C4C3961ECD89@BL0PR07MB5665.namprd07.prod.outlook.com \
--to=renaud.barbier@ametek.com \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox