mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-22 20:58:22 +00:00
arm: SC594-SOM-EZLITE initial support
Adds support for Analog Devices' SC594-SOM-EZLITE board. Includes: - Board specific configs in mach-sc5xx/Kconfig - Board-specific Kconfig and environment in board/adi/ Signed-off-by: Oliver Gaskell <Oliver.Gaskell@analog.com>
This commit is contained in:
parent
e91d85e8fb
commit
9e24d9a615
4 changed files with 153 additions and 0 deletions
|
@ -54,6 +54,11 @@ if SC59X
|
||||||
choice
|
choice
|
||||||
prompt "SC59x 32-bit board select"
|
prompt "SC59x 32-bit board select"
|
||||||
|
|
||||||
|
config TARGET_SC594_SOM_EZLITE
|
||||||
|
bool
|
||||||
|
prompt "SC594-SOM with SOMCRR-EZLITE"
|
||||||
|
select ADI_CARRIER_SOMCRR_EZLITE
|
||||||
|
|
||||||
config TARGET_SC594_SOM_EZKIT
|
config TARGET_SC594_SOM_EZKIT
|
||||||
bool
|
bool
|
||||||
prompt "SC594-SOM with SOMCRR-EZKIT"
|
prompt "SC594-SOM with SOMCRR-EZKIT"
|
||||||
|
@ -524,5 +529,6 @@ config PINCTRL_ADI
|
||||||
source "board/adi/sc598-som-ezkit/Kconfig"
|
source "board/adi/sc598-som-ezkit/Kconfig"
|
||||||
source "board/adi/sc598-som-ezlite/Kconfig"
|
source "board/adi/sc598-som-ezlite/Kconfig"
|
||||||
source "board/adi/sc594-som-ezkit/Kconfig"
|
source "board/adi/sc594-som-ezkit/Kconfig"
|
||||||
|
source "board/adi/sc594-som-ezlite/Kconfig"
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
133
board/adi/sc594-som-ezlite/Kconfig
Normal file
133
board/adi/sc594-som-ezlite/Kconfig
Normal file
|
@ -0,0 +1,133 @@
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
#
|
||||||
|
# (C) Copyright 2024 - Analog Devices, Inc.
|
||||||
|
|
||||||
|
if TARGET_SC594_SOM_EZLITE
|
||||||
|
|
||||||
|
config LDR_CPU
|
||||||
|
default "ADSP-SC594-0.0"
|
||||||
|
|
||||||
|
config SYS_BOARD
|
||||||
|
default "sc594-som-ezlite"
|
||||||
|
|
||||||
|
config SYS_CONFIG_NAME
|
||||||
|
default "sc594-som"
|
||||||
|
|
||||||
|
config DEFAULT_DEVICE_TREE
|
||||||
|
default "sc594-som-ezlite"
|
||||||
|
|
||||||
|
config ADI_IMAGE
|
||||||
|
default "minimal"
|
||||||
|
|
||||||
|
config CUSTOM_SYS_INIT_SP_ADDR
|
||||||
|
default 0x8203f000
|
||||||
|
|
||||||
|
# SPL
|
||||||
|
|
||||||
|
config SPL_OF_LIBFDT_ASSUME_MASK
|
||||||
|
default 0x0
|
||||||
|
|
||||||
|
# SPI Flash
|
||||||
|
|
||||||
|
config SF_DEFAULT_BUS
|
||||||
|
default 2
|
||||||
|
|
||||||
|
config SF_DEFAULT_CS
|
||||||
|
default 1
|
||||||
|
|
||||||
|
config SF_DEFAULT_SPEED
|
||||||
|
default 10000000
|
||||||
|
|
||||||
|
# Clocks
|
||||||
|
|
||||||
|
config CGU0_DF_DIV
|
||||||
|
default 0
|
||||||
|
|
||||||
|
config CGU0_VCO_MULT
|
||||||
|
default 80
|
||||||
|
|
||||||
|
config CGU0_CCLK_DIV
|
||||||
|
default 2
|
||||||
|
|
||||||
|
config CGU0_SCLK_DIV
|
||||||
|
default 4
|
||||||
|
|
||||||
|
config CGU0_SCLK0_DIV
|
||||||
|
default 4
|
||||||
|
|
||||||
|
config CGU0_SCLK1_DIV
|
||||||
|
default 2
|
||||||
|
|
||||||
|
config CGU0_DCLK_DIV
|
||||||
|
default 2
|
||||||
|
|
||||||
|
config CGU0_OCLK_DIV
|
||||||
|
default 16
|
||||||
|
|
||||||
|
config CGU0_DIV_S1SELEX
|
||||||
|
default 6
|
||||||
|
|
||||||
|
config CGU1_VCO_MULT
|
||||||
|
default 64
|
||||||
|
|
||||||
|
config CGU1_DF_DIV
|
||||||
|
default 0
|
||||||
|
|
||||||
|
config CGU1_CCLK_DIV
|
||||||
|
default 2
|
||||||
|
|
||||||
|
config CGU1_SCLK_DIV
|
||||||
|
default 4
|
||||||
|
|
||||||
|
config CGU1_SCLK0_DIV
|
||||||
|
default 4
|
||||||
|
|
||||||
|
config CGU1_SCLK1_DIV
|
||||||
|
default 2
|
||||||
|
|
||||||
|
config CGU1_DCLK_DIV
|
||||||
|
default 2
|
||||||
|
|
||||||
|
config CGU1_OCLK_DIV
|
||||||
|
default 16
|
||||||
|
|
||||||
|
config CGU1_DIV_S1SELEX
|
||||||
|
default 6
|
||||||
|
|
||||||
|
config CDU0_CLKO0
|
||||||
|
default 1
|
||||||
|
|
||||||
|
config CDU0_CLKO1
|
||||||
|
default 1
|
||||||
|
|
||||||
|
config CDU0_CLKO2
|
||||||
|
default 1
|
||||||
|
|
||||||
|
config CDU0_CLKO3
|
||||||
|
default 3
|
||||||
|
|
||||||
|
config CDU0_CLKO4
|
||||||
|
default 3
|
||||||
|
|
||||||
|
config CDU0_CLKO5
|
||||||
|
default 1
|
||||||
|
|
||||||
|
config CDU0_CLKO6
|
||||||
|
default 1
|
||||||
|
|
||||||
|
config CDU0_CLKO7
|
||||||
|
default 1
|
||||||
|
|
||||||
|
config CDU0_CLKO8
|
||||||
|
default 3
|
||||||
|
|
||||||
|
config CDU0_CLKO9
|
||||||
|
default 1
|
||||||
|
|
||||||
|
config CDU0_CLKO10
|
||||||
|
default 1
|
||||||
|
|
||||||
|
config CDU0_CLKO12
|
||||||
|
default 1
|
||||||
|
|
||||||
|
endif
|
13
board/adi/sc594-som-ezlite/sc594-som-ezlite.env
Normal file
13
board/adi/sc594-som-ezlite/sc594-som-ezlite.env
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-or-later+ */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* (C) Copyright 2024 - Analog Devices, Inc.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <env/adi/adi_boot.env>
|
||||||
|
|
||||||
|
adi_stage2_offset=0x40000
|
||||||
|
adi_image_offset=0x0120000
|
||||||
|
adi_rfs_offset=0x1020000
|
||||||
|
loadaddr=0xA2000000
|
||||||
|
jffs2file=adsp-sc5xx-__stringify(CONFIG_ADI_IMAGE)-adsp-sc594-som-ezlite.jffs2
|
|
@ -1131,6 +1131,7 @@ config SPL_PAYLOAD_ARGS_ADDR
|
||||||
default 0x88000000 if ARCH_OMAP2PLUS
|
default 0x88000000 if ARCH_OMAP2PLUS
|
||||||
default 0x99000000 if ARCH_SC5XX && SC59X_64
|
default 0x99000000 if ARCH_SC5XX && SC59X_64
|
||||||
default 0xA0000000 if ARCH_SC5XX && TARGET_SC594_SOM_EZKIT
|
default 0xA0000000 if ARCH_SC5XX && TARGET_SC594_SOM_EZKIT
|
||||||
|
default 0x80000000 if ARCH_SC5XX && TARGET_SC594_SOM_EZLITE
|
||||||
help
|
help
|
||||||
Address in memory where the 'args' file, typically a device tree
|
Address in memory where the 'args' file, typically a device tree
|
||||||
will be loaded in to memory.
|
will be loaded in to memory.
|
||||||
|
|
Loading…
Add table
Reference in a new issue