mbox series

[00/17] arm: mach-k3: Initial Support for Texas Instruments AM642 Platform

Message ID 20210423162748.1952-1-d-gerlach@ti.com
Headers show
Series arm: mach-k3: Initial Support for Texas Instruments AM642 Platform | expand

Message

Dave Gerlach April 23, 2021, 4:27 p.m. UTC
Hi,

This series adds initial support for the latest new SoC, AM642,
from Texas Instruments.

Additional detail can be found in the patch descriptions, also
see AM64X Technical Reference Manual (SPRUIM2, Revised Jan 2021)
for further details: https://www.ti.com/lit/pdf/spruim2

Regards,
Dave

Dave Gerlach (14):
  arm: mach-k3: Add basic support for AM642 SoC definition
  arm: mach-k3: am642: Unlock all applicable control MMR registers
  arm: mach-k3: am642: Store boot info from ROM
  arm: mach-k3: am642: Load SYSFW binary and config from boot media
  arm: mach-k3: am642: Use mmc start and stop callbacks
  mmc: sdhci_am654: Add Support for TI's AM642 SoC
  mailbox: k3-sec-proxy: Extend valid thread IDs
  board: ti: am64x: Add board support for am64x evm
  dt-bindings: pinctrl: k3: Introduce pinmux definitions for AM64
  arm: dts: ti: Add Support for AM642 SoC
  arm: dts: k3-am642: Add initial support for EVM
  arm: dts: k3-am642: Add r5 specific dt support
  configs: am64x_evm_r5: Add Initial support
  configs: am64x_evm_a53: Add Initial support

Keerthy (2):
  arm: mach-k3: am642: Add support for boot device detection
  armv8: mach-k3: am642: Add custom MMU support

Suman Anna (1):
  arm: mach-k3: am642: Shut down R5 core after ATF startup on A53

 arch/arm/dts/Makefile                         |   2 +
 arch/arm/dts/k3-am64-main.dtsi                | 405 ++++++++++++++++++
 arch/arm/dts/k3-am64-mcu.dtsi                 |  76 ++++
 arch/arm/dts/k3-am64.dtsi                     | 103 +++++
 arch/arm/dts/k3-am642-evm-u-boot.dtsi         |  58 +++
 arch/arm/dts/k3-am642-evm.dts                 | 246 +++++++++++
 arch/arm/dts/k3-am642-r5-evm.dts              | 169 ++++++++
 arch/arm/dts/k3-am642.dtsi                    |  65 +++
 arch/arm/mach-k3/Kconfig                      |  15 +-
 arch/arm/mach-k3/Makefile                     |   1 +
 arch/arm/mach-k3/am642_init.c                 | 283 ++++++++++++
 arch/arm/mach-k3/arm64-mmu.c                  |  41 ++
 arch/arm/mach-k3/include/mach/am64_hardware.h |  52 +++
 arch/arm/mach-k3/include/mach/am64_spl.h      |  44 ++
 arch/arm/mach-k3/include/mach/hardware.h      |   4 +
 arch/arm/mach-k3/include/mach/spl.h           |   4 +
 board/ti/am64x/Kconfig                        |  53 +++
 board/ti/am64x/Makefile                       |   8 +
 board/ti/am64x/evm.c                          |  48 +++
 configs/am64x_evm_a53_defconfig               |  96 +++++
 configs/am64x_evm_r5_defconfig                |  91 ++++
 drivers/mailbox/k3-sec-proxy.c                |  10 +-
 drivers/mmc/am654_sdhci.c                     |  18 +
 include/configs/am64x_evm.h                   | 105 +++++
 include/dt-bindings/pinctrl/k3.h              |   5 +-
 25 files changed, 1988 insertions(+), 14 deletions(-)
 create mode 100644 arch/arm/dts/k3-am64-main.dtsi
 create mode 100644 arch/arm/dts/k3-am64-mcu.dtsi
 create mode 100644 arch/arm/dts/k3-am64.dtsi
 create mode 100644 arch/arm/dts/k3-am642-evm-u-boot.dtsi
 create mode 100644 arch/arm/dts/k3-am642-evm.dts
 create mode 100644 arch/arm/dts/k3-am642-r5-evm.dts
 create mode 100644 arch/arm/dts/k3-am642.dtsi
 create mode 100644 arch/arm/mach-k3/am642_init.c
 create mode 100644 arch/arm/mach-k3/include/mach/am64_hardware.h
 create mode 100644 arch/arm/mach-k3/include/mach/am64_spl.h
 create mode 100644 board/ti/am64x/Kconfig
 create mode 100644 board/ti/am64x/Makefile
 create mode 100644 board/ti/am64x/evm.c
 create mode 100644 configs/am64x_evm_a53_defconfig
 create mode 100644 configs/am64x_evm_r5_defconfig
 create mode 100644 include/configs/am64x_evm.h

