sc5xx: Add complete board support for all ADI SC5xx boards
Subsystems (2)
cover sc5xx: Add complete board support for all ADI SC5xx boards
This series adds the final pieces to enable mainline U-Boot to build and boot all Analog Devices SC5xx SoCs and supports the associated carrier board options. At this point it should be viable for new users for these platforms to start with the latest version of U-Boot rather than our vendor fork, however some features (such as OSPI support and falcon boot) remain unavailable until we are able to unify our implementations with the mainline implementations.
Changes in v3:
- CI results: https://gitlab.com/gmalysa/lnxdsp-u-boot/-/pipelines/2205787455
Changes in v2:
- Rebased series to latest u-boot master
- Replaced SC_BOOT_MODE Kconfig with SC_BCODE
- Use Kconfig to restrict choices between EZKIT and EZLITE carriers when appropriate
- Separate dtsi for revD and revE of sc598 SOM. RevE is the default but revD is included so that any customers with older hardware can boot it with a single change to the .dts
- Fixed GPIO naming and polarity to use only positive names (such as gige-reset rather than ~gige-reset) and set the active low/high flag appropriately, with all code references updated to reflect logical values rather than voltage levels
Greg Malysa (10):
mach-sc5xx: Rename SC_BOOT_MODE
mach-sc5xx: Kconfig: Make EZKIT and EZLITE carriers mutually exclusive
docker: add Analog Devices tools to docker image
board: adi: Add SOMCRR infrastructure
board: adi: Add support for SC573-ezkit
board: adi: Add support for SC589 boards
board: adi: Add support for SC584-ezkit
board: adi: Add support for SC598
board: adi: Add support for SC594
MAINTAINERS: Update ADI entries for new boards
Utsav Agarwal (2):
mach-sc5xx: Introduce Kconfig symbols for image addresses
mach-sc5xx: Add preliminary support for binman
MAINTAINERS | 2 + arch/arm/dts/sc573-ezkit.dts | 240 ++++++++++++++++++ arch/arm/dts/sc57x.dtsi | 123 ++++++++- arch/arm/dts/sc584-ezkit.dts | 230 +++++++++++++++++ arch/arm/dts/sc589-ezkit.dts | 198 +++++++++++++++ arch/arm/dts/sc589-mini.dts | 18 +- arch/arm/dts/sc58x.dtsi | 164 +++++++++++- arch/arm/dts/sc594-som-ezkit.dts | 126 +++++++++ arch/arm/dts/sc594-som-ezlite.dts | 83 ++++++ arch/arm/dts/sc594-som.dtsi | 193 +++++++++++++- arch/arm/dts/sc598-som-ezkit.dts | 168 +++++++++++- arch/arm/dts/sc598-som-ezlite.dts | 84 +++++- arch/arm/dts/sc598-som-revD.dtsi | 72 ++++++ arch/arm/dts/sc598-som-revE.dtsi | 97 +++++++ arch/arm/dts/sc598-som.dtsi | 154 ++++++++++- arch/arm/dts/sc59x.dtsi | 183 +++++++++++++ arch/arm/dts/sc5xx.dtsi | 189 +++++++++++++- arch/arm/mach-sc5xx/Kconfig | 95 ++++++- arch/arm/mach-sc5xx/config.mk | 2 +- board/adi/carriers/Makefile | 8 + board/adi/carriers/somcrr.h | 14 + board/adi/carriers/somcrr_common.c | 19 ++ board/adi/carriers/somcrr_ezkit.c | 38 +++ board/adi/carriers/somcrr_ezlite.c | 24 ++ board/adi/common-sc594-som/sc594-som.c | 34 +++ board/adi/common-sc598-som/sc598-som.c | 34 +++ board/adi/sc573-ezkit/Makefile | 6 + board/adi/sc573-ezkit/sc573-ezkit.c | 21 ++ board/adi/sc573-ezkit/sc573-ezkit.env | 18 +- board/adi/sc584-ezkit/Makefile | 6 + board/adi/sc584-ezkit/sc584-ezkit.c | 21 ++ board/adi/sc584-ezkit/sc584-ezkit.env | 17 +- board/adi/sc589-ezkit/Makefile | 6 + board/adi/sc589-ezkit/sc589-ezkit.c | 21 ++ board/adi/sc589-ezkit/sc589-ezkit.env | 18 +- board/adi/sc589-mini/Makefile | 6 + board/adi/sc589-mini/sc589-mini.c | 21 ++ board/adi/sc589-mini/sc589-mini.env | 18 +- board/adi/sc594-som-ezkit/Makefile | 8 + board/adi/sc594-som-ezkit/sc594-som-ezkit.env | 19 +- board/adi/sc594-som-ezlite/Makefile | 8 + .../adi/sc594-som-ezlite/sc594-som-ezlite.env | 19 +- board/adi/sc598-som-ezkit/Makefile | 8 + board/adi/sc598-som-ezkit/sc598-som-ezkit.env | 19 +- board/adi/sc598-som-ezlite/Makefile | 8 + .../adi/sc598-som-ezlite/sc598-som-ezlite.env | 13 +- configs/sc573-ezkit_defconfig | 90 +++++++ configs/sc584-ezkit_defconfig | 96 +++++++ configs/sc589-ezkit_defconfig | 101 ++++++++ configs/sc589-mini_defconfig | 97 +++++++ configs/sc594-som-ezkit-spl_defconfig | 78 ++++++ configs/sc594-som-ezlite-spl_defconfig | 87 +++++++ configs/sc598-som-ezkit-spl_defconfig | 111 ++++++++ configs/sc598-som-ezlite-spl_defconfig | 110 ++++++++ tools/docker/Dockerfile | 16 ++ 55 files changed, 3563 insertions(+), 96 deletions(-) create mode 100644 arch/arm/dts/sc598-som-revD.dtsi create mode 100644 arch/arm/dts/sc598-som-revE.dtsi create mode 100644 arch/arm/dts/sc59x.dtsi create mode 100644 board/adi/carriers/Makefile create mode 100644 board/adi/carriers/somcrr.h create mode 100644 board/adi/carriers/somcrr_common.c create mode 100644 board/adi/carriers/somcrr_ezkit.c create mode 100644 board/adi/carriers/somcrr_ezlite.c create mode 100644 board/adi/common-sc594-som/sc594-som.c create mode 100644 board/adi/common-sc598-som/sc598-som.c create mode 100644 board/adi/sc573-ezkit/Makefile create mode 100644 board/adi/sc573-ezkit/sc573-ezkit.c create mode 100644 board/adi/sc584-ezkit/Makefile create mode 100644 board/adi/sc584-ezkit/sc584-ezkit.c create mode 100644 board/adi/sc589-ezkit/Makefile create mode 100644 board/adi/sc589-ezkit/sc589-ezkit.c create mode 100644 board/adi/sc589-mini/Makefile create mode 100644 board/adi/sc589-mini/sc589-mini.c create mode 100644 board/adi/sc594-som-ezkit/Makefile create mode 100644 board/adi/sc594-som-ezlite/Makefile create mode 100644 board/adi/sc598-som-ezkit/Makefile create mode 100644 board/adi/sc598-som-ezlite/Makefile create mode 100644 configs/sc573-ezkit_defconfig create mode 100644 configs/sc584-ezkit_defconfig create mode 100644 configs/sc589-ezkit_defconfig create mode 100644 configs/sc589-mini_defconfig create mode 100644 configs/sc594-som-ezkit-spl_defconfig create mode 100644 configs/sc594-som-ezlite-spl_defconfig create mode 100644 configs/sc598-som-ezkit-spl_defconfig create mode 100644 configs/sc598-som-ezlite-spl_defconfig
Signature · 4 lines
2.49.1 base-commit: 0e0a198a68be71148f5ec27ef86796174f91436f branch: dev/sc5xx-boards-v3
PATCH 1/12 mach-sc5xx: Introduce Kconfig symbols for image addresses
From: Utsav Agarwal <[email protected]>
Add Kconfig symbols to parameterize the SPI flash layout used in a default-ish configuration. This adds more flexibility to the default ADI environment, enabling customers with boards based on but not identical to an ezkit to reuse more of the infrastructure. Furthermore it allows for yocto (the expected default) or binman (to be introduced in this series) to configure or use the flash layout based on a single definition of all of the parameters when creating an image.
---
(no changes since v1)
--- arch/arm/mach-sc5xx/Kconfig | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+)
arch/arm/mach-sc5xx/Kconfig +30 -0
@@ -117,6 +117,36 @@ endchoice endif +config SC5XX_UBOOT_SPL_OFFSET + hex "SPL offset" + default 0x0 + help + The default offset where the SPL is located. + +config SC5XX_UBOOT_OFFSET + hex "U-Boot offset" + default 0x40000 + help + The default offset where u-boot is located. + +config SC5XX_FITIMAGE_OFFSET + hex "FitImage offset" + default 0x1a0000 + help + The default offset where the fitImage is located. + +config SC5XX_ROOTFS_OFFSET + hex "RootFS offset" + default 0x102000 + help + The default offset where the rootfs is located. + +config SC5XX_LOADADDR + hex "Load address" + default 0x90000000 + help + The default load address for u-boot. + config ADI_IMAGE string "ADI fitImage type" help
Signature · 1 line
2.49.1
PATCH 2/12 mach-sc5xx: Rename SC_BOOT_MODE
In reply to Greg MalysaThe symbol SC_BOOT_MODE was named incorrectly and inconsistently with its usage. The selected boot mode is set only by hardware and cannot be adjusted through software (apart from the use of FORCE_BMODE to instruct the boot rom to ignore the hardware setting when loading uboot proper, but this cannot change how SPL is loaded).
This symbol actually controlled the BCODE (easily confused with BMODE, shorthand for boot mode), so this renames it to SC_BCODE and updates the help text to reflect its actual usage: the BCODE is an SoC- and boot mode-specific setting that affects how the boot rom configures QSPI or OSPI in order to read an LDR file from the associated peripheral.
---
(no changes since v2)
Changes in v2:
- New
arch/arm/mach-sc5xx/Kconfig | 14 ++++++++------ arch/arm/mach-sc5xx/config.mk | 2 +- 2 files changed, 9 insertions(+), 7 deletions(-)
arch/arm/mach-sc5xx/Kconfig +8 -6
@@ -153,14 +153,16 @@ config ADI_IMAGE The image built by the ADI ADSP Linux build system. Is one of tiny, minimal, full. -config SC_BOOT_MODE - int "SC5XX boot mode select" +config SC_BCODE + int "SC5XX SPI BCODE select" default 1 - range 0 7 + range 0 15 help - Mode 0: do nothing, just idle - Mode 1: boot ldr out of serial flash - Mode 7: boot ldr over uart + This sets the BCODE option for the generated LDR file. The BCODE + is only used in SPI boots (QSPI/OSPI) but is set with no impact + in other boot modes so that one LDR file may be reused from any + boot media. The interpretation of this value is SoC and boot mode + specific, so you must refer to the HRM to interpret it. config SC_BOOT_SPI_BUS int "sc5xx spi boot bus"
arch/arm/mach-sc5xx/config.mk +1 -1
@@ -14,5 +14,5 @@ endif INPUTS-y += u-boot.ldr -LDR_FLAGS += --bcode=$(CONFIG_SC_BOOT_MODE) +LDR_FLAGS += --bcode=$(CONFIG_SC_BCODE) LDR_FLAGS += --use-vmas
Signature · 1 line
2.49.1
PATCH 3/12 mach-sc5xx: Kconfig: Make EZKIT and EZLITE carriers mutually exclusive
In reply to Greg MalysaSupport for the SOM-CRR variants introduces library level changes that are not modelled in the device tree. As a result they cannot both be selected at the same time, so this updates the dependency in Kconfig to prevent them from being enabled together.
---
(no changes since v2)
Changes in v2:
- New
arch/arm/mach-sc5xx/Kconfig | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-)
arch/arm/mach-sc5xx/Kconfig +12 -6
@@ -241,21 +241,27 @@ config ADI_BUG_EZKHW21 This workaround affects the SC584 EZKIT and addresses bug EZKHW21. It disables gigabit ethernet mode and limits the board to 100 Mbps +choice + prompt "Analog Devices SOM Carrier Board Variant" + depends on (SC59X || SC59X_64) + default ADI_CARRIER_SOMCRR_EZKIT + help + Select the specific EV-SOMCRR carrier board that you are using. + Using a SOM without a carrier board is not supported. + config ADI_CARRIER_SOMCRR_EZKIT bool "Support the EV-SOMCRR-EZKIT" - depends on (SC59X || SC59X_64) help Say y to include support for the EV-SOMCRR-EZKIT carrier board, - which is compatible with the SC594 and SC598 SOMs. The EZKIT is - mutually incompatible with the EZLITE. + which is compatible with the SC594 and SC598 SOMs. config ADI_CARRIER_SOMCRR_EZLITE bool "Support the EV-SOMCRR-EZLITE" - depends on (SC59X || SC59X_64) help Say y to include support for the EV-SOMCRR-EZLITE carrier board, - which is compatible with the SC594 and SC598 SOMs. The EZLITE is - mutually incompatible with the EZKIT. + which is compatible with the SC594 and SC598 SOMs. + +endchoice config ADI_SPL_FORCE_BMODE int "Force the SPL to use this BMODE device during next boot stage"
Signature · 1 line
2.49.1
PATCH 4/12 mach-sc5xx: Add preliminary support for binman
In reply to Greg MalysaFrom: Utsav Agarwal <[email protected]>
Binman is optionally supported for Analog Devices sc5xx SoCs if Yocto is not being used to create and assemble system images. The spl LDR is generated locally but other artifacts such as kernel FIT image and root file system are built externally and must be supplied to binman if used.
Binman is enabled by selecting the SC5XX_USE_BINMAN config symbol and the image structure is included in the shared sc5xx device tree.
---
(no changes since v1)
arch/arm/dts/sc5xx.dtsi | 52 +++++++++++++++++++++++++++++++++++++ arch/arm/mach-sc5xx/Kconfig | 33 +++++++++++++++++++++++ 2 files changed, 85 insertions(+)
arch/arm/dts/sc5xx.dtsi +52 -0
@@ -10,6 +10,58 @@ #address-cells = <1>; #size-cells = <1>; + chosen { + stdout-path = "serial0:115200"; + bootph-pre-ram; + }; + + aliases { + spi2 = "/spi2"; + serial0 = &uart0; + bootph-pre-ram; + }; + +#ifdef CONFIG_SC5XX_USE_BINMAN + binman { + filename = CONFIG_SC5XX_BINMAN_FILENAME; + stage1-boot { + offset = <CONFIG_SC5XX_UBOOT_SPL_OFFSET>; + type = "blob-ext"; + filename = "spl/u-boot-spl.ldr"; + }; + + /* since falcon mode can jump from SPL to OS directly + * full u-boot is optional + * + * @todo: review if we can say this given support has + * not yet been upstreamed. Otherwise we might have to + * invoke binman only for full u-boot. + */ + stage2-boot { + offset = <CONFIG_SC5XX_UBOOT_OFFSET>; + type = "blob-ext"; + filename = "u-boot.ldr"; + optional; + }; + +#ifdef CONFIG_SC5XX_FITIMAGE_NAME + fitImage { + offset = <CONFIG_SC5XX_FITIMAGE_OFFSET>; + type = "blob-ext"; + filename = CONFIG_SC5XX_FITIMAGE_NAME; + }; +#endif + +#ifdef CONFIG_SC5XX_ROOTFS_NAME + rfs { + offset = <CONFIG_SC5XX_ROOTFS_OFFSET>; + type = "blob-ext"; + filename = CONFIG_SC5XX_ROOTFS_NAME; + }; +#endif + }; +#endif + clocks { sys_clkin0: sys_clkin0 { compatible = "fixed-clock";
arch/arm/mach-sc5xx/Kconfig +33 -0
@@ -147,6 +147,39 @@ config SC5XX_LOADADDR help The default load address for u-boot. +menu "Binman configuration" +config SC5XX_USE_BINMAN + bool "Use binman for final image" + select BINMAN + help + If you wish to use binman to assemble an image, say 'Y' here. + This will enable binman-specific sections in the device tree. + +config SC5XX_BINMAN_FILENAME + string "Image name" + default "sc5xx-image.img" + depends on SC5XX_USE_BINMAN + help + The name of the image that will be created by binman. + This is used to create the final image. + +config SC5XX_FITIMAGE_NAME + string "FitImage name" + default "fitImage" + depends on SC5XX_USE_BINMAN + help + The name of the fitImage to be packed by binman. + This is used to create the final image. + +config SC5XX_ROOTFS_NAME + string "RootFS name" + default "rootfs" + depends on SC5XX_USE_BINMAN + help + The name of the rootfs to be packed by binman. + This is used to create the final image. +endmenu + config ADI_IMAGE string "ADI fitImage type" help
Signature · 1 line
2.49.1
PATCH 5/12 docker: add Analog Devices tools to docker image
In reply to Greg MalysaThe boot ROM on Analog Devices ADSP-SC5xx SoCs requires code packaged in the LDR format. Normally this is available as part of
our yocto-derived toolchain but, it is not a part of any other pre-made toolchain anymore, so it is otherwise unavailable in the docker image for CI. This patch adds a source build from the ADI maintained github repository. In the future, a package available for install via apt will be available, but currently there is no arm64 build upstream, so we must build from source for the time being to support CI on both amd64 and arm64 runners. The same ldr tool is used for arm and arm64 for all of our boards with names adjusted to match the expected $(CROSS_COMPILE) for these boards.
---
Changes in v3:
- Update repository url to match ADI's preferred name
- Switch to --depth=1 and check out a specific tag
Changes in v2:
- Clarifications in commit message
- Update to use meson rather than autotools due to changes in ldr
tools/docker/Dockerfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
tools/docker/Dockerfile +16 -0
@@ -342,6 +342,22 @@ RUN wget -O - https://coreboot.org/releases/coreboot-25.03.tar.xz | tar -C /tmp sudo cp build/coreboot.rom build/cbfstool /opt/coreboot/ && \ rm -rf /tmp/coreboot-25.03 +# Build ldr tool for Analog Devices boards and create prefixed symlinks to match +# $(CROSS_COMPILE) as used by different supported platforms +RUN git clone --depth=1 -b v1.0.2 https://github.com/analogdevicesinc/adsp-ldr.git /opt/adi-adsp-ldr && \ + cd /opt/adi-adsp-ldr && \ + python3 -m venv venv && \ + . venv/bin/activate && \ + pip install meson && \ + meson setup build && \ + cd build && \ + meson compile && \ + cd .. && \ + ln -s build/ldr arm-linux-gnueabi-ldr && \ + ln -s build/ldr aarch64-linux-ldr && \ + deactivate +ENV PATH="${PATH}:/opt/adi-adsp-ldr" + # Create our user/group RUN echo uboot ALL=NOPASSWD: ALL > /etc/sudoers.d/uboot RUN useradd -m -U uboot
Signature · 1 line
2.49.1
PATCH 6/12 board: adi: Add SOMCRR infrastructure
In reply to Greg MalysaThis adds infrastructure and shared library code for building targets that use the ADI SOMCRR-EZKIT and SOMCRR-EZLITE carrier boards. These are not used directly as board targets in their own right.
---
(no changes since v2)
Changes in v2:
- GPIO names and polarities adjusted to match logical usage
board/adi/carriers/Makefile | 8 +++++++ board/adi/carriers/somcrr.h | 14 +++++++++++ board/adi/carriers/somcrr_common.c | 19 +++++++++++++++ board/adi/carriers/somcrr_ezkit.c | 38 ++++++++++++++++++++++++++++++ board/adi/carriers/somcrr_ezlite.c | 24 +++++++++++++++++++ 5 files changed, 103 insertions(+) create mode 100644 board/adi/carriers/Makefile create mode 100644 board/adi/carriers/somcrr.h create mode 100644 board/adi/carriers/somcrr_common.c create mode 100644 board/adi/carriers/somcrr_ezkit.c create mode 100644 board/adi/carriers/somcrr_ezlite.c
board/adi/carriers/Makefile new file +8 -0
@@ -0,0 +1,8 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# +# (C) Copyright 2024 - Analog Devices, Inc. +# + +obj-y += somcrr_common.o +obj-$(CONFIG_ADI_CARRIER_SOMCRR_EZKIT) += somcrr_ezkit.o +obj-$(CONFIG_ADI_CARRIER_SOMCRR_EZLITE) += somcrr_ezlite.o
board/adi/carriers/somcrr.h new file +14 -0
@@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* +* (C) Copyright 2025 - Analog Devices, Inc. +* +*/ + +#ifndef BOARD_ADI_CARRIERS_SOMCRR_H +#define BOARD_ADI_CARRIERS_SOMCRR_H + +void adi_somcrr_init_ethernet (void ); +void adi_somcrr_enable_ethernet (void ); +void adi_somcrr_disable_ethernet (void ); + +#endif
board/adi/carriers/somcrr_common.c new file +19 -0
@@ -0,0 +1,19 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* +* (C) Copyright 2025 - Analog Devices, Inc. +*/ + +#include <asm/arch-adi/sc5xx/sc5xx.h> +#include <linux/delay.h> + +#include "somcrr.h" + +void adi_somcrr_init_ethernet (void ) +{ +adi_somcrr_enable_ethernet (); +mdelay (20 ); +adi_somcrr_disable_ethernet (); +mdelay (90 ); +adi_somcrr_enable_ethernet (); +mdelay (20 ); +}
board/adi/carriers/somcrr_ezkit.c new file +38 -0
@@ -0,0 +1,38 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* +* (C) Copyright 2025 - Analog Devices, Inc. +*/ + +#include <asm/gpio.h> + +#include "somcrr.h" + +void adi_somcrr_enable_ethernet (void ) +{ +struct gpio_desc *eth1; +struct gpio_desc *eth1_reset; +struct gpio_desc *gige_reset; + +gpio_hog_lookup_name ("eth1-en" , ð1); +gpio_hog_lookup_name ("eth1-reset" , ð1_reset); +gpio_hog_lookup_name ("gige-reset" , &gige_reset); + +dm_gpio_set_value (eth1,1 ); +dm_gpio_set_value (eth1_reset,0 ); +dm_gpio_set_value (gige_reset,0 ); +} + +void adi_somcrr_disable_ethernet (void ) +{ +struct gpio_desc *eth1; +struct gpio_desc *eth1_reset; +struct gpio_desc *gige_reset; + +gpio_hog_lookup_name ("eth1-en" , ð1); +gpio_hog_lookup_name ("eth1-reset" , ð1_reset); +gpio_hog_lookup_name ("gige-reset" , &gige_reset); + +dm_gpio_set_value (eth1,0 ); +dm_gpio_set_value (eth1_reset,1 ); +dm_gpio_set_value (gige_reset,1 ); +}
board/adi/carriers/somcrr_ezlite.c new file +24 -0
@@ -0,0 +1,24 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* +* (C) Copyright 2025 - Analog Devices, Inc. +*/ + +#include <asm/gpio.h> + +#include "somcrr.h" + +void adi_somcrr_enable_ethernet (void ) +{ +struct gpio_desc *gige_reset; + +gpio_hog_lookup_name ("eth0-reset" , &gige_reset); +dm_gpio_set_value (gige_reset,0 ); +} + +void adi_somcrr_disable_ethernet (void ) +{ +struct gpio_desc *gige_reset; + +gpio_hog_lookup_name ("eth0-reset" , &gige_reset); +dm_gpio_set_value (gige_reset,1 ); +}
Signature · 1 line
2.49.1
PATCH 7/12 board: adi: Add support for SC573-ezkit
In reply to Greg MalysaThis adds support for the Analog Devices SC573 EZKIT.
---
Changes in v3:
- Add one more GPIO that was named incorrectly
- Removed whitespace in .env
Changes in v2:
- GPIO names and polarities adjusted to match logical usage
arch/arm/dts/sc573-ezkit.dts | 240 ++++++++++++++++++++++++++ arch/arm/dts/sc57x.dtsi | 123 ++++++++++++- arch/arm/dts/sc5xx.dtsi | 76 +++++++- board/adi/sc573-ezkit/Makefile | 6 + board/adi/sc573-ezkit/sc573-ezkit.c | 21 +++ board/adi/sc573-ezkit/sc573-ezkit.env | 18 +- configs/sc573-ezkit_defconfig | 90 ++++++++++ 7 files changed, 562 insertions(+), 12 deletions(-) create mode 100644 board/adi/sc573-ezkit/Makefile create mode 100644 board/adi/sc573-ezkit/sc573-ezkit.c create mode 100644 configs/sc573-ezkit_defconfig
arch/arm/dts/sc573-ezkit.dts +240 -0
@@ -5,9 +5,249 @@ /dts-v1/; +#include "sc5xx.dtsi" #include "sc57x.dtsi" / { model = "ADI SC573-EZKIT"; compatible = "adi,sc573-ezkit", "adi,sc57x"; }; + +&i2c0 { + gpio_expander1: mcp23017@21 { + compatible = "microchip,mcp23017"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + bootph-pre-ram; + + eeprom { + gpio-hog; + gpios = <0 GPIO_ACTIVE_LOW>; + output-low; + line-name = "eeprom-en"; + bootph-pre-ram; + }; + + uart0-flow-en { + gpio-hog; + gpios = <1 GPIO_ACTIVE_LOW>; + output-low; + line-name = "uart0-flow-en"; + bootph-pre-ram; + }; + + mlb { + gpio-hog; + gpios = <5 GPIO_ACTIVE_LOW>; + output-low; + line-name = "mlb-en"; + bootph-pre-ram; + }; + + can0 { + gpio-hog; + gpios = <6 GPIO_ACTIVE_LOW>; + output-low; + line-name = "can0-en"; + bootph-pre-ram; + }; + + can1 { + gpio-hog; + gpios = <7 GPIO_ACTIVE_LOW>; + output-low; + line-name = "can1-en"; + bootph-pre-ram; + }; + + adau1962 { + gpio-hog; + gpios = <8 GPIO_ACTIVE_LOW>; + output-high; + line-name = "adau1962-en"; + bootph-pre-ram; + }; + + adau1979 { + gpio-hog; + gpios = <9 GPIO_ACTIVE_LOW>; + output-high; + line-name = "adau1979-en"; + bootph-pre-ram; + }; + + sd-wp-en { + gpio-hog; + gpios = <11 GPIO_ACTIVE_LOW>; + output-low; + line-name = "sd-wp-en"; + bootph-pre-ram; + }; + + spi2flash-cs { + gpio-hog; + gpios = <12 GPIO_ACTIVE_LOW>; + output-high; + line-name = "spi2flash-cs"; + bootph-pre-ram; + }; + + spi2d2-d3 { + gpio-hog; + gpios = <13 GPIO_ACTIVE_LOW>; + output-high; + line-name = "spi2d2-d3-en"; + bootph-pre-ram; + }; + + spdif-opt { + gpio-hog; + gpios = <14 GPIO_ACTIVE_LOW>; + output-low; + line-name = "spdif-optical-en"; + bootph-pre-ram; + }; + + spdif-dig { + gpio-hog; + gpios = <15 GPIO_ACTIVE_LOW>; + output-low; + line-name = "spdif-digital-en"; + bootph-pre-ram; + }; + }; + + gpio_expander2: mcp23017@22 { + compatible = "microchip,mcp23017"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + bootph-pre-ram; + + pushbutton3 { + gpio-hog; + gpios = <0 GPIO_ACTIVE_LOW>; + output-low; + line-name = "pushbutton3-en"; + bootph-pre-ram; + }; + + pushbutton2 { + gpio-hog; + gpios = <1 GPIO_ACTIVE_LOW>; + output-low; + line-name = "pushbutton2-en"; + bootph-pre-ram; + }; + + pushbutton1 { + gpio-hog; + gpios = <2 GPIO_ACTIVE_LOW>; + output-low; + line-name = "pushbutton1-en"; + bootph-pre-ram; + }; + + leds { + gpio-hog; + gpios = <3 GPIO_ACTIVE_LOW>; + output-low; + line-name = "leds-en"; + bootph-pre-ram; + }; + + flg0 { + gpio-hog; + gpios = <4 GPIO_ACTIVE_LOW>; + output-low; + line-name = "flg0_loop"; + bootph-pre-ram; + }; + + flg1 { + gpio-hog; + gpios = <5 GPIO_ACTIVE_LOW>; + output-low; + line-name = "flg1_loop"; + bootph-pre-ram; + }; + + flg2 { + gpio-hog; + gpios = <6 GPIO_ACTIVE_LOW>; + output-low; + line-name = "flg2_loop"; + bootph-pre-ram; + }; + + flg3 { + gpio-hog; + gpios = <7 GPIO_ACTIVE_LOW>; + output-low; + line-name = "flg3_loop"; + bootph-pre-ram; + }; + + adau1977 { + gpio-hog; + gpios = <8 GPIO_ACTIVE_LOW>; + output-low; + line-name = "adau1977_en"; + bootph-pre-ram; + }; + + adau1977_fault_rst { + gpio-hog; + gpios = <9 GPIO_ACTIVE_LOW>; + output-low; + line-name = "adau1977_fault_rst_en"; + bootph-pre-ram; + }; + + thumbwheel { + gpio-hog; + gpios = <10 GPIO_ACTIVE_LOW>; + output-low; + line-name = "thumbwheel_oe"; + bootph-pre-ram; + }; + + engine_rpm { + gpio-hog; + gpios = <11 GPIO_ACTIVE_LOW>; + output-low; + line-name = "engine_rpm_oe"; + bootph-pre-ram; + }; + }; +}; + +ð0 { + snps,reset-gpio = <&gpio0 ADI_ADSP_PIN('A', 5) GPIO_ACTIVE_LOW>; +}; + +&gpio0 { + emac0_phy_pwdn { + gpio-hog; + output-high; + gpios = <ADI_ADSP_PIN('A', 4) GPIO_ACTIVE_HIGH>; + }; +}; + +&mmc { + status = "okay"; +}; + +&spi2 { + flash1: is25lp512@1 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "jedec,spi-nor", "is25lp512"; + reg = <1>; + spi-tx-bus-width = <4>; + spi-rx-bus-width = <4>; + spi-max-frequency = <10000000>; + bootph-pre-ram; + }; +};
arch/arm/dts/sc57x.dtsi +119 -4
138 lines not on this page · raw message
arch/arm/dts/sc5xx.dtsi +75 -1
82 lines not on this page · raw message
board/adi/sc573-ezkit/Makefile new file +6 -0
@@ -0,0 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# +# (C) Copyright 2025 - Analog Devices, Inc. +# + +obj-y += sc573-ezkit.o
board/adi/sc573-ezkit/sc573-ezkit.c new file +21 -0
@@ -0,0 +1,21 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* +* (C) Copyright 2025 - Analog Devices, Inc. +*/ + +#include <phy.h> +#include <asm/u-boot.h> +#include <asm/arch-adi/sc5xx/sc5xx.h> +#include <asm/arch-adi/sc5xx/soc.h> + +int board_phy_config (struct phy_device *phydev) +{ +fixup_dp83867_phy (phydev); +return 0 ; +} + +int board_init (void ) +{ +sc5xx_enable_rgmii (); +return 0 ; +}
board/adi/sc573-ezkit/sc573-ezkit.env +11 -7
@@ -1,13 +1,17 @@ /* SPDX-License-Identifier: GPL-2.0-or-later+ */ - /* * (C) Copyright 2024 - Analog Devices, Inc. */ -#include <env/adi/adi_boot.env> - -adi_stage2_offset=0x20000 -adi_image_offset=0xE0000 -adi_rfs_offset=0x6E0000 -loadaddr=0x83000000 +adi_stage2_offset=CONFIG_SC5XX_UBOOT_OFFSET +adi_image_offset=CONFIG_SC5XX_FITIMAGE_OFFSET +adi_rfs_offset=CONFIG_SC5XX_ROOTFS_OFFSET jffs2file=adsp-sc5xx-__stringify(CONFIG_ADI_IMAGE)-adsp-sc573-ezkit.jffs2 +loadaddr=CONFIG_SC5XX_LOADADDR + +#define USE_NFS +#define USE_SPI +#define USE_RAM +#define USE_MMC + +#include <env/adi/adi_boot.env>
configs/sc573-ezkit_defconfig new file +90 -0
90 lines not on this page · raw message
Signature · 1 line
2.49.1
PATCH 8/12 board: adi: Add support for SC589 boards
In reply to Greg MalysaThis adds support for the Analog Devices SC589-EZKIT and SC589-mini.
---
Changes in v3:
- Add one more GPIO that was named incorrectly
- Removed whitespace in .env
Changes in v2:
- GPIO names and polarities adjusted to match logical usage
arch/arm/dts/sc589-ezkit.dts | 198 ++++++++++++++++++++++++++ arch/arm/dts/sc589-mini.dts | 18 ++- arch/arm/dts/sc58x.dtsi | 164 ++++++++++++++++++++- board/adi/sc589-ezkit/Makefile | 6 + board/adi/sc589-ezkit/sc589-ezkit.c | 21 +++ board/adi/sc589-ezkit/sc589-ezkit.env | 18 ++- board/adi/sc589-mini/Makefile | 6 + board/adi/sc589-mini/sc589-mini.c | 21 +++ board/adi/sc589-mini/sc589-mini.env | 18 ++- configs/sc589-ezkit_defconfig | 101 +++++++++++++ configs/sc589-mini_defconfig | 97 +++++++++++++ 11 files changed, 650 insertions(+), 18 deletions(-) create mode 100644 board/adi/sc589-ezkit/Makefile create mode 100644 board/adi/sc589-ezkit/sc589-ezkit.c create mode 100644 board/adi/sc589-mini/Makefile create mode 100644 board/adi/sc589-mini/sc589-mini.c create mode 100644 configs/sc589-ezkit_defconfig create mode 100644 configs/sc589-mini_defconfig
arch/arm/dts/sc589-ezkit.dts +198 -0
@@ -8,6 +8,204 @@ #include "sc58x.dtsi" / { + #address-cells = <1>; + #size-cells = <1>; model = "ADI SC589-EZKIT"; compatible = "adi,sc589-ezkit", "adi,sc58x"; }; + +&i2c0 { + #address-cells = <1>; + #size-cells = <0>; + gpio_expander1: mcp23017@21 { + compatible = "microchip,mcp23017"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + bootph-pre-ram; + + eeprom { + gpio-hog; + gpios = <0 GPIO_ACTIVE_LOW>; + output-low; + line-name = "eeprom-en"; + bootph-pre-ram; + }; + + uart0-flow-en { + gpio-hog; + gpios = <1 GPIO_ACTIVE_LOW>; + output-low; + line-name = "uart0-flow-en"; + bootph-pre-ram; + }; + + uart0-en { + gpio-hog; + gpios = <2 GPIO_ACTIVE_LOW>; + output-high; + line-name = "uart0-en"; + bootph-pre-ram; + }; + + eth0 { + gpio-hog; + gpios = <3 GPIO_ACTIVE_LOW>; + output-high; + line-name = "eth0-en"; + bootph-pre-ram; + }; + + eth1 { + gpio-hog; + gpios = <4 GPIO_ACTIVE_LOW>; + output-high; + line-name = "eth1-en"; + bootph-pre-ram; + }; + + mlb { + gpio-hog; + gpios = <5 GPIO_ACTIVE_LOW>; + output-low; + line-name = "mlb-en"; + bootph-pre-ram; + }; + + can0 { + gpio-hog; + gpios = <6 GPIO_ACTIVE_LOW>; + output-low; + line-name = "can0-en"; + bootph-pre-ram; + }; + + can1 { + gpio-hog; + gpios = <7 GPIO_ACTIVE_LOW>; + output-low; + line-name = "can1-en"; + bootph-pre-ram; + }; + + adau1962 { + gpio-hog; + gpios = <8 GPIO_ACTIVE_LOW>; + output-high; + line-name = "adau1962-en"; + bootph-pre-ram; + }; + + adau1979 { + gpio-hog; + gpios = <9 GPIO_ACTIVE_LOW>; + output-high; + line-name = "adau1979-en"; + bootph-pre-ram; + }; + + sd_wp { + gpio-hog; + gpios = <11 GPIO_ACTIVE_LOW>; + output-low; + line-name = "sd-wp-en"; + bootph-pre-ram; + }; + + spi2d2-d3 { + gpio-hog; + gpios = <12 GPIO_ACTIVE_LOW>; + output-high; + line-name = "spi2d2-d3-en"; + bootph-pre-ram; + }; + + spi2flash-cs { + gpio-hog; + gpios = <13 GPIO_ACTIVE_LOW>; + output-high; + line-name = "spi2flash-cs"; + bootph-pre-ram; + }; + + spdif-opt { + gpio-hog; + gpios = <14 GPIO_ACTIVE_LOW>; + output-low; + line-name = "spdif-optical-en"; + bootph-pre-ram; + }; + + spdif-dig { + gpio-hog; + gpios = <15 GPIO_ACTIVE_LOW>; + output-low; + line-name = "spdif-digital-en"; + bootph-pre-ram; + }; + }; + + gpio_expander2: mcp23017@22 { + compatible = "microchip,mcp23017"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + bootph-pre-ram; + + pushbutton1 { + gpio-hog; + gpios = <0 GPIO_ACTIVE_LOW>; + output-high; + line-name = "pushbutton1-en"; + bootph-pre-ram; + }; + + pushbutton2 { + gpio-hog; + gpios = <1 GPIO_ACTIVE_LOW>; + output-high; + line-name = "pushbutton2-en"; + bootph-pre-ram; + }; + + led10 { + gpio-hog; + gpios = <2 GPIO_ACTIVE_LOW>; + output-high; + line-name = "led10-en"; + bootph-pre-ram; + }; + + led11 { + gpio-hog; + gpios = <3 GPIO_ACTIVE_LOW>; + output-high; + line-name = "led11-en"; + bootph-pre-ram; + }; + + led12 { + gpio-hog; + gpios = <4 GPIO_ACTIVE_LOW>; + output-high; + line-name = "led12-en"; + bootph-pre-ram; + }; + }; +}; + +ð0 { + snps,reset-gpio = <&gpio0 ADI_ADSP_PIN('B', 14) GPIO_ACTIVE_LOW>; +}; + +&gpio0 { + emac0_phy_pwdn { + gpio-hog; + output-high; + gpios = <ADI_ADSP_PIN('C', 15) GPIO_ACTIVE_HIGH>; + }; +}; + +&mmc { + status = "okay"; +};
arch/arm/dts/sc589-mini.dts +17 -1
@@ -8,6 +8,22 @@ #include "sc58x.dtsi" / { - model = "ADI SC598-MINI"; + model = "ADI SC589-MINI"; compatible = "adi,sc589-mini", "adi,sc58x"; }; + +ð0 { + snps,reset-gpio = <&gpio0 ADI_ADSP_PIN('B', 7) GPIO_ACTIVE_LOW>; +}; + +&gpio0 { + emac0_phy_pwdn { + gpio-hog; + output-high; + gpios = <ADI_ADSP_PIN('F', 6) GPIO_ACTIVE_HIGH>; + }; +}; + +&mmc { + status = "okay"; +};
arch/arm/dts/sc58x.dtsi +161 -3
179 lines not on this page · raw message
board/adi/sc589-ezkit/Makefile new file +6 -0
@@ -0,0 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# +# (C) Copyright 2025 - Analog Devices, Inc. +# + +obj-y := sc589-ezkit.o
board/adi/sc589-ezkit/sc589-ezkit.c new file +21 -0
@@ -0,0 +1,21 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* +* (C) Copyright 2025 - Analog Devices, Inc. +*/ + +#include <phy.h> +#include <asm/u-boot.h> +#include <asm/arch-adi/sc5xx/sc5xx.h> +#include <asm/arch-adi/sc5xx/soc.h> + +int board_phy_config (struct phy_device *phydev) +{ +fixup_dp83867_phy (phydev); +return 0 ; +} + +int board_init (void ) +{ +sc5xx_enable_rgmii (); +return 0 ; +}
board/adi/sc589-ezkit/sc589-ezkit.env +11 -7
@@ -1,13 +1,17 @@ /* SPDX-License-Identifier: GPL-2.0-or-later+ */ - /* * (C) Copyright 2024 - Analog Devices, Inc. */ -#include <env/adi/adi_boot.env> - -adi_stage2_offset=0x20000 -adi_image_offset=0xE0000 -adi_rfs_offset=0x6E0000 -loadaddr=0xC3000000 +adi_stage2_offset=CONFIG_SC5XX_UBOOT_OFFSET +adi_image_offset=CONFIG_SC5XX_FITIMAGE_OFFSET +adi_rfs_offset=CONFIG_SC5XX_ROOTFS_OFFSET jffs2file=adsp-sc5xx-__stringify(CONFIG_ADI_IMAGE)-adsp-sc589-ezkit.jffs2 +loadaddr=CONFIG_SC5XX_LOADADDR + +#define USE_NFS +#define USE_RAM +#define USE_MMC +#define USE_SPI + +#include <env/adi/adi_boot.env>
board/adi/sc589-mini/Makefile new file +6 -0
@@ -0,0 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# +# (C) Copyright 2025 - Analog Devices, Inc. +# + +obj-y := sc589-mini.o
board/adi/sc589-mini/sc589-mini.c new file +21 -0
@@ -0,0 +1,21 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* +* (C) Copyright 2025 - Analog Devices, Inc. +*/ + +#include <phy.h> +#include <asm/u-boot.h> +#include <asm/arch-adi/sc5xx/sc5xx.h> +#include <asm/arch-adi/sc5xx/soc.h> + +int board_phy_config (struct phy_device *phydev) +{ +fixup_dp83867_phy (phydev); +return 0 ; +} + +int board_init (void ) +{ +sc5xx_enable_rgmii (); +return 0 ; +}
board/adi/sc589-mini/sc589-mini.env +11 -7
@@ -1,13 +1,17 @@ /* SPDX-License-Identifier: GPL-2.0-or-later+ */ - /* * (C) Copyright 2024 - Analog Devices, Inc. */ -#include <env/adi/adi_boot.env> - -adi_stage2_offset=0x20000 -adi_image_offset=0xE0000 -adi_rfs_offset=0x8E0000 -loadaddr=0xC3000000 +adi_stage2_offset=CONFIG_SC5XX_UBOOT_OFFSET +adi_image_offset=CONFIG_SC5XX_FITIMAGE_OFFSET +adi_rfs_offset=CONFIG_SC5XX_ROOTFS_OFFSET jffs2file=adsp-sc5xx-__stringify(CONFIG_ADI_IMAGE)-adsp-sc589-mini.jffs2 +loadaddr=CONFIG_SC5XX_LOADADDR + +#define USE_NFS +#define USE_RAM +#define USE_SPI +#define USE_MMC + +#include <env/adi/adi_boot.env>
configs/sc589-ezkit_defconfig new file +101 -0
101 lines not on this page · raw message
configs/sc589-mini_defconfig new file +97 -0
97 lines not on this page · raw message
Signature · 1 line
2.49.1
PATCH 9/12 board: adi: Add support for SC584-ezkit
In reply to Greg MalysaThis adds support for the Analog Devices SC584-EZKIT.
---
Changes in v3:
- Add one more GPIO that was named incorrectly
- Removed whitespace in .env
Changes in v2:
- GPIO names and polarities adjusted to match logical usage
arch/arm/dts/sc584-ezkit.dts | 230 ++++++++++++++++++++++++++ board/adi/sc584-ezkit/Makefile | 6 + board/adi/sc584-ezkit/sc584-ezkit.c | 21 +++ board/adi/sc584-ezkit/sc584-ezkit.env | 17 +- configs/sc584-ezkit_defconfig | 96 +++++++++++ 5 files changed, 363 insertions(+), 7 deletions(-) create mode 100644 board/adi/sc584-ezkit/Makefile create mode 100644 board/adi/sc584-ezkit/sc584-ezkit.c create mode 100644 configs/sc584-ezkit_defconfig
arch/arm/dts/sc584-ezkit.dts +230 -0
@@ -11,3 +11,233 @@ model = "ADI SC584-EZKIT"; compatible = "adi,sc584-ezkit", "adi,sc58x"; }; + +&i2c2 { + gpio_expander1: mcp23017@21 { + compatible = "microchip,mcp23017"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + bootph-pre-ram; + + eeprom { + gpio-hog; + gpios = <0 GPIO_ACTIVE_LOW>; + output-low; + line-name = "eeprom-en"; + bootph-pre-ram; + }; + + uart0-flow-en { + gpio-hog; + gpios = <1 GPIO_ACTIVE_LOW>; + output-low; + line-name = "uart0-flow-en"; + bootph-pre-ram; + }; + + uart0-en { + gpio-hog; + gpios = <2 GPIO_ACTIVE_LOW>; + output-high; + line-name = "uart0-en"; + bootph-pre-ram; + }; + + mlb { + gpio-hog; + gpios = <5 GPIO_ACTIVE_LOW>; + output-low; + line-name = "mlb-en"; + bootph-pre-ram; + }; + + can0 { + gpio-hog; + gpios = <6 GPIO_ACTIVE_LOW>; + output-low; + line-name = "can0-en"; + bootph-pre-ram; + }; + + can1 { + gpio-hog; + gpios = <7 GPIO_ACTIVE_LOW>; + output-low; + line-name = "can1-en"; + bootph-pre-ram; + }; + + adau1962 { + gpio-hog; + gpios = <8 GPIO_ACTIVE_LOW>; + output-high; + line-name = "adau1962-en"; + bootph-pre-ram; + }; + + adau1979 { + gpio-hog; + gpios = <9 GPIO_ACTIVE_LOW>; + output-high; + line-name = "adau1979-en"; + bootph-pre-ram; + }; + + audio_jack_sel { + gpio-hog; + gpios = <10 GPIO_ACTIVE_HIGH>; + output-low; + line-name = "audio_jack_sel"; + bootph-pre-ram; + }; + + spi2d2-d3 { + gpio-hog; + gpios = <12 GPIO_ACTIVE_LOW>; + output-high; + line-name = "spi2d2-d3-en"; + bootph-pre-ram; + }; + + spi2flash-cs { + gpio-hog; + gpios = <13 GPIO_ACTIVE_LOW>; + output-high; + line-name = "spi2flash-cs"; + bootph-pre-ram; + }; + + spdif-opt { + gpio-hog; + gpios = <14 GPIO_ACTIVE_LOW>; + output-low; + line-name = "spdif-optical-en"; + bootph-pre-ram; + }; + + spdif-dig { + gpio-hog; + gpios = <15 GPIO_ACTIVE_LOW>; + output-low; + line-name = "spdif-digital-en"; + bootph-pre-ram; + }; + }; + + gpio_expander2: mcp23017@22 { + compatible = "microchip,mcp23017"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + bootph-pre-ram; + + pushbutton3 { + gpio-hog; + gpios = <0 GPIO_ACTIVE_LOW>; + output-high; + line-name = "pushbutton3-en"; + bootph-pre-ram; + }; + + pushbutton2 { + gpio-hog; + gpios = <1 GPIO_ACTIVE_LOW>; + output-high; + line-name = "pushbutton2-en"; + bootph-pre-ram; + }; + + pushbutton1 { + gpio-hog; + gpios = <2 GPIO_ACTIVE_LOW>; + output-high; + line-name = "pushbutton1-en"; + bootph-pre-ram; + }; + + leds { + gpio-hog; + gpios = <3 GPIO_ACTIVE_LOW>; + output-high; + line-name = "leds-en"; + bootph-pre-ram; + }; + + flg0 { + gpio-hog; + gpios = <4 GPIO_ACTIVE_LOW>; + output-high; + line-name = "flg0_loop"; + bootph-pre-ram; + }; + + flg1 { + gpio-hog; + gpios = <5 GPIO_ACTIVE_LOW>; + output-high; + line-name = "flg1_loop"; + bootph-pre-ram; + }; + + flg2 { + gpio-hog; + gpios = <6 GPIO_ACTIVE_LOW>; + output-high; + line-name = "flg2_loop"; + bootph-pre-ram; + }; + + flg3 { + gpio-hog; + gpios = <7 GPIO_ACTIVE_LOW>; + output-high; + line-name = "flg3_loop"; + bootph-pre-ram; + }; + + adau1977 { + gpio-hog; + gpios = <8 GPIO_ACTIVE_LOW>; + output-high; + line-name = "adau1977_en"; + bootph-pre-ram; + }; + + adau1977_fault_rst { + gpio-hog; + gpios = <9 GPIO_ACTIVE_LOW>; + output-low; + line-name = "adau1977_fault_rst_en"; + bootph-pre-ram; + }; + + thumbwheel { + gpio-hog; + gpios = <10 GPIO_ACTIVE_LOW>; + output-high; + line-name = "thumbwheel_oe"; + bootph-pre-ram; + }; + + engine_rpm { + gpio-hog; + gpios = <11 GPIO_ACTIVE_LOW>; + output-high; + line-name = "engine_rpm_oe"; + bootph-pre-ram; + }; + }; +}; + +ð0 { + snps,reset-gpio = <&gpio0 ADI_ADSP_PIN('B', 14) GPIO_ACTIVE_LOW>; +}; + +&gpio0 { + emac0_phy_pwdn { + gpio-hog; + output-high; + gpios = <ADI_ADSP_PIN('C', 15) GPIO_ACTIVE_HIGH>; + }; +};
board/adi/sc584-ezkit/Makefile new file +6 -0
@@ -0,0 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# +# (C) Copyright 2025 - Analog Devices, Inc. +# + +obj-y := sc584-ezkit.o
board/adi/sc584-ezkit/sc584-ezkit.c new file +21 -0
@@ -0,0 +1,21 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* +* (C) Copyright 2025 - Analog Devices, Inc. +*/ + +#include <phy.h> +#include <asm/u-boot.h> +#include <asm/arch-adi/sc5xx/sc5xx.h> +#include <asm/arch-adi/sc5xx/soc.h> + +int board_phy_config (struct phy_device *phydev) +{ +fixup_dp83867_phy (phydev); +return 0 ; +} + +int board_init (void ) +{ +sc5xx_enable_rgmii (); +return 0 ; +}
board/adi/sc584-ezkit/sc584-ezkit.env +10 -7
@@ -1,13 +1,16 @@ /* SPDX-License-Identifier: GPL-2.0-or-later+ */ - /* * (C) Copyright 2024 - Analog Devices, Inc. */ -#include <env/adi/adi_boot.env> - -adi_stage2_offset=0x20000 -adi_image_offset=0xE0000 -adi_rfs_offset=0x6E0000 -loadaddr=0x89300000 +adi_stage2_offset=CONFIG_SC5XX_UBOOT_OFFSET +adi_image_offset=CONFIG_SC5XX_FITIMAGE_OFFSET +adi_rfs_offset=CONFIG_SC5XX_ROOTFS_OFFSET jffs2file=adsp-sc5xx-__stringify(CONFIG_ADI_IMAGE)-adsp-sc584-ezkit.jffs2 +loadaddr=CONFIG_SC5XX_LOADADDR + +#define USE_NFS +#define USE_SPI +#define USE_RAM + +#include <env/adi/adi_boot.env>
configs/sc584-ezkit_defconfig new file +96 -0
96 lines not on this page · raw message
Signature · 1 line
2.49.1
PATCH 10/12 board: adi: Add support for SC598
In reply to Greg MalysaThis adds support for the Analog Devices SC598-SOM and configurations for using it with both the SOMCRR-EZKIT and SOMCRR-EZLITE. This adds dtsis for both Rev D (including older revisions) and Rev E SOMs, which are not compatible due to BOM changes. Although no new Rev D SOMs are produced as of 2025, many are in circulation, so the RevD dtsi is included to facilitate use for existing customers.
---
Changes in v3:
- Add one more GPIO that was named incorrectly
- Removed whitespace in .env
Changes in v2:
- GPIO names and polarities adjusted to match logical usage
- RevE support added (default) and RevD support separated to be usable if someone has older hardware by changing which file is included in the device tree.
arch/arm/dts/sc598-som-ezkit.dts | 168 +++++++++++++++- arch/arm/dts/sc598-som-ezlite.dts | 84 +++++++- arch/arm/dts/sc598-som-revD.dtsi | 72 +++++++ arch/arm/dts/sc598-som-revE.dtsi | 97 ++++++++++ arch/arm/dts/sc598-som.dtsi | 154 ++++++++++++++- arch/arm/dts/sc59x.dtsi | 183 ++++++++++++++++++ arch/arm/dts/sc5xx.dtsi | 61 +++++- board/adi/common-sc598-som/sc598-som.c | 34 ++++ board/adi/sc598-som-ezkit/Makefile | 8 + board/adi/sc598-som-ezkit/sc598-som-ezkit.env | 19 +- board/adi/sc598-som-ezlite/Makefile | 8 + .../adi/sc598-som-ezlite/sc598-som-ezlite.env | 13 +- configs/sc598-som-ezkit-spl_defconfig | 111 +++++++++++ configs/sc598-som-ezlite-spl_defconfig | 110 +++++++++++ 14 files changed, 1093 insertions(+), 29 deletions(-) create mode 100644 arch/arm/dts/sc598-som-revD.dtsi create mode 100644 arch/arm/dts/sc598-som-revE.dtsi create mode 100644 arch/arm/dts/sc59x.dtsi create mode 100644 board/adi/common-sc598-som/sc598-som.c create mode 100644 board/adi/sc598-som-ezkit/Makefile create mode 100644 board/adi/sc598-som-ezlite/Makefile create mode 100644 configs/sc598-som-ezkit-spl_defconfig create mode 100644 configs/sc598-som-ezlite-spl_defconfig
arch/arm/dts/sc598-som-ezkit.dts +167 -1
@@ -5,9 +5,175 @@ /dts-v1/; -#include "sc598-som.dtsi" +#include "sc598-som-revE.dtsi" / { model = "ADI SC598-SOM-EZKIT"; compatible = "adi,sc598-som-ezkit", "adi,sc59x-64"; }; + +&i2c2 { + gpio_expander2: mcp23017@22 { + compatible = "microchip,mcp23017"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + bootph-pre-ram; + + eeprom { + gpio-hog; + gpios = <0 GPIO_ACTIVE_LOW>; + output-high; + line-name = "eeprom-en"; + bootph-pre-ram; + }; + + pushbutton { + gpio-hog; + gpios = <1 GPIO_ACTIVE_LOW>; + output-high; + line-name = "pushbutton-en"; + bootph-pre-ram; + }; + + microsd { + gpio-hog; + gpios = <2 GPIO_ACTIVE_LOW>; + output-low; + line-name = "microsd-spi"; + bootph-pre-ram; + }; + + ftdi { + gpio-hog; + gpios = <3 GPIO_ACTIVE_LOW>; + output-high; + line-name = "ftdi-usb-en"; + bootph-pre-ram; + }; + + can { + gpio-hog; + gpios = <4 GPIO_ACTIVE_LOW>; + output-low; + line-name = "can-en"; + bootph-pre-ram; + }; + + adau1962 { + gpio-hog; + gpios = <6 GPIO_ACTIVE_LOW>; + output-high; + line-name = "adau1962-en"; + bootph-pre-ram; + }; + + adau1979 { + gpio-hog; + gpios = <7 GPIO_ACTIVE_LOW>; + output-high; + line-name = "adau1979-en"; + bootph-pre-ram; + }; + + octal { + gpio-hog; + gpios = <8 GPIO_ACTIVE_LOW>; + output-high; + line-name = "octal-spi-cs-en"; + bootph-pre-ram; + }; + + spdif-dig { + gpio-hog; + gpios = <9 GPIO_ACTIVE_LOW>; + output-low; + line-name = "spdif-digital-en"; + bootph-pre-ram; + }; + + spdif-opt { + gpio-hog; + gpios = <10 GPIO_ACTIVE_LOW>; + output-low; + line-name = "spdif-optical-en"; + bootph-pre-ram; + }; + + audio-jack { + gpio-hog; + gpios = <11 GPIO_ACTIVE_HIGH>; + output-high; + line-name = "audio-jack-sel"; + bootph-pre-ram; + }; + + mlb { + gpio-hog; + gpios = <12 GPIO_ACTIVE_LOW>; + output-low; + line-name = "mlb-en"; + bootph-pre-ram; + }; + + eth1 { + gpio-hog; + gpios = <13 GPIO_ACTIVE_LOW>; + output-high; + line-name = "eth1-en"; + bootph-pre-ram; + }; + + eth1-reset { + gpio-hog; + gpios = <14 GPIO_ACTIVE_LOW>; + /* + * USB0 lines are shared with Eth1 so Eth PHY must be held in reset + * when using the USB + */ + output-high; + line-name = "eth1-reset"; + bootph-pre-ram; + }; + + gige-reset { + gpio-hog; + gpios = <15 GPIO_ACTIVE_LOW>; + output-high; + line-name = "gige-reset"; + bootph-pre-ram; + }; + }; +}; + +&ospi { + status = "okay"; + + clocks = <&clk ADSP_SC598_CLK_OSPI_REFCLK>; + + flash0: mx66lm1g45@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "jedec,spi-nor", "mx66lm1g45"; + reg = <0>; + + /* + * This is board dependent to some extent. We've been able to + *set it higher on some boards + */ + spi-max-frequency = <66666666>; + cdns,spi-calib-frequency = <10000000>; + + spi-tx-bus-width = <8>; + spi-rx-bus-width = <8>; + + tshsl-ns = <50>; + tsd2d-ns = <50>; + tchsh-ns = <4>; + tslch-ns = <4>; + bootph-pre-ram; + + cdns,dqs; + cdns,phy; + }; +};
arch/arm/dts/sc598-som-ezlite.dts +83 -1
92 lines not on this page · raw message
arch/arm/dts/sc598-som-revD.dtsi new file +72 -0
72 lines not on this page · raw message
arch/arm/dts/sc598-som-revE.dtsi new file +97 -0
97 lines not on this page · raw message
arch/arm/dts/sc598-som.dtsi +151 -3
174 lines not on this page · raw message
arch/arm/dts/sc59x.dtsi new file +183 -0
183 lines not on this page · raw message
arch/arm/dts/sc5xx.dtsi +51 -10
106 lines not on this page · raw message
board/adi/common-sc598-som/sc598-som.c new file +34 -0
@@ -0,0 +1,34 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* +* (C) Copyright 2025 - Analog Devices, Inc. +*/ + +#include <config.h> +#include <phy.h> +#include <asm/u-boot.h> +#include <asm/arch-adi/sc5xx/sc5xx.h> +#include <asm/arch-adi/sc5xx/soc.h> +#include <asm/armv8/mmu.h> + +#include "../carriers/somcrr.h" + +int board_phy_config (struct phy_device *phydev) +{ +if (IS_ENABLED (CONFIG_ADI_CARRIER_SOMCRR_EZKIT )) +fixup_dp83867_phy (phydev); +return 0 ; +} + +int board_init (void ) +{ +sc59x_remap_ospi (); + +if (IS_ENABLED (CONFIG_ADI_CARRIER_SOMCRR_EZKIT ) || +IS_ENABLED (CONFIG_ADI_CARRIER_SOMCRR_EZLITE )) { +adi_somcrr_init_ethernet (); + } + +sc5xx_enable_rgmii (); + +return 0 ; +}
board/adi/sc598-som-ezkit/Makefile new file +8 -0
@@ -0,0 +1,8 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# +# (C) Copyright 2025 - Analog Devices, Inc. +# + +obj-y := ../common-sc598-som/sc598-som.o + +obj-y += ../carriers/
board/adi/sc598-som-ezkit/sc598-som-ezkit.env +12 -7
@@ -1,13 +1,18 @@ /* 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=0x01a0000 -adi_rfs_offset=0x1020000 -loadaddr=0x90000000 +adi_stage2_offset=CONFIG_SC5XX_UBOOT_OFFSET +adi_image_offset=CONFIG_SC5XX_FITIMAGE_OFFSET +adi_rfs_offset=CONFIG_SC5XX_ROOTFS_OFFSET jffs2file=adsp-sc5xx-__stringify(CONFIG_ADI_IMAGE)-adsp-sc598-som-ezkit.jffs2 +loadaddr=CONFIG_SC5XX_LOADADDR + +#define USE_NFS +#define USE_SPI +#define USE_OSPI +#define USE_RAM +#define USE_MMC + +#include <env/adi/adi_boot.env>
board/adi/sc598-som-ezlite/Makefile new file +8 -0
@@ -0,0 +1,8 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# +# (C) Copyright 2025 - Analog Devices, Inc. +# + +obj-y := ../common-sc598-som/sc598-som.o + +obj-y += ../carriers/
board/adi/sc598-som-ezlite/sc598-som-ezlite.env +6 -7
@@ -1,13 +1,12 @@ /* 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=0x01a0000 -adi_rfs_offset=0x1020000 -loadaddr=0x90000000 +adi_stage2_offset=CONFIG_SC5XX_UBOOT_OFFSET +adi_image_offset=CONFIG_SC5XX_FITIMAGE_OFFSET +adi_rfs_offset=CONFIG_SC5XX_ROOTFS_OFFSET +loadaddr=CONFIG_SC5XX_LOADADDR jffs2file=adsp-sc5xx-__stringify(CONFIG_ADI_IMAGE)-adsp-sc598-som-ezlite.jffs2 + +#include <env/adi/adi_boot.env>
configs/sc598-som-ezkit-spl_defconfig new file +111 -0
111 lines not on this page · raw message
configs/sc598-som-ezlite-spl_defconfig new file +110 -0
110 lines not on this page · raw message
Signature · 1 line
2.49.1
PATCH 11/12 board: adi: Add support for SC594
In reply to Greg MalysaThis adds support for the Analog Devices SC594 SOM and configurations for using it with both the SOMCRR-EZKIT and SOMCRR-EZLITE.
---
Changes in v3:
- Add one more GPIO that was named incorrectly
- Removed whitespace in .env
Changes in v2:
- GPIO names and polarities adjusted to match logical usage
arch/arm/dts/sc594-som-ezkit.dts | 126 ++++++++++++ arch/arm/dts/sc594-som-ezlite.dts | 83 ++++++++ arch/arm/dts/sc594-som.dtsi | 193 +++++++++++++++++- board/adi/common-sc594-som/sc594-som.c | 34 +++ board/adi/sc594-som-ezkit/Makefile | 8 + board/adi/sc594-som-ezkit/sc594-som-ezkit.env | 19 +- board/adi/sc594-som-ezlite/Makefile | 8 + .../adi/sc594-som-ezlite/sc594-som-ezlite.env | 19 +- configs/sc594-som-ezkit-spl_defconfig | 78 +++++++ configs/sc594-som-ezlite-spl_defconfig | 87 ++++++++ 10 files changed, 638 insertions(+), 17 deletions(-) create mode 100644 board/adi/common-sc594-som/sc594-som.c create mode 100644 board/adi/sc594-som-ezkit/Makefile create mode 100644 board/adi/sc594-som-ezlite/Makefile create mode 100644 configs/sc594-som-ezkit-spl_defconfig create mode 100644 configs/sc594-som-ezlite-spl_defconfig
arch/arm/dts/sc594-som-ezkit.dts +126 -0
@@ -11,3 +11,129 @@ model = "ADI SC594-SOM-EZKIT"; compatible = "adi,sc594-som-ezkit", "adi,sc59x"; }; + +&i2c2 { + gpio_expander2: mcp23017@22 { + compatible = "microchip,mcp23017"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + bootph-pre-ram; + + eeprom { + gpio-hog; + gpios = <0 GPIO_ACTIVE_HIGH>; + output-low; + line-name = "eeprom-en"; + bootph-pre-ram; + }; + + pushbutton { + gpio-hog; + gpios = <1 GPIO_ACTIVE_HIGH>; + output-low; + line-name = "pushbutton-en"; + bootph-pre-ram; + }; + + microsd { + gpio-hog; + gpios = <2 GPIO_ACTIVE_LOW>; + output-low; + line-name = "microsd-spi"; + bootph-pre-ram; + }; + + adau-reset { + gpio-hog; + gpios = <5 GPIO_ACTIVE_LOW>; + output-low; + line-name = "adau-reset"; + bootph-pre-ram; + }; + + adau1962 { + gpio-hog; + gpios = <6 GPIO_ACTIVE_LOW>; + output-high; + line-name = "adau1962-en"; + bootph-pre-ram; + }; + + adau1979 { + gpio-hog; + gpios = <7 GPIO_ACTIVE_LOW>; + output-high; + line-name = "adau1979-en"; + bootph-pre-ram; + }; + + octal { + gpio-hog; + gpios = <8 GPIO_ACTIVE_HIGH>; + output-low; + line-name = "octal-spi-cs-en"; + bootph-pre-ram; + }; + + spdif-dig { + gpio-hog; + gpios = <9 GPIO_ACTIVE_LOW>; + output-low; + line-name = "spdif-digital-en"; + bootph-pre-ram; + }; + + spdif-opt { + gpio-hog; + gpios = <10 GPIO_ACTIVE_LOW>; + output-low; + line-name = "spdif-optical-en"; + bootph-pre-ram; + }; + + audio-jack { + gpio-hog; + gpios = <11 GPIO_ACTIVE_HIGH>; + output-high; + line-name = "audio-jack-sel"; + bootph-pre-ram; + }; + + mlb { + gpio-hog; + gpios = <12 GPIO_ACTIVE_LOW>; + output-low; + line-name = "mlb-en"; + bootph-pre-ram; + }; + + eth1 { + gpio-hog; + gpios = <13 GPIO_ACTIVE_LOW>; + output-high; + line-name = "eth1-en"; + bootph-pre-ram; + }; + + eth1-reset { + gpio-hog; + gpios = <14 GPIO_ACTIVE_LOW>; + /* + * USB0 lines are shared with Eth1 so Eth PHY must be held in reset + * when using the USB + */ + output-high; + line-name = "eth1-reset"; + bootph-pre-ram; + }; + + gige-reset { + gpio-hog; + gpios = <15 GPIO_ACTIVE_HIGH>; + output-high; + line-name = "gige-reset"; + bootph-pre-ram; + }; + }; +};
arch/arm/dts/sc594-som-ezlite.dts +83 -0
86 lines not on this page · raw message
arch/arm/dts/sc594-som.dtsi +190 -3
204 lines not on this page · raw message
board/adi/common-sc594-som/sc594-som.c new file +34 -0
@@ -0,0 +1,34 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* +* (C) Copyright 2025 - Analog Devices, Inc. +*/ + +#include <config.h> +#include <phy.h> +#include <asm/u-boot.h> +#include <asm/arch-adi/sc5xx/sc5xx.h> +#include <asm/arch-adi/sc5xx/soc.h> + +#include "../carriers/somcrr.h" + +int board_phy_config (struct phy_device *phydev) +{ +if (IS_ENABLED (CONFIG_ADI_CARRIER_SOMCRR_EZKIT )) +fixup_dp83867_phy (phydev); + +return 0 ; +} + +int board_init (void ) +{ +sc59x_remap_ospi (); + +if (IS_ENABLED (CONFIG_ADI_CARRIER_SOMCRR_EZKIT ) || +IS_ENABLED (CONFIG_ADI_CARRIER_SOMCRR_EZLITE )) { +adi_somcrr_init_ethernet (); + } + +sc5xx_enable_rgmii (); + +return 0 ; +}
board/adi/sc594-som-ezkit/Makefile new file +8 -0
@@ -0,0 +1,8 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# +# (C) Copyright 2025 - Analog Devices, Inc. +# + +obj-y := ../common-sc594-som/sc594-som.o + +obj-y += ../carriers/
board/adi/sc594-som-ezkit/sc594-som-ezkit.env +12 -7
@@ -1,13 +1,18 @@ /* 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 +adi_stage2_offset=CONFIG_SC5XX_UBOOT_OFFSET +adi_image_offset=CONFIG_SC5XX_FITIMAGE_OFFSET +adi_rfs_offset=CONFIG_SC5XX_ROOTFS_OFFSET jffs2file=adsp-sc5xx-__stringify(CONFIG_ADI_IMAGE)-adsp-sc594-som-ezkit.jffs2 +loadaddr=CONFIG_SC5XX_LOADADDR + +#define USE_NFS +#define USE_SPI +#define USE_OSPI +#define USE_RAM +#define USE_MMC + +#include <env/adi/adi_boot.env>
board/adi/sc594-som-ezlite/Makefile new file +8 -0
@@ -0,0 +1,8 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# +# (C) Copyright 2025 - Analog Devices, Inc. +# + +obj-y := ../common-sc594-som/sc594-som.o + +obj-y += ../carriers/
board/adi/sc594-som-ezlite/sc594-som-ezlite.env +12 -7
@@ -1,13 +1,18 @@ /* 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 +adi_stage2_offset=CONFIG_SC5XX_UBOOT_OFFSET +adi_image_offset=CONFIG_SC5XX_FITIMAGE_OFFSET +adi_rfs_offset=CONFIG_SC5XX_ROOTFS_OFFSET jffs2file=adsp-sc5xx-__stringify(CONFIG_ADI_IMAGE)-adsp-sc594-som-ezlite.jffs2 +loadaddr=CONFIG_SC5XX_LOADADDR + +#define USE_NFS +#define USE_SPI +#define USE_OSPI +#define USE_RAM +#define USE_MMC + +#include <env/adi/adi_boot.env>
configs/sc594-som-ezkit-spl_defconfig new file +78 -0
78 lines not on this page · raw message
configs/sc594-som-ezlite-spl_defconfig new file +87 -0
87 lines not on this page · raw message
Signature · 1 line
2.49.1
PATCH 12/12 MAINTAINERS: Update ADI entries for new boards
In reply to Greg MalysaThis adds missing maintainers entries for the ADI SC5xx defconfigs and for a device tree binding file that was previously missed.
---
(no changes since v2)
Changes in v2:
- Possible files relating to ADI were identified using a shell command like so:
$ find ./ | xargs grep -i --color=none "Analog Devices" 2>/dev/null | awk '{ print $1 }' | tr -d ":#" | sort | uniq > maybe_adi.txt
This file was reviewed and entries unrelated to ADI that merely
mentioned the company name were pruned, leaving 111 files.
Then, maintainer information was retrieved with:
$ cat maybe_adi.txt | xargs -L1 -t ./scripts/get_maintainer.pl --separator , -f
and each line was reviewed to ensure it matched ARM SC5XX. This
identified one extra file that was missed previously.MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+)
MAINTAINERS +2 -0
@@ -637,6 +637,7 @@ F: arch/arm/dts/sc5* F: arch/arm/include/asm/arch-adi/ F: arch/arm/mach-sc5xx/ F: board/adi/ +F: configs/sc5* F: doc/device-tree-bindings/arm/adi/adi,sc5xx.yaml F: doc/device-tree-bindings/clock/adi,sc5xx-clocks.yaml F: doc/device-tree-bindings/pinctrl/adi,adsp-pinctrl.yaml
@@ -656,6 +657,7 @@ F: drivers/timer/adi_sc5xx_timer.c F: drivers/usb/musb-new/sc5xx.c F: drivers/watchdog/adi_wdt.c F: include/configs/sc5* +F: include/dt-bindings/clock/adi-sc5xx-clock.h F: include/dt-bindings/pinctrl/adi-adsp.h F: include/env/adi/
Signature · 1 line
2.49.1
Quoted 9 lines · Greg Malysa
This series adds the final pieces to enable mainline U-Boot to build and boot all Analog Devices SC5xx SoCs and supports the associated carrier board options. At this point it should be viable for new users for these platforms to start with the latest version of U-Boot rather than our vendor fork, however some features (such as OSPI support and falcon boot) remain unavailable until we are able to unify our implementations with the mainline implementations.
[...]
Applied to u-boot/master, thanks!
[01/12] mach-sc5xx: Introduce Kconfig symbols for image addresses
commit: 280dbbbf6e4645595015c2a15add6dcc10795b4d
[02/12] mach-sc5xx: Rename SC_BOOT_MODE
commit: ca8cceb12f10253e73141a136ca3dcd7f1f85927
[03/12] mach-sc5xx: Kconfig: Make EZKIT and EZLITE carriers mutually exclusive
commit: e01743624ef9d1de087f82352cc52e71ec3d8812
[04/12] mach-sc5xx: Add preliminary support for binman
commit: a6927e717565ebab18fcbba3cb9a50457119d83d
[05/12] docker: add Analog Devices tools to docker image
commit: b36007b01620905f16eff864a09140adcff670fa
[06/12] board: adi: Add SOMCRR infrastructure
commit: 48a45b74aa56b65c6d5776e2c5c4fb3c4bda3ee8
[07/12] board: adi: Add support for SC573-ezkit
commit: 34d41f8da617ad9ca4527fac7764671159463b4f
[08/12] board: adi: Add support for SC589 boards
commit: e382cb2be4ef6f205b6f3231801ee2d7d24d2906
[09/12] board: adi: Add support for SC584-ezkit
commit: e1d6232874f663c0db758567f77d0ddcfd9da4be
[10/12] board: adi: Add support for SC598
commit: c9e893d6266dc83dd053998cdf73957b623e2eb5
[11/12] board: adi: Add support for SC594
commit: be7937847b7ca0e1ac44a1982c58343a3a8ad0f3
[12/12] MAINTAINERS: Update ADI entries for new boards
commit: b0df2df8d4787b60214987d06fff1410beca26fbSignature · 1 line
Tom