[PATCH 0/4] Import and Port Beagle pinmux driver

G S Niteesh Babu niteesh.gs at gmail.com
Sat Mar 13 11:01:59 UTC 2021


The following series of patches import and port the beagle
pinmux driver from FreeBSD to RTEMS.

Porting this driver will avoid double initialization of
pin multiplexers once during RTEMS initialization and second
time during libBSD initialization.

UPDATE #3782

G S Niteesh Babu (4):
  bsps/shared/ofw: Add rtems_ofw_is_node_compatible
  bsp/beagle: Import Beagle pinmux from FreeBSD
  bsps/beagle: Added SOC detection using FDT
  bsp/beagle: Ported Beagle pinmux driver to RTEMS

 bsps/arm/beagle/start/bsp-soc-detect.c        |  55 ++
 bsps/arm/beagle/start/bsp-soc-detect.h        |  38 ++
 bsps/arm/beagle/start/bspstart.c              |  54 +-
 .../arm/ti/am335x/am335x_scm_padconf.h        |  47 ++
 bsps/include/arm/ti/ti_cpuid.h                |  48 ++
 bsps/include/arm/ti/ti_pinmux.h               |  87 +++
 bsps/include/ofw/ofw.h                        |  17 +
 .../sys/arm/ti/am335x/am335x_scm_padconf.c    | 307 ++++++++++
 bsps/shared/freebsd/sys/arm/ti/ti_pinmux.c    | 574 ++++++++++++++++++
 bsps/shared/ofw/ofw.c                         |  12 +
 spec/build/bsps/arm/beagle/obj.yml            |   1 +
 spec/build/bsps/obj.yml                       |   6 +
 12 files changed, 1240 insertions(+), 6 deletions(-)
 create mode 100644 bsps/arm/beagle/start/bsp-soc-detect.c
 create mode 100644 bsps/arm/beagle/start/bsp-soc-detect.h
 create mode 100644 bsps/include/arm/ti/am335x/am335x_scm_padconf.h
 create mode 100644 bsps/include/arm/ti/ti_cpuid.h
 create mode 100644 bsps/include/arm/ti/ti_pinmux.h
 create mode 100644 bsps/shared/freebsd/sys/arm/ti/am335x/am335x_scm_padconf.c
 create mode 100644 bsps/shared/freebsd/sys/arm/ti/ti_pinmux.c

-- 
2.17.1



More information about the devel mailing list