OSDN Git Service

ARM: Add basic support for Airoha EN7523 SoC
authorJohn Crispin <john@phrozen.org>
Sun, 30 Jan 2022 14:51:06 +0000 (15:51 +0100)
committerMatthias Brugger <matthias.bgg@gmail.com>
Tue, 1 Mar 2022 08:02:01 +0000 (09:02 +0100)
commit2cf1c348d0f5d43b601974cbde3e6db5ad491a40
tree2bd261841b615ba404008c3297fe995a289c7c5a
parent51911d1c1bb3e30b57e3af1072a3b6e583f3df5f
ARM: Add basic support for Airoha EN7523 SoC

EN7523 is an armv8 based silicon used inside broadband access type devices
such as xPON and xDSL. It shares various silicon blocks with MediaTek
silicon such as the MT7622.

Add basic support for Airoha EN7523, enough for booting to console.

The UART is basically 8250-compatible, except for the clock selection.
A clock-frequency value is synthesized to get this to run at 115200 bps.

Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: Bert Vermeulen <bert@biot.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20220130145116.88406-4-nbd@nbd.name
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm/Kconfig
arch/arm/Makefile
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/en7523-evb.dts [new file with mode: 0644]
arch/arm/boot/dts/en7523.dtsi [new file with mode: 0644]
arch/arm/mach-airoha/Makefile [new file with mode: 0644]
arch/arm/mach-airoha/airoha.c [new file with mode: 0644]