Comments

Lokesh Vutla May 6, 2021, 8:02 a.m. UTC | #1
On 23/04/21 9:57 pm, Dave Gerlach wrote:
> Hi,
> 
> This series adds initial support for the latest new SoC, AM642,
> from Texas Instruments.
> 
> Additional detail can be found in the patch descriptions, also
> see AM64X Technical Reference Manual (SPRUIM2, Revised Jan 2021)
> for further details: https://www.ti.com/lit/pdf/spruim2
> 
> Regards,
> Dave
> 
> Dave Gerlach (14):
>   arm: mach-k3: Add basic support for AM642 SoC definition
>   arm: mach-k3: am642: Unlock all applicable control MMR registers
>   arm: mach-k3: am642: Store boot info from ROM
>   arm: mach-k3: am642: Load SYSFW binary and config from boot media
>   arm: mach-k3: am642: Use mmc start and stop callbacks
>   mmc: sdhci_am654: Add Support for TI's AM642 SoC
>   mailbox: k3-sec-proxy: Extend valid thread IDs
>   board: ti: am64x: Add board support for am64x evm
>   dt-bindings: pinctrl: k3: Introduce pinmux definitions for AM64
>   arm: dts: ti: Add Support for AM642 SoC
>   arm: dts: k3-am642: Add initial support for EVM
>   arm: dts: k3-am642: Add r5 specific dt support
>   configs: am64x_evm_r5: Add Initial support
>   configs: am64x_evm_a53: Add Initial support

You need to add MAINTAINERS file under board/ti/am64x. Else few testes are failing.

https://source.denx.de/u-boot/custodians/u-boot-ti/-/pipelines/7397

Thanks and regards,
Lokesh
Lokesh Vutla May 6, 2021, 12:22 p.m. UTC | #2
On 06/05/21 1:32 pm, Lokesh Vutla wrote:
> 
> 
> On 23/04/21 9:57 pm, Dave Gerlach wrote:
>> Hi,
>>
>> This series adds initial support for the latest new SoC, AM642,
>> from Texas Instruments.
>>
>> Additional detail can be found in the patch descriptions, also
>> see AM64X Technical Reference Manual (SPRUIM2, Revised Jan 2021)
>> for further details: https://www.ti.com/lit/pdf/spruim2
>>
>> Regards,
>> Dave
>>
>> Dave Gerlach (14):
>>   arm: mach-k3: Add basic support for AM642 SoC definition
>>   arm: mach-k3: am642: Unlock all applicable control MMR registers
>>   arm: mach-k3: am642: Store boot info from ROM
>>   arm: mach-k3: am642: Load SYSFW binary and config from boot media
>>   arm: mach-k3: am642: Use mmc start and stop callbacks
>>   mmc: sdhci_am654: Add Support for TI's AM642 SoC
>>   mailbox: k3-sec-proxy: Extend valid thread IDs
>>   board: ti: am64x: Add board support for am64x evm
>>   dt-bindings: pinctrl: k3: Introduce pinmux definitions for AM64
>>   arm: dts: ti: Add Support for AM642 SoC
>>   arm: dts: k3-am642: Add initial support for EVM
>>   arm: dts: k3-am642: Add r5 specific dt support
>>   configs: am64x_evm_r5: Add Initial support
>>   configs: am64x_evm_a53: Add Initial support
> 
> You need to add MAINTAINERS file under board/ti/am64x. Else few testes are failing.
> 
> https://source.denx.de/u-boot/custodians/u-boot-ti/-/pipelines/7397

I have updated locally and pushed the change:
https://source.denx.de/u-boot/custodians/u-boot-ti/-/commit/140fde6a6d7835095be2e5aa4316fe03e3bc28e9
https://source.denx.de/u-boot/custodians/u-boot-ti/-/commit/465bee1469a30a675bc7ff34229536dcc5af14f8

Please see if it looks good.

Thanks and regards,
Lokesh
> 
> Thanks and regards,
> Lokesh
>
Lokesh Vutla May 12, 2021, 1:58 p.m. UTC | #3
On 23/04/21 9:57 pm, Dave Gerlach wrote:
> Hi,
> 
> This series adds initial support for the latest new SoC, AM642,
> from Texas Instruments.
> 
> Additional detail can be found in the patch descriptions, also
> see AM64X Technical Reference Manual (SPRUIM2, Revised Jan 2021)
> for further details: https://www.ti.com/lit/pdf/spruim2

