[PATCH 0/4] airoha: Add initial support AN7581

Christian Marangi ansuelsmth at gmail.com
Sun Mar 9 15:06:42 CET 2025


This little series adds initial support for Airoha AN7581 SoC.

All driver are created with OF_UPSTREAM support in mind and
the very same binding and include are used as reference.

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.

Christian Marangi (4):
  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
  arch: arm: dts: an7581-evb: Add clock and reset nodes

 arch/arm/Kconfig                              |   9 +
 arch/arm/Makefile                             |   1 +
 arch/arm/dts/an7581-evb.dts                   | 162 +++++++
 arch/arm/mach-airoha/Kconfig                  |  44 ++
 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               |   6 +
 board/airoha/an7581/Makefile                  |   3 +
 board/airoha/an7581/an7581_rfb.c              |  16 +
 configs/an7581_evb_defconfig                  | 137 ++++++
 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/configs/an7581.h                      |  19 +
 include/dt-bindings/clock/en7523-clk.h        |  17 +
 .../dt-bindings/reset/airoha,en7581-reset.h   |  66 +++
 21 files changed, 1194 insertions(+)
 create mode 100644 arch/arm/dts/an7581-evb.dts
 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
 create mode 100644 include/dt-bindings/clock/en7523-clk.h
 create mode 100644 include/dt-bindings/reset/airoha,en7581-reset.h

-- 
2.48.1



More information about the U-Boot mailing list