[PATCH v2 0/6] airoha: Add initial support AN7581
Christian Marangi
ansuelsmth at gmail.com
Fri Mar 14 19:59:20 CET 2025
This little series adds initial support for Airoha AN7581 SoC.
With the help of some backport patch, this use OF_UPSTREAM
directly.
Posting this to have the targer and the very basic driver.
Ethernet, SNAND and eMMC support is already ready downstream
and will be posted shortly after this gets approved.
Having the first driver ready permits to separately push
dedicate series for SNAND, eMMC and Ethrnet as they all depends
on basic support of clock and reset and nothing else.
Changes v2:
- Use OF_UPSTREAM directly
- Backport some patch for OF_UPSTREAM
- Make use of u-boot.dtsi files
- Fix defconfig
- Use pattern for MAINTAINERS file
- Correctly handle SYS_BOARD/SYS_CONFIG_NAME
- Drop config for header file
Christian Marangi (6):
airoha: Add initial support for Airoha AN7581 SoC
clk: airoha: Add support for Airoha AN7581 SoC clock
reset: airoha: Add driver for controlling reset line of AN7581
arm64: dts: airoha: en7581: Add Clock Controller node
dt-bindings: clock: drop NUM_CLOCKS define for EN7581
dt-bindings: clock: add ID for eMMC for EN7581
arch/arm/Kconfig | 9 +
arch/arm/Makefile | 1 +
arch/arm/dts/an7581-u-boot.dtsi | 18 +
arch/arm/dts/en7581-evb-u-boot.dtsi | 11 +
arch/arm/mach-airoha/Kconfig | 32 ++
arch/arm/mach-airoha/Makefile | 5 +
arch/arm/mach-airoha/an7581/Makefile | 3 +
arch/arm/mach-airoha/an7581/init.c | 47 ++
arch/arm/mach-airoha/cpu.c | 20 +
board/airoha/an7581/MAINTAINERS | 5 +
board/airoha/an7581/Makefile | 3 +
board/airoha/an7581/an7581_rfb.c | 16 +
configs/an7581_evb_defconfig | 78 +++
drivers/clk/Makefile | 1 +
drivers/clk/airoha/Makefile | 3 +
drivers/clk/airoha/clk-airoha.c | 454 ++++++++++++++++++
drivers/reset/Kconfig | 7 +
drivers/reset/Makefile | 1 +
drivers/reset/reset-airoha.c | 173 +++++++
.../include/dt-bindings/clock/en7523-clk.h | 2 +-
dts/upstream/src/arm64/airoha/en7581.dtsi | 8 +
include/configs/an7581.h | 19 +
22 files changed, 915 insertions(+), 1 deletion(-)
create mode 100644 arch/arm/dts/an7581-u-boot.dtsi
create mode 100644 arch/arm/dts/en7581-evb-u-boot.dtsi
create mode 100644 arch/arm/mach-airoha/Kconfig
create mode 100644 arch/arm/mach-airoha/Makefile
create mode 100644 arch/arm/mach-airoha/an7581/Makefile
create mode 100644 arch/arm/mach-airoha/an7581/init.c
create mode 100644 arch/arm/mach-airoha/cpu.c
create mode 100644 board/airoha/an7581/MAINTAINERS
create mode 100644 board/airoha/an7581/Makefile
create mode 100644 board/airoha/an7581/an7581_rfb.c
create mode 100644 configs/an7581_evb_defconfig
create mode 100644 drivers/clk/airoha/Makefile
create mode 100644 drivers/clk/airoha/clk-airoha.c
create mode 100644 drivers/reset/reset-airoha.c
create mode 100644 include/configs/an7581.h
--
2.48.1
More information about the U-Boot
mailing list