U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Lokesh Vutla <lokeshvutla@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/8] [1/3] Initial support Texas Instrument's AM654 Platform
Date: Tue, 21 Aug 2018 20:00:47 +0530	[thread overview]
Message-ID: <20180821143055.29012-1-lokeshvutla@ti.com> (raw)

The AM654 SoC is a lead device of the K3 Multicore SoC architecture
platform, targeted for broad market and industrial control with aim to
meet the complex processing needs of modern embedded products.

The device is partitioned into three functional domains, each containing
specific processing cores and peripherals:
Some highlights in each domain are:
- MAIN Domain:
--------------
* Quad ARMv8 A53 cores split over two clusters
* GICv3 compliant GIC500
* Configurable L3 Cache and IO-coherent architecture
* DDR Subsystem (DDRSS) with Error Correcting Code (ECC)
* Three Gigabit Industrial Communication Subsystems (ICSSG), each with dual
  PRUs and dual RTUs
* Hardware accelerator block containing AES/DES/SHA/MD5 called SA2UL
* eQEP/eCAP, eHRPWM.
* Multimedia capability with CAL, DSS7-UL, SGX544, McASP
* Peripheral connectivity including USB3, PCIE, MMC/SD, GPMC, I2C, SPI,
  GPIO

- MCU Domain:
-------------
* Dual lock-step capable R5F uC for safety-critical applications
* Flash subsystem with OSPI and Hyperbus interfaces
* High data throughput capable distributed DMA architecture under MCU NAVSS
* Dual ADCSS, Dual CAN-FD.

- WKUP Domain:
--------------
* Centralized System Controller for Security, Power, and Resource
  management.

For further deails see AM65x Technical Reference Manual (SPRUID7, April 2018):
http://www.ti.com/lit/pdf/spruid7

This is a complex SoC and the support to add this SoC is very huge. So I
tried to split into 3 separate series:
[1/3] Adding base SoC support
[2/3] Base drivers that allow minimal boot.
[3/3] EVM support with dts and defconfig changes.

This series adds base SoC support. The rest of the two series will be a
follow up of this series.

On AM65x family devices, ROM supports boot only via MCU(R5). This means that
bootloader has to run on R5 core. In order to meet this constraint,
keeping safety in picture and to have faster boot time, the software boot
architecture is designed as: https://pastebin.ubuntu.com/p/NxSvDbMtSk/
Any feedback is highly appreciated.

Andreas Dannenberg (1):
  arm: K3: am654: Unlock control module registers during init

Lokesh Vutla (7):
  arm: K3: Add initial support for TI's K3 generation of SoCs
  arm: K3: Add support for AM654 SoC definition
  arm: K3: Update _start instruction
  arm: K3: am654: Add support for boot device detection
  armv8: K3: am654: Add custom MMU support
  armv8: K3: am654: Introduce FIT generator script
  armv8: K3: am654: Add support for generating build targets

 Kconfig                                      |   2 +-
 MAINTAINERS                                  |   1 +
 arch/arm/Kconfig                             |   8 ++
 arch/arm/Makefile                            |   1 +
 arch/arm/include/asm/spl.h                   |   2 +-
 arch/arm/lib/vectors.S                       |   8 ++
 arch/arm/mach-k3/Kconfig                     |  50 ++++++++
 arch/arm/mach-k3/Makefile                    |   7 ++
 arch/arm/mach-k3/am6_init.c                  | 123 +++++++++++++++++++
 arch/arm/mach-k3/arm64-mmu.c                 |  45 +++++++
 arch/arm/mach-k3/config.mk                   |  21 ++++
 arch/arm/mach-k3/include/mach/am6_hardware.h |  44 +++++++
 arch/arm/mach-k3/include/mach/am6_spl.h      |  36 ++++++
 arch/arm/mach-k3/include/mach/clock.h        |  16 +++
 arch/arm/mach-k3/include/mach/hardware.h     |  12 ++
 arch/arm/mach-k3/include/mach/spl.h          |  12 ++
 common/spl/Kconfig                           |   2 +-
 drivers/serial/ns16550.c                     |   5 +-
 scripts/Makefile.spl                         |   9 ++
 tools/k3/k3_fit_atf.sh                       |  98 +++++++++++++++
 20 files changed, 497 insertions(+), 5 deletions(-)
 create mode 100644 arch/arm/mach-k3/Kconfig
 create mode 100644 arch/arm/mach-k3/Makefile
 create mode 100644 arch/arm/mach-k3/am6_init.c
 create mode 100644 arch/arm/mach-k3/arm64-mmu.c
 create mode 100644 arch/arm/mach-k3/config.mk
 create mode 100644 arch/arm/mach-k3/include/mach/am6_hardware.h
 create mode 100644 arch/arm/mach-k3/include/mach/am6_spl.h
 create mode 100644 arch/arm/mach-k3/include/mach/clock.h
 create mode 100644 arch/arm/mach-k3/include/mach/hardware.h
 create mode 100644 arch/arm/mach-k3/include/mach/spl.h
 create mode 100755 tools/k3/k3_fit_atf.sh

-- 
2.18.0

             reply	other threads:[~2018-08-21 14:30 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-21 14:30 Lokesh Vutla [this message]
2018-08-21 14:30 ` [U-Boot] [PATCH 1/8] arm: K3: Add initial support for TI's K3 generation of SoCs Lokesh Vutla
2018-08-24 14:10   ` Tom Rini
2018-08-24 14:51     ` Lokesh Vutla
2018-08-24 14:55       ` Tom Rini
2018-08-24 15:14         ` Lokesh Vutla
2018-08-24 15:21           ` Tom Rini
2018-08-21 14:30 ` [U-Boot] [PATCH 2/8] arm: K3: Add support for AM654 SoC definition Lokesh Vutla
2018-08-24 14:11   ` Tom Rini
2018-08-24 14:58     ` Lokesh Vutla
2018-08-24 15:01       ` Tom Rini
2018-08-21 14:30 ` [U-Boot] [PATCH 3/8] arm: K3: Update _start instruction Lokesh Vutla
2018-08-21 14:30 ` [U-Boot] [PATCH 4/8] arm: K3: am654: Add support for boot device detection Lokesh Vutla
2018-08-24 14:11   ` Tom Rini
2018-08-24 14:58     ` Lokesh Vutla
2018-08-21 14:30 ` [U-Boot] [PATCH 5/8] arm: K3: am654: Unlock control module registers during init Lokesh Vutla
2018-08-24 14:11   ` Tom Rini
2018-08-21 14:30 ` [U-Boot] [PATCH 6/8] armv8: K3: am654: Add custom MMU support Lokesh Vutla
2018-08-24 14:11   ` Tom Rini
2018-08-21 14:30 ` [U-Boot] [PATCH 7/8] armv8: K3: am654: Introduce FIT generator script Lokesh Vutla
2018-08-24 14:11   ` Tom Rini
2018-08-24 14:59     ` Lokesh Vutla
2018-08-21 14:30 ` [U-Boot] [PATCH 8/8] armv8: K3: am654: Add support for generating build targets Lokesh Vutla
2018-08-24 14:11   ` Tom Rini
2018-08-26  6:11 ` [U-Boot] [PATCH 0/8] [1/3] Initial support Texas Instrument's AM654 Platform Alexander Graf
2018-08-27  9:31   ` Lokesh Vutla
2018-08-27  9:52     ` Alexander Graf
2018-08-27 10:07       ` Lokesh Vutla

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=20180821143055.29012-1-lokeshvutla@ti.com \
    --to=lokeshvutla@ti.com \
    --cc=u-boot@lists.denx.de \
    /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