Fixed the MAINTAINERS file and Timer clock frequency and applied to u-boot-ti/for-rc

Thanks and regards,
Lokesh

> 
> Regards,
> Dave
> 
> Dave Gerlach (14):
>   arm: mach-k3: Add basic support for AM642 SoC definition
>   arm: mach-k3: am642: Unlock all applicable control MMR registers
>   arm: mach-k3: am642: Store boot info from ROM
>   arm: mach-k3: am642: Load SYSFW binary and config from boot media
>   arm: mach-k3: am642: Use mmc start and stop callbacks
>   mmc: sdhci_am654: Add Support for TI's AM642 SoC
>   mailbox: k3-sec-proxy: Extend valid thread IDs
>   board: ti: am64x: Add board support for am64x evm
>   dt-bindings: pinctrl: k3: Introduce pinmux definitions for AM64
>   arm: dts: ti: Add Support for AM642 SoC
>   arm: dts: k3-am642: Add initial support for EVM
>   arm: dts: k3-am642: Add r5 specific dt support
>   configs: am64x_evm_r5: Add Initial support
>   configs: am64x_evm_a53: Add Initial support
> 
> Keerthy (2):
>   arm: mach-k3: am642: Add support for boot device detection
>   armv8: mach-k3: am642: Add custom MMU support
> 
> Suman Anna (1):
>   arm: mach-k3: am642: Shut down R5 core after ATF startup on A53
> 
>  arch/arm/dts/Makefile                         |   2 +
>  arch/arm/dts/k3-am64-main.dtsi                | 405 ++++++++++++++++++
>  arch/arm/dts/k3-am64-mcu.dtsi                 |  76 ++++
>  arch/arm/dts/k3-am64.dtsi                     | 103 +++++
>  arch/arm/dts/k3-am642-evm-u-boot.dtsi         |  58 +++
>  arch/arm/dts/k3-am642-evm.dts                 | 246 +++++++++++
>  arch/arm/dts/k3-am642-r5-evm.dts              | 169 ++++++++
>  arch/arm/dts/k3-am642.dtsi                    |  65 +++
>  arch/arm/mach-k3/Kconfig                      |  15 +-
>  arch/arm/mach-k3/Makefile                     |   1 +
>  arch/arm/mach-k3/am642_init.c                 | 283 ++++++++++++
>  arch/arm/mach-k3/arm64-mmu.c                  |  41 ++
>  arch/arm/mach-k3/include/mach/am64_hardware.h |  52 +++
>  arch/arm/mach-k3/include/mach/am64_spl.h      |  44 ++
>  arch/arm/mach-k3/include/mach/hardware.h      |   4 +
>  arch/arm/mach-k3/include/mach/spl.h           |   4 +
>  board/ti/am64x/Kconfig                        |  53 +++
>  board/ti/am64x/Makefile                       |   8 +
>  board/ti/am64x/evm.c                          |  48 +++
>  configs/am64x_evm_a53_defconfig               |  96 +++++
>  configs/am64x_evm_r5_defconfig                |  91 ++++
>  drivers/mailbox/k3-sec-proxy.c                |  10 +-
>  drivers/mmc/am654_sdhci.c                     |  18 +
>  include/configs/am64x_evm.h                   | 105 +++++
>  include/dt-bindings/pinctrl/k3.h              |   5 +-
>  25 files changed, 1988 insertions(+), 14 deletions(-)
>  create mode 100644 arch/arm/dts/k3-am64-main.dtsi
>  create mode 100644 arch/arm/dts/k3-am64-mcu.dtsi
>  create mode 100644 arch/arm/dts/k3-am64.dtsi
>  create mode 100644 arch/arm/dts/k3-am642-evm-u-boot.dtsi
>  create mode 100644 arch/arm/dts/k3-am642-evm.dts
>  create mode 100644 arch/arm/dts/k3-am642-r5-evm.dts
>  create mode 100644 arch/arm/dts/k3-am642.dtsi
>  create mode 100644 arch/arm/mach-k3/am642_init.c
>  create mode 100644 arch/arm/mach-k3/include/mach/am64_hardware.h
>  create mode 100644 arch/arm/mach-k3/include/mach/am64_spl.h
>  create mode 100644 board/ti/am64x/Kconfig
>  create mode 100644 board/ti/am64x/Makefile
>  create mode 100644 board/ti/am64x/evm.c
>  create mode 100644 configs/am64x_evm_a53_defconfig
>  create mode 100644 configs/am64x_evm_r5_defconfig
>  create mode 100644 include/configs/am64x_evm.h
>