Skip to content

Commit

Permalink
dpaa2: add console support for FDT based systems
Browse files Browse the repository at this point in the history
Add DPAA2 console support for MC and AIOP (latter untested) for FDT
systems.  ACPI systems are prepared but need some proper bus function
in order to get the address from MC (and likely a file splitup then).
This will come at a later stage once other ACPI/FDT bus parts are
cleared up.
The work was originally done in July 2022 and finally switched to
bus_space[1] lately to be ready for main.

Suggested by:	andrew [1]
Reviewed by:	dsl
Differential Revision: https://reviews.freebsd.org/D38592

(cherry picked from commit 72ef722)
  • Loading branch information
Bjoern A. Zeeb authored and Bjoern A. Zeeb committed Jun 26, 2023
1 parent 428647d commit 34ee271
Show file tree
Hide file tree
Showing 3 changed files with 584 additions and 0 deletions.
1 change: 1 addition & 0 deletions sys/conf/files.arm64
Expand Up @@ -167,6 +167,7 @@ dev/cpufreq/cpufreq_dt.c optional cpufreq fdt
dev/dpaa2/dpaa2_bp.c optional soc_nxp_ls dpaa2
dev/dpaa2/dpaa2_cmd_if.m optional soc_nxp_ls dpaa2
dev/dpaa2/dpaa2_con.c optional soc_nxp_ls dpaa2
dev/dpaa2/dpaa2_console.c optional soc_nxp_ls dpaa2 fdt
dev/dpaa2/dpaa2_io.c optional soc_nxp_ls dpaa2
dev/dpaa2/dpaa2_mac.c optional soc_nxp_ls dpaa2
dev/dpaa2/dpaa2_mc.c optional soc_nxp_ls dpaa2
Expand Down

0 comments on commit 34ee271

Please sign in to comment.