board/tpr12: remove board/src/tpr12_qt as they are not used
authorBadri S <badri@ti.com>
Wed, 2 Dec 2020 05:29:18 +0000 (10:59 +0530)
committerBadri S <badri@ti.com>
Wed, 2 Dec 2020 08:20:09 +0000 (13:50 +0530)
tpr12_qt files for board lib are not used and removed

Signed-off-by: Badri S <badri@ti.com>
17 files changed:
packages/ti/board/src/tpr12_qt/board_clock.c [deleted file]
packages/ti/board/src/tpr12_qt/board_ethernet_config.c [deleted file]
packages/ti/board/src/tpr12_qt/board_info.c [deleted file]
packages/ti/board/src/tpr12_qt/board_init.c [deleted file]
packages/ti/board/src/tpr12_qt/board_lld_init.c [deleted file]
packages/ti/board/src/tpr12_qt/board_mmr.c [deleted file]
packages/ti/board/src/tpr12_qt/board_pinmux.c [deleted file]
packages/ti/board/src/tpr12_qt/board_pll.c [deleted file]
packages/ti/board/src/tpr12_qt/include/board_cfg.h [deleted file]
packages/ti/board/src/tpr12_qt/include/board_clock.h [deleted file]
packages/ti/board/src/tpr12_qt/include/board_ethernet_config.h [deleted file]
packages/ti/board/src/tpr12_qt/include/board_internal.h [deleted file]
packages/ti/board/src/tpr12_qt/include/board_pinmux.h [deleted file]
packages/ti/board/src/tpr12_qt/include/board_pll.h [deleted file]
packages/ti/board/src/tpr12_qt/include/board_utils.h [deleted file]
packages/ti/board/src/tpr12_qt/include/pinmux.h [deleted file]
packages/ti/board/src/tpr12_qt/src_files_tpr12_qt.mk [deleted file]

diff --git a/packages/ti/board/src/tpr12_qt/board_clock.c b/packages/ti/board/src/tpr12_qt/board_clock.c
deleted file mode 100755 (executable)
index bea51c4..0000000
+++ /dev/null
@@ -1,273 +0,0 @@
-/******************************************************************************
- * Copyright (c) 2020 Texas Instruments Incorporated - http://www.ti.com
- *
- *  Redistribution and use in source and binary forms, with or without
- *  modification, are permitted provided that the following conditions
- *  are met:
- *
- *    Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- *
- *    Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the
- *    distribution.
- *
- *    Neither the name of Texas Instruments Incorporated nor the names of
- *    its contributors may be used to endorse or promote products derived
- *    from this software without specific prior written permission.
- *
- *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- *****************************************************************************/
-
- /** \file board_clock.c
-  *
-  *  \brief This file contains initialization of wakeup and main PSC
-  *  configuration structures and function definitions to get the number
-  *  of wakeup and main PSC config exists.
-  */
-
-/**
- * \brief wkup PSC configuration parameters
- *
- *  This structure provides the device-level view with module association to
- *  the clock, power, and voltage domains.
- *
- *  The PSC provides the user with an interface to control several important
- *  power and clock operations. The device has two PSC - WKUP_PSC0 and PSC0
- *  in WKUPSS and MAIN SoC, respectively.
- *
- *  PSC: The Power Sleep Controller is the device has several power domains
- *  that can be turned ON for operation or OFF to minimize power dissipation,
- *  which includes a Global Power Sleep Controller(GPSC) and Local Power
- *  Sleep Controller(LPSC).
- *
- *  GPSC: Global Power Sleep Controller, is used to control the power gating
- *  of various power domains.
- *
- *  LPSC: Local Power Sleep Controller, manages the clock gating for to each
- *  logic block. For modules with a dedicated clock or multiple clocks, the
- *  LPSC communicates with the PLL controller to enable and disable that
- *  module's clock(s) at the source. For modules that share a clock with
- *  other modules, the LPSC controls the clock gating logic for each module.
- */
-
-#include "board_clock.h"
-
-#define MSS_CR5_DIV_VAL_CLKDIV          CSL_MSS_TOPRCM_MSS_CR5_DIV_VAL
-#define MSS_CR5_CLK_SRC_SEL_CLKSRCSEL   CSL_MSS_TOPRCM_MSS_CR5_CLK_SRC_SEL
-#define SYS_CLK_DIV_VAL_CLKDIV          CSL_MSS_TOPRCM_SYS_CLK_DIV_VAL
-#define CSIRX_CLK_SRC_SEL               CSL_MSS_TOPRCM_CSIRX_CLK_SRC_SEL
-#define CSIRX_DIV_VAL                   CSL_MSS_TOPRCM_CSIRX_DIV_VAL
-#define MSS_MCANA_CLK_SRC_SEL           CSL_MSS_RCM_MSS_MCANA_CLK_SRC_SEL
-#define MSS_MCANB_CLK_SRC_SEL           CSL_MSS_RCM_MSS_MCANB_CLK_SRC_SEL
-#define MSS_RTIA_CLK_SRC_SEL            CSL_MSS_RCM_MSS_RTIA_CLK_SRC_SEL
-#define MSS_RTIB_CLK_SRC_SEL            CSL_MSS_RCM_MSS_RTIB_CLK_SRC_SEL
-#define MSS_RTIC_CLK_SRC_SEL            CSL_MSS_RCM_MSS_RTIC_CLK_SRC_SEL
-#define MSS_WDT_CLK_SRC_SEL             CSL_MSS_RCM_MSS_WDT_CLK_SRC_SEL
-#define MSS_QSPI_CLK_SRC_SEL            CSL_MSS_RCM_MSS_QSPI_CLK_SRC_SEL
-#define MSS_SPIA_CLK_SRC_SEL            CSL_MSS_RCM_MSS_SPIA_CLK_SRC_SEL
-#define MSS_SPIB_CLK_SRC_SEL            CSL_MSS_RCM_MSS_SPIB_CLK_SRC_SEL
-#define MSS_I2C_CLK_SRC_SEL             CSL_MSS_RCM_MSS_I2C_CLK_SRC_SEL
-#define MSS_SCIA_CLK_SRC_SEL            CSL_MSS_RCM_MSS_SCIA_CLK_SRC_SEL
-#define MSS_SCIB_CLK_SRC_SEL            CSL_MSS_RCM_MSS_SCIB_CLK_SRC_SEL
-#define MSS_CPSW_CLK_SRC_SEL            CSL_MSS_RCM_MSS_CPSW_CLK_SRC_SEL
-#define MSS_CPTS_CLK_SRC_SEL            CSL_MSS_RCM_MSS_CPTS_CLK_SRC_SEL
-
-#define MSS_MCANA_CLK_DIV_VAL           CSL_MSS_RCM_MSS_MCANA_CLK_DIV_VAL
-#define MSS_MCANB_CLK_DIV_VAL           CSL_MSS_RCM_MSS_MCANB_CLK_DIV_VAL
-#define MSS_RTIA_CLK_DIV_VAL            CSL_MSS_RCM_MSS_RTIA_CLK_DIV_VAL
-#define MSS_RTIB_CLK_DIV_VAL            CSL_MSS_RCM_MSS_RTIB_CLK_DIV_VAL
-#define MSS_RTIC_CLK_DIV_VAL            CSL_MSS_RCM_MSS_RTIC_CLK_DIV_VAL
-#define MSS_WDT_CLK_DIV_VAL             CSL_MSS_RCM_MSS_WDT_CLK_DIV_VAL
-#define MSS_QSPI_CLK_DIV_VAL            CSL_MSS_RCM_MSS_QSPI_CLK_DIV_VAL
-#define MSS_SPIA_CLK_DIV_VAL            CSL_MSS_RCM_MSS_SPIA_CLK_DIV_VAL
-#define MSS_SPIB_CLK_DIV_VAL            CSL_MSS_RCM_MSS_SPIB_CLK_DIV_VAL
-#define MSS_I2C_CLK_DIV_VAL             CSL_MSS_RCM_MSS_I2C_CLK_DIV_VAL
-#define MSS_SCIA_CLK_DIV_VAL            CSL_MSS_RCM_MSS_SCIA_CLK_DIV_VAL
-#define MSS_SCIB_CLK_DIV_VAL            CSL_MSS_RCM_MSS_SCIB_CLK_DIV_VAL
-#define MSS_CPSW_CLK_DIV_VAL            CSL_MSS_RCM_MSS_CPSW_CLK_DIV_VAL
-#define MSS_CPTS_CLK_DIV_VAL            CSL_MSS_RCM_MSS_CPTS_CLK_DIV_VAL
-
-#define DSS_DSP_CLK_SRC_SEL             CSL_DSS_RCM_DSS_DSP_CLK_SRC_SEL
-#define DSS_RTIA_CLK_SRC_SEL            CSL_DSS_RCM_DSS_RTIA_CLK_SRC_SEL
-#define DSS_RTIB_CLK_SRC_SEL            CSL_DSS_RCM_DSS_RTIB_CLK_SRC_SEL
-#define DSS_WDT_CLK_SRC_SEL             CSL_DSS_RCM_DSS_WDT_CLK_SRC_SEL
-#define DSS_SCIA_CLK_SRC_SEL            CSL_DSS_RCM_DSS_SCIA_CLK_SRC_SEL
-
-#define DSS_DSP_CLK_DIV_VAL             CSL_DSS_RCM_DSS_DSP_CLK_DIV_VAL
-#define DSS_RTIA_CLK_DIV_VAL            CSL_DSS_RCM_DSS_RTIA_CLK_DIV_VAL
-#define DSS_RTIB_CLK_DIV_VAL            CSL_DSS_RCM_DSS_RTIB_CLK_DIV_VAL
-#define DSS_WDT_CLK_DIV_VAL             CSL_DSS_RCM_DSS_WDT_CLK_DIV_VAL
-#define DSS_SCIA_CLK_DIV_VAL            CSL_DSS_RCM_DSS_SCIA_CLK_DIV_VAL
-
-#define RCSS_SCIA_CLK_SRC_SEL           CSL_RCSS_RCM_RCSS_SCIA_CLK_SRC_SEL
-#define RCSS_SPIA_CLK_SRC_SEL           CSL_RCSS_RCM_RCSS_SPIA_CLK_SRC_SEL
-#define RCSS_SPIB_CLK_SRC_SEL           CSL_RCSS_RCM_RCSS_SPIB_CLK_SRC_SEL
-#define RCSS_I2CA_CLK_SRC_SEL           CSL_RCSS_RCM_RCSS_I2CA_CLK_SRC_SEL
-#define RCSS_I2CB_CLK_SRC_SEL           CSL_RCSS_RCM_RCSS_I2CB_CLK_SRC_SEL
-#define RCSS_ATL_CLK_SRC_SEL            CSL_RCSS_RCM_RCSS_ATL_CLK_SRC_SEL
-#define RCSS_MCASPA_REF0_CLK_SRC_SEL    CSL_RCSS_RCM_RCSS_MCASPA_REF0_CLK_SRC_SEL
-#define RCSS_MCASPA_REF1_CLK_SRC_SEL    CSL_RCSS_RCM_RCSS_MCASPA_REF1_CLK_SRC_SEL
-#define RCSS_MCASPA_AUX_CLK_SRC_SEL     CSL_RCSS_RCM_RCSS_MCASPA_AUX_CLK_SRC_SEL
-#define RCSS_MCASPB_REF0_CLK_SRC_SEL    CSL_RCSS_RCM_RCSS_MCASPB_REF0_CLK_SRC_SEL
-#define RCSS_MCASPB_REF1_CLK_SRC_SEL    CSL_RCSS_RCM_RCSS_MCASPB_REF1_CLK_SRC_SEL
-#define RCSS_MCASPB_AUX_CLK_SRC_SEL     CSL_RCSS_RCM_RCSS_MCASPB_AUX_CLK_SRC_SEL
-#define RCSS_MCASPC_REF0_CLK_SRC_SEL    CSL_RCSS_RCM_RCSS_MCASPC_REF0_CLK_SRC_SEL
-#define RCSS_MCASPC_REF1_CLK_SRC_SEL    CSL_RCSS_RCM_RCSS_MCASPC_REF1_CLK_SRC_SEL
-#define RCSS_MCASPC_AUX_CLK_SRC_SEL     CSL_RCSS_RCM_RCSS_MCASPC_AUX_CLK_SRC_SEL
-
-#define RCSS_SCIA_CLK_DIV_VAL           CSL_RCSS_RCM_RCSS_SCIA_CLK_DIV_VAL
-#define RCSS_SPIA_CLK_DIV_VAL           CSL_RCSS_RCM_RCSS_SPIA_CLK_DIV_VAL
-#define RCSS_SPIB_CLK_DIV_VAL           CSL_RCSS_RCM_RCSS_SPIB_CLK_DIV_VAL
-#define RCSS_I2CA_CLK_DIV_VAL           CSL_RCSS_RCM_RCSS_I2CA_CLK_DIV_VAL
-#define RCSS_I2CB_CLK_DIV_VAL           CSL_RCSS_RCM_RCSS_I2CB_CLK_DIV_VAL
-#define RCSS_ATL_CLK_DIV_VAL            CSL_RCSS_RCM_RCSS_ATL_CLK_DIV_VAL
-#define RCSS_MCASPA_REF0_CLK_DIV_VAL    CSL_RCSS_RCM_RCSS_MCASPA_REF0_CLK_DIV_VAL
-#define RCSS_MCASPA_REF1_CLK_DIV_VAL    CSL_RCSS_RCM_RCSS_MCASPA_REF1_CLK_DIV_VAL
-#define RCSS_MCASPA_AUX_CLK_DIV_VAL     CSL_RCSS_RCM_RCSS_MCASPA_AUX_CLK_DIV_VAL
-#define RCSS_MCASPB_REF0_CLK_DIV_VAL    CSL_RCSS_RCM_RCSS_MCASPB_REF0_CLK_DIV_VAL
-#define RCSS_MCASPB_REF1_CLK_DIV_VAL    CSL_RCSS_RCM_RCSS_MCASPB_REF1_CLK_DIV_VAL
-#define RCSS_MCASPB_AUX_CLK_DIV_VAL     CSL_RCSS_RCM_RCSS_MCASPB_AUX_CLK_DIV_VAL
-#define RCSS_MCASPC_REF0_CLK_DIV_VAL    CSL_RCSS_RCM_RCSS_MCASPC_REF0_CLK_DIV_VAL
-#define RCSS_MCASPC_REF1_CLK_DIV_VAL    CSL_RCSS_RCM_RCSS_MCASPC_REF1_CLK_DIV_VAL
-#define RCSS_MCASPC_AUX_CLK_DIV_VAL     CSL_RCSS_RCM_RCSS_MCASPC_AUX_CLK_DIV_VAL
-
-/**
- * \brief clock Initialization function
- *
- * Enables different power domains and peripheral clocks of the SoC.
- * Some of the power domains and peripherals will be OFF by default.
- * Enabling the power domains is mandatory before accessing using
- * board interfaces connected to those peripherals.
- *
- * \return  BOARD_SOK              - Clock initialization sucessful.
- *          BOARD_INIT_CLOCK_FAIL  - Clock initialization failed.
- *
- */
-Board_STATUS Board_moduleClockInit(void)
-{
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+MSS_CR5_DIV_VAL_CLKDIV, 0x000);  //MSS_CR5_DIV_VAL_CLKDIV = 0x111;\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+MSS_CR5_CLK_SRC_SEL_CLKSRCSEL, 0x222);  //MSS_CR5_CLK_SRC_SEL_CLKSRCSEL = 0x222\r
-\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+SYS_CLK_DIV_VAL_CLKDIV, 0x111);  //Div by 2
-
-    /* Generate 96 MHz CSIRX Control Clock */
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+CSIRX_CLK_SRC_SEL, 0x222);
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+CSIRX_DIV_VAL, 0x000);\r
-\r
-    HW_WR_REG32(CSL_MSS_RCM_U_BASE+MSS_MCANA_CLK_DIV_VAL, 0x444);  //MSS_MCANA_CLK_DIV_VAL_CLKDIVR   = 0x444; 400/5\r
-    HW_WR_REG32(CSL_MSS_RCM_U_BASE+MSS_MCANA_CLK_SRC_SEL, 0x444);  //MSS_MCANA_CLK_SRC_SEL_CLKSRCSEL = 0x222;\r
-\r
-    HW_WR_REG32(CSL_MSS_RCM_U_BASE+MSS_MCANB_CLK_DIV_VAL, 0x444);  //MSS_MCANB_CLK_DIV_VAL_CLKDIVR   = 0x444; \r
-    HW_WR_REG32(CSL_MSS_RCM_U_BASE+MSS_MCANB_CLK_SRC_SEL, 0x444);  //MSS_MCANB_CLK_SRC_SEL_CLKSRCSEL = 0x222;\r
-\r
-    HW_WR_REG32(CSL_MSS_RCM_U_BASE+MSS_RTIA_CLK_DIV_VAL, 0x000);  //MSS_RTIA_CLK_DIV_VAL_CLKDIVR   = 0x444; 200/1\r
-    HW_WR_REG32(CSL_MSS_RCM_U_BASE+MSS_RTIA_CLK_SRC_SEL, 0x222);  //MSS_RTIA_CLK_SRC_SEL_CLKSRCSEL = 0x222;\r
-\r
-    HW_WR_REG32(CSL_MSS_RCM_U_BASE+MSS_RTIB_CLK_DIV_VAL, 0x000);  //MSS_RTIB_CLK_DIV_VAL_CLKDIVR   = 0x444;\r
-    HW_WR_REG32(CSL_MSS_RCM_U_BASE+MSS_RTIB_CLK_SRC_SEL, 0x222);  //MSS_RTIB_CLK_SRC_SEL_CLKSRCSEL = 0x222;\r
-\r
-    HW_WR_REG32(CSL_MSS_RCM_U_BASE+MSS_RTIC_CLK_DIV_VAL, 0x000);  //MSS_RTIC_CLK_DIV_VAL_CLKDIVR   = 0x444;\r
-    HW_WR_REG32(CSL_MSS_RCM_U_BASE+MSS_RTIC_CLK_SRC_SEL, 0x222);  //MSS_RTIC_CLK_SRC_SEL_CLKSRCSEL = 0x222;\r
-\r
-    HW_WR_REG32(CSL_MSS_RCM_U_BASE+MSS_WDT_CLK_DIV_VAL, 0x000);  //MSS_WDT_CLK_DIV_VAL_CLKDIVR   = 0x444;\r
-    HW_WR_REG32(CSL_MSS_RCM_U_BASE+MSS_WDT_CLK_SRC_SEL, 0x222);  //MSS_WDT_CLK_SRC_SEL_CLKSRCSEL = 0x222;\r
-\r
-    HW_WR_REG32(CSL_MSS_RCM_U_BASE+MSS_QSPI_CLK_DIV_VAL, 0x444);  //MSS_QSPI_CLK_DIV_VAL_CLKDIVR   = 0x444; 400/5\r
-    HW_WR_REG32(CSL_MSS_RCM_U_BASE+MSS_QSPI_CLK_SRC_SEL, 0x444);  //MSS_QSPI_CLK_SRC_SEL_CLKSRCSEL = 0x444;\r
-\r
-    HW_WR_REG32(CSL_MSS_RCM_U_BASE+MSS_SPIA_CLK_DIV_VAL, 0x000);  //MSS_SPIA_CLK_DIV_VAL_CLKDIVR = 0x000;   200/1\r
-    HW_WR_REG32(CSL_MSS_RCM_U_BASE+MSS_SPIB_CLK_DIV_VAL, 0x000);  //MSS_SPIB_CLK_DIV_VAL_CLKDIVR = 0x000;
-    HW_WR_REG32(CSL_MSS_RCM_U_BASE+MSS_SPIA_CLK_SRC_SEL, 0x222);  //MSS_SPIA_CLK_SRC_SEL_CLKSRCSEL = 0x222; \r
-    HW_WR_REG32(CSL_MSS_RCM_U_BASE+MSS_SPIB_CLK_SRC_SEL, 0x222);  //MSS_SPIB_CLK_SRC_SEL_CLKSRCSEL = 0x222;\r
-\r
-    HW_WR_REG32(CSL_MSS_RCM_U_BASE+MSS_I2C_CLK_DIV_VAL, 0x000);  //MSS_I2C_CLK_DIV_VAL_CLKDIVR   = 0x000; 200/1\r
-    HW_WR_REG32(CSL_MSS_RCM_U_BASE+MSS_I2C_CLK_SRC_SEL, 0x222);  //MSS_I2C_CLK_SRC_SEL_CLKSRCSEL = 0x222;\r
-\r
-    HW_WR_REG32(CSL_MSS_RCM_U_BASE+MSS_SCIA_CLK_DIV_VAL, 0x000);  //MSS_SCIA_CLK_DIV_VAL_CLKDIVR = 0x000; 200/1\r
-    HW_WR_REG32(CSL_MSS_RCM_U_BASE+MSS_SCIB_CLK_DIV_VAL, 0x000);  //MSS_SCIB_CLK_DIV_VAL_CLKDIVR = 0x000;
-    HW_WR_REG32(CSL_MSS_RCM_U_BASE+MSS_SCIA_CLK_SRC_SEL, 0x222);  //MSS_SCIA_CLK_SRC_SEL_CLKSRCSEL = 0x222;\r
-    HW_WR_REG32(CSL_MSS_RCM_U_BASE+MSS_SCIB_CLK_SRC_SEL, 0x222);  //MSS_SCIB_CLK_SRC_SEL_CLKSRCSEL = 0x222;
-
-    HW_WR_REG32(CSL_MSS_RCM_U_BASE+MSS_CPSW_CLK_DIV_VAL, 0x111);  //MSS_CPSW_CLK_DIV_VAL_CLKDIVR   = 0x000; 400/2\r
-    HW_WR_REG32(CSL_MSS_RCM_U_BASE+MSS_CPSW_CLK_SRC_SEL, 0x444);  //MSS_CPSW_CLK_SRC_SEL_CLKSRCSEL = 0x222;\r
-
-    HW_WR_REG32(CSL_MSS_RCM_U_BASE+MSS_CPTS_CLK_DIV_VAL, 0x111);  //MSS_CPTS_CLK_DIV_VAL_CLKDIVR   = 0x000; 400/2\r
-    HW_WR_REG32(CSL_MSS_RCM_U_BASE+MSS_CPTS_CLK_SRC_SEL, 0x444);  //MSS_CPTS_CLK_SRC_SEL_CLKSRCSEL = 0x222;\r
-
-    /* add more modules, add DSP and RCSS */
-    HW_WR_REG32(CSL_DSS_RCM_U_BASE+DSS_DSP_CLK_DIV_VAL, 0x000);  //DSS_WDT_CLK_DIV_VAL_CLKDIVR   = 0x000;  500/1\r
-    HW_WR_REG32(CSL_DSS_RCM_U_BASE+DSS_DSP_CLK_SRC_SEL, 0x222);  //DSS_WDT_CLK_SRC_SEL_CLKSRCSEL = 0x222;\r
-
-    HW_WR_REG32(CSL_DSS_RCM_U_BASE+DSS_RTIA_CLK_DIV_VAL, 0x000);  //DSS_RTIA_CLK_DIV_VAL_CLKDIVR   = 0x444; 200/1\r
-    HW_WR_REG32(CSL_DSS_RCM_U_BASE+DSS_RTIA_CLK_SRC_SEL, 0x222);  //DSS_RTIA_CLK_SRC_SEL_CLKSRCSEL = 0x222;\r
-\r
-    HW_WR_REG32(CSL_DSS_RCM_U_BASE+DSS_RTIB_CLK_DIV_VAL, 0x000);  //DSS_RTIB_CLK_DIV_VAL_CLKDIVR   = 0x444;\r
-    HW_WR_REG32(CSL_DSS_RCM_U_BASE+DSS_RTIB_CLK_SRC_SEL, 0x222);  //DSS_RTIB_CLK_SRC_SEL_CLKSRCSEL = 0x222;\r
-\r
-    HW_WR_REG32(CSL_DSS_RCM_U_BASE+DSS_WDT_CLK_DIV_VAL, 0x000);  //DSS_WDT_CLK_DIV_VAL_CLKDIVR   = 0x444;\r
-    HW_WR_REG32(CSL_DSS_RCM_U_BASE+DSS_WDT_CLK_SRC_SEL, 0x222);  //DSS_WDT_CLK_SRC_SEL_CLKSRCSEL = 0x222;\r
-\r
-    HW_WR_REG32(CSL_DSS_RCM_U_BASE+DSS_SCIA_CLK_DIV_VAL, 0x000);  //DSS_SCIA_CLK_DIV_VAL_CLKDIVR = 0x000; 200/1\r
-    HW_WR_REG32(CSL_DSS_RCM_U_BASE+DSS_SCIA_CLK_SRC_SEL, 0x222);  //DSS_SCIA_CLK_SRC_SEL_CLKSRCSEL = 0x222;\r
-\r
-    HW_WR_REG32(CSL_RCSS_RCM_U_BASE+RCSS_SCIA_CLK_DIV_VAL, 0x000);  //RCSS_SCIA_CLK_DIV_VAL_CLKDIVR = 0x000; 200/1\r
-    HW_WR_REG32(CSL_RCSS_RCM_U_BASE+RCSS_SCIA_CLK_SRC_SEL, 0x222);  //RCSS_SCIA_CLK_SRC_SEL_CLKSRCSEL = 0x222;\r
-
-    HW_WR_REG32(CSL_RCSS_RCM_U_BASE+RCSS_SPIA_CLK_DIV_VAL, 0x000);  //RCSS_SPIA_CLK_DIV_VAL_CLKDIVR = 0x000; 200/1\r
-    HW_WR_REG32(CSL_RCSS_RCM_U_BASE+RCSS_SPIA_CLK_SRC_SEL, 0x222);  //RCSS_SPIA_CLK_SRC_SEL_CLKSRCSEL = 0x222;\r
-
-    HW_WR_REG32(CSL_RCSS_RCM_U_BASE+RCSS_SPIB_CLK_DIV_VAL, 0x000);  //RCSS_SPIB_CLK_DIV_VAL_CLKDIVR = 0x000; 200/1\r
-    HW_WR_REG32(CSL_RCSS_RCM_U_BASE+RCSS_SPIB_CLK_SRC_SEL, 0x222);  //RCSS_SPIB_CLK_SRC_SEL_CLKSRCSEL = 0x222;\r
-
-    HW_WR_REG32(CSL_RCSS_RCM_U_BASE+RCSS_I2CA_CLK_DIV_VAL, 0x000);  //RCSS_I2CA_CLK_DIV_VAL_CLKDIVR = 0x000; 200/1\r
-    HW_WR_REG32(CSL_RCSS_RCM_U_BASE+RCSS_I2CA_CLK_SRC_SEL, 0x222);  //RCSS_I2CA_CLK_SRC_SEL_CLKSRCSEL = 0x222;\r
-
-    HW_WR_REG32(CSL_RCSS_RCM_U_BASE+RCSS_I2CB_CLK_DIV_VAL, 0x000);  //RCSS_I2CB_CLK_DIV_VAL_CLKDIVR = 0x000; 200/1\r
-    HW_WR_REG32(CSL_RCSS_RCM_U_BASE+RCSS_I2CB_CLK_SRC_SEL, 0x222);  //RCSS_I2CB_CLK_SRC_SEL_CLKSRCSEL = 0x222;\r
-
-    HW_WR_REG32(CSL_RCSS_RCM_U_BASE+RCSS_ATL_CLK_DIV_VAL, 0x111);   //RCSS_ATL_CLK_DIV_VAL_CLKDIVR = 0x000; 240/2\r
-    HW_WR_REG32(CSL_RCSS_RCM_U_BASE+RCSS_ATL_CLK_SRC_SEL, 0x666);   //RCSS_ATL_CLK_SRC_SEL_CLKSRCSEL = 0x222;
-
-    HW_WR_REG32(CSL_RCSS_RCM_U_BASE+RCSS_MCASPA_AUX_CLK_DIV_VAL, 0x111);  //RCSS_MCASPA_AUX_CLK_DIV_VAL_CLKDIVR = 0x111; 192/2\r
-    HW_WR_REG32(CSL_RCSS_RCM_U_BASE+RCSS_MCASPA_AUX_CLK_SRC_SEL, 0x222);  //RCSS_MCASPA_AUX_CLK_SRC_SEL_CLKSRCSEL = 0x222;\r
-
-    HW_WR_REG32(CSL_RCSS_RCM_U_BASE+RCSS_MCASPB_AUX_CLK_DIV_VAL, 0x111);  //RCSS_MCASPB_AUX_CLK_DIV_VAL_CLKDIVR = 0x111; 192/2\r
-    HW_WR_REG32(CSL_RCSS_RCM_U_BASE+RCSS_MCASPB_AUX_CLK_SRC_SEL, 0x222);  //RCSS_MCASPB_AUX_CLK_SRC_SEL_CLKSRCSEL = 0x222;\r
-
-    HW_WR_REG32(CSL_RCSS_RCM_U_BASE+RCSS_MCASPC_AUX_CLK_DIV_VAL, 0x111);  //RCSS_MCASPB_AUX_CLK_DIV_VAL_CLKDIVR = 0x111; 192/2\r
-    HW_WR_REG32(CSL_RCSS_RCM_U_BASE+RCSS_MCASPC_AUX_CLK_SRC_SEL, 0x222);  //RCSS_MCASPB_AUX_CLK_SRC_SEL_CLKSRCSEL = 0x222;\r
-
-    HW_WR_REG32(CSL_RCSS_RCM_U_BASE+RCSS_MCASPA_REF0_CLK_DIV_VAL, 0x111);  //RCSS_MCASPA_REF0_CLK_DIV_VAL_CLKDIVR = 0x111; 200/2\r
-    HW_WR_REG32(CSL_RCSS_RCM_U_BASE+RCSS_MCASPA_REF0_CLK_SRC_SEL, 0x111);  //RCSS_MCASPA_REF0_CLK_SRC_SEL_CLKSRCSEL = 0x111;\r
-
-    HW_WR_REG32(CSL_RCSS_RCM_U_BASE+RCSS_MCASPB_REF0_CLK_DIV_VAL, 0x111);  //RCSS_MCASPB_REF0_CLK_DIV_VAL_CLKDIVR = 0x111; 200/2\r
-    HW_WR_REG32(CSL_RCSS_RCM_U_BASE+RCSS_MCASPB_REF0_CLK_SRC_SEL, 0x111);  //RCSS_MCASPB_REF0_CLK_SRC_SEL_CLKSRCSEL = 0x111;\r
-
-    HW_WR_REG32(CSL_RCSS_RCM_U_BASE+RCSS_MCASPC_REF0_CLK_DIV_VAL, 0x111);  //RCSS_MCASPB_REF0_CLK_DIV_VAL_CLKDIVR = 0x111; 200/2\r
-    HW_WR_REG32(CSL_RCSS_RCM_U_BASE+RCSS_MCASPC_REF0_CLK_SRC_SEL, 0x111);  //RCSS_MCASPB_REF0_CLK_SRC_SEL_CLKSRCSEL = 0x111;\r
-
-    HW_WR_REG32(CSL_RCSS_RCM_U_BASE+RCSS_MCASPA_REF1_CLK_DIV_VAL, 0x111);  //RCSS_MCASPA_REF1_CLK_DIV_VAL_CLKDIVR = 0x111; 200/2\r
-    HW_WR_REG32(CSL_RCSS_RCM_U_BASE+RCSS_MCASPA_REF1_CLK_SRC_SEL, 0x111);  //RCSS_MCASPA_REF1_CLK_SRC_SEL_CLKSRCSEL = 0x111;\r
-
-    HW_WR_REG32(CSL_RCSS_RCM_U_BASE+RCSS_MCASPB_REF1_CLK_DIV_VAL, 0x111);  //RCSS_MCASPB_REF1_CLK_DIV_VAL_CLKDIVR = 0x111; 200/2\r
-    HW_WR_REG32(CSL_RCSS_RCM_U_BASE+RCSS_MCASPB_REF1_CLK_SRC_SEL, 0x111);  //RCSS_MCASPB_REF1_CLK_SRC_SEL_CLKSRCSEL = 0x111;\r
-
-    HW_WR_REG32(CSL_RCSS_RCM_U_BASE+RCSS_MCASPC_REF1_CLK_DIV_VAL, 0x111);  //RCSS_MCASPB_REF1_CLK_DIV_VAL_CLKDIVR = 0x111; 200/2\r
-    HW_WR_REG32(CSL_RCSS_RCM_U_BASE+RCSS_MCASPC_REF1_CLK_SRC_SEL, 0x111);  //RCSS_MCASPB_REF1_CLK_SRC_SEL_CLKSRCSEL = 0x111;\r
-
-    return BOARD_SOK;
-}
-
diff --git a/packages/ti/board/src/tpr12_qt/board_ethernet_config.c b/packages/ti/board/src/tpr12_qt/board_ethernet_config.c
deleted file mode 100755 (executable)
index 9423d01..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-/******************************************************************************
- * Copyright (c) 2020 Texas Instruments Incorporated - http://www.ti.com
- *
- *  Redistribution and use in source and binary forms, with or without
- *  modification, are permitted provided that the following conditions
- *  are met:
- *
- *    Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- *
- *    Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the
- *    distribution.
- *
- *    Neither the name of Texas Instruments Incorporated nor the names of
- *    its contributors may be used to endorse or promote products derived
- *    from this software without specific prior written permission.
- *
- *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- *****************************************************************************/
-
-/**
- *   \file  board_ethernet_config.c
- *
- *   \brief
- *      This file contains the Ethernet PHY configurations for TPR12 EVM
- *
- */
-
-#include "board_ethernet_config.h"
-#include "board_internal.h"
-#include "board_cfg.h"
-#include <ti/csl/soc.h>
-
-/**
- * \brief  Board specific configurations for MCU Ethernet PHY
- *
- * This function takes care of configuring the internal delays for MCU gigabit
- * Ethernet PHY
- *
- * \return  none
- */
-Board_STATUS Board_mcuEthConfig(void)
-{
-    return BOARD_SOK;
-}
-
diff --git a/packages/ti/board/src/tpr12_qt/board_info.c b/packages/ti/board/src/tpr12_qt/board_info.c
deleted file mode 100755 (executable)
index b6a1f11..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-/******************************************************************************
- * Copyright (c) 2020 Texas Instruments Incorporated - http://www.ti.com
- *
- *  Redistribution and use in source and binary forms, with or without
- *  modification, are permitted provided that the following conditions
- *  are met:
- *
- *    Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- *
- *    Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the
- *    distribution.
- *
- *    Neither the name of Texas Instruments Incorporated nor the names of
- *    its contributors may be used to endorse or promote products derived
- *    from this software without specific prior written permission.
- *
- *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- *****************************************************************************/
-
-#include "board_internal.h"
-#include "board_cfg.h"
-#include <stdio.h>
-#include <string.h>
-
-/**
- *  @brief  This function is not supported by this platform.
- *
- *  Function implementation for build backward compatibilty.
- *  Always returns 'BOARD_UNSUPPORTED_FEATURE'
- *
- */
-Board_STATUS Board_getIDInfo(Board_IDInfo *info)
-{
-    return BOARD_UNSUPPORTED_FEATURE;
-}
-
-/**
- *  @brief  This function is not supported by this platform.
- *
- *  Function implementation for build backward compatibilty.
- *  Always returns 'BOARD_UNSUPPORTED_FEATURE'
- *
- */
-Board_STATUS Board_getIDInfo_v2(Board_IDInfo_v2 *info, uint8_t slaveAddress)
-{
-    return BOARD_UNSUPPORTED_FEATURE;
-}
-
-/**
- *  @brief  This function is not supported by this platform.
- *
- *  Function implementation for build backward compatibilty.
- *  Always returns 'BOARD_UNSUPPORTED_FEATURE'
- *
- */
-Board_STATUS Board_writeIDInfo(Board_IDInfo *info)
-{
-    return BOARD_UNSUPPORTED_FEATURE;
-}
-
-/**
- *  @brief  This function is not supported by this platform.
- *
- *  Function implementation for build backward compatibilty.
- *  Always returns 'BOARD_UNSUPPORTED_FEATURE'
- *
- */
-Board_STATUS Board_writeIDInfo_v2(Board_IDInfo_v2 *info, uint8_t slaveAddress)
-{
-    return BOARD_UNSUPPORTED_FEATURE;
-}
-
-
diff --git a/packages/ti/board/src/tpr12_qt/board_init.c b/packages/ti/board/src/tpr12_qt/board_init.c
deleted file mode 100755 (executable)
index 7616bbd..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-/******************************************************************************
- * Copyright (c) 2020 Texas Instruments Incorporated - http://www.ti.com
- *
- *  Redistribution and use in source and binary forms, with or without
- *  modification, are permitted provided that the following conditions
- *  are met:
- *
- *    Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- *
- *    Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the
- *    distribution.
- *
- *    Neither the name of Texas Instruments Incorporated nor the names of
- *    its contributors may be used to endorse or promote products derived
- *    from this software without specific prior written permission.
- *
- *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- *****************************************************************************/
-/**
- *  \file   board_init.c
- *
- *  \brief  TPR12 QT Board library main file
- *
- *  Board library provides basic functions to initialize the interfaces
- *  on a given HW platform. It takes care of configuring and enabling different
- *  modules like PLL, clocks inside SoC and HW components on the board which are
- *  required to make sure board is ready for running the application software.
- *
- *  A common standard API Board_init() is exposed to the applications to invoke
- *  different board initialization routines. This function is common across the
- *  platforms maitaining the portability and can receive different input
- *  configuration flags based on the board capabilities allowing extendibility.
- *
- *  Board library shall eliminate the use of any additional configurations like
- *  GEL files to initialize the board except the cases like DDR initialization
- *  for loading the code into DDR before calling the Board init function.
- *  Give this limitation, applications invoking board library functions to
- *  initialize PLL, DDR and pinmux are supposed to run from SoC internal memory.
- *
- */
-
-#include "board_internal.h"
-
-Board_gblObj Board_obj = {NULL};
-
-/**
- * \brief  Board library initialization function
- *
- *  Different board initialization routines are invoked by using configuration
- *  flags as described below
- *  BOARD_INIT_UNLOCK_MMR -
- *      Unlocks the MMR registers of the SoC. MMR registers should be
- *      enabled before any write access to MMR register address space.
- *
- *  BOARD_INIT_PLL -
- *      Configures different PLL controller modules. This enables all the PLL
- *      controllers on the SoC with default configurations. Any custom values
- *      required for PLL output needs to be done separately
- *
- *  BOARD_INIT_DDR -
- *      Initializes the DDR timing parameters. Sets the DDR timing parameters
- *      based in the DDR PLL controller configuration done by the board library.
- *      Any changes to DDR PLL requires change to DDR timing.
- *
- *  BOARD_INIT_PINMUX_CONFIG -
- *      Enables pinmux for the board interfaces. Pin mux is done based on the
- *      default/primary functionality of the board. Any pins shared by multiple
- *      interfaces need to be reconfigured to access the secondary functionality.
- *
- *  BOARD_INIT_UART_STDIO -
- *      Configures the UART module to use for serial console messages.
- *
- *  BOARD_INIT_MODULE_CLOCK -
- *      Enables different power domains and peripheral clocks of the SoC.
- *      Some of the power domains and peripherals will be off by default.
- *      Enabling the power domains is mandatory before accessing using
- *      board interfaces connected to those peripherals.
- *
- * \param   cfg [IN]    Board configuration flags
- *
- * \return  BOARD_SOK in case of success or appropriate error code
- */
-Board_STATUS Board_init(Board_initCfg cfg)
-{
-    Board_STATUS ret = BOARD_SOK;
-
-    if (cfg & BOARD_INIT_UNLOCK_MMR)
-        ret = Board_unlockMMR();
-    if (ret != BOARD_SOK)
-        return ret;
-
-    if (cfg & BOARD_INIT_MODULE_CLOCK)
-        ret = Board_moduleClockInit();
-    if (ret != BOARD_SOK)
-        return ret;
-
-    if (cfg & BOARD_INIT_PINMUX_CONFIG)
-        ret = Board_pinmuxConfig();
-    if (ret != BOARD_SOK)
-        return ret;
-
-    if (cfg & BOARD_INIT_PLL)
-        ret = Board_PLLInitAll();
-    if (ret != BOARD_SOK)
-        return ret;
-
-    return ret;
-}
-
-/**
- * \brief  Board library deinitialization function
- *
- *  BOARD_DEINIT_UART_STDIO -
- *      Deinitializes the UART module.
- *
- * \param   cfg [IN]    Board configuration flags
- *
- * \return  BOARD_SOK in case of success or appropriate error code
- */
-Board_STATUS Board_deinit(Board_initCfg cfg)
-{
-    Board_STATUS ret = BOARD_SOK;
-
-    return ret;
-}
-
diff --git a/packages/ti/board/src/tpr12_qt/board_lld_init.c b/packages/ti/board/src/tpr12_qt/board_lld_init.c
deleted file mode 100755 (executable)
index c1b84c9..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-/******************************************************************************\r
- * Copyright (c) 2020 Texas Instruments Incorporated - http://www.ti.com\r
- *\r
- *  Redistribution and use in source and binary forms, with or without\r
- *  modification, are permitted provided that the following conditions\r
- *  are met:\r
- *\r
- *    Redistributions of source code must retain the above copyright\r
- *    notice, this list of conditions and the following disclaimer.\r
- *\r
- *    Redistributions in binary form must reproduce the above copyright\r
- *    notice, this list of conditions and the following disclaimer in the\r
- *    documentation and/or other materials provided with the\r
- *    distribution.\r
- *\r
- *    Neither the name of Texas Instruments Incorporated nor the names of\r
- *    its contributors may be used to endorse or promote products derived\r
- *    from this software without specific prior written permission.\r
- *\r
- *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\r
- *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\r
- *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\r
- *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\r
- *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\r
- *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\r
- *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\r
- *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\r
- *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\r
- *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\r
- *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
- *\r
- *****************************************************************************/\r
-\r
-/** \r
- *  \file board_lld_init.c\r
- *\r
- *  \brief This file initializes UART and I2C LLD modules \r
- *\r
- */\r
-\r
-#include "board_internal.h"\r
-#include "board_cfg.h"\r
-\r
-/**\r
- *  \brief   This function initializes the default UART instance for use for\r
- *           console operations.\r
- *\r
- *  \return  Board_STATUS in case of success or appropriate error code.\r
- *\r
- */\r
-Board_STATUS Board_uartStdioInit(void)\r
-{\r
-    return BOARD_SOK;\r
-}\r
-\r
-/**\r
- *  \brief   This function is to get the i2c handle of the requested\r
- *           instance of the specifed domain\r
- *\r
- *  \param   domainType [IN] Domain of I2C controller\r
- *                             BOARD_SOC_DOMAIN_MAIN - Main Domain\r
- *                             BOARD_SOC_DOMAIN_WKUP - Wakeup domain\r
- *                             BOARD_SOC_DOMAIN_MCU - MCU domain\r
- *\r
- *  \param   i2cInst    [IN]        I2C instance\r
- *\r
- *  \return  Board_STATUS in case of success or appropriate error code.\r
- *\r
- */\r
-I2C_Handle Board_getI2CHandle(uint8_t domainType,\r
-                              uint32_t i2cInst)\r
-{\r
-    return NULL;\r
-}\r
-\r
-/**\r
-  *  \brief   This function initializes the i2c instance set using\r
-  *           Board_setI2cInitConfig API.\r
-  *\r
-  *  \return  Board_STATUS in case of success or appropriate error code.\r
-  *\r
-  */\r
-Board_STATUS Board_i2cInit(void)\r
-{\r
-    return BOARD_SOK;\r
-}\r
-\r
-/**\r
- *  \brief   This function is used to close the initialized board I2C handle.\r
- */\r
-Board_STATUS Board_i2cDeInit(void)\r
-{\r
-    return BOARD_SOK;\r
-}\r
-\r
-/**\r
- *  \brief   This function is used to de-initialize board UART handles.\r
- */\r
-Board_STATUS Board_uartDeInit(void)\r
-{\r
-    return BOARD_SOK;\r
-}\r
diff --git a/packages/ti/board/src/tpr12_qt/board_mmr.c b/packages/ti/board/src/tpr12_qt/board_mmr.c
deleted file mode 100755 (executable)
index a836d23..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-/******************************************************************************
- * Copyright (c) 2020 Texas Instruments Incorporated - http://www.ti.com
- *
- *  Redistribution and use in source and binary forms, with or without
- *  modification, are permitted provided that the following conditions
- *  are met:
- *
- *    Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- *
- *    Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the
- *    distribution.
- *
- *    Neither the name of Texas Instruments Incorporated nor the names of
- *    its contributors may be used to endorse or promote products derived
- *    from this software without specific prior written permission.
- *
- *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- *****************************************************************************/
-/**
- *  \file   board_mmr.c
- *
- *  \brief  MMR configuration file
- *
- *  This file contains the function to unlock the MMR registers
- *
- */
-
-#include "board_internal.h"
-
-Board_STATUS MMR_unlock(uint32_t *kick0, uint32_t *kick1)
-{
-    /* Initialize the status variable */
-    Board_STATUS status = BOARD_SOK;
-
-    *kick0 = KICK0_UNLOCK_VAL;
-    *kick1 = KICK1_UNLOCK_VAL;
-
-    return status;
-}
-
-/**
- * \brief  Unlocks MMR registers
- *
- * \return  Board_STATUS
- */
-Board_STATUS Board_unlockMMR(void)
-{
-    uint32_t *lock0;
-    uint32_t *lock1;
-
-    /* Unlock MAIN MMR registers */
-    lock0 = (uint32_t *)(CSL_MSS_TOPRCM_U_BASE + CSL_MSS_TOPRCM_LOCK0_KICK0);
-    lock1 = (uint32_t *)(CSL_MSS_TOPRCM_U_BASE + CSL_MSS_TOPRCM_LOCK0_KICK1);
-    MMR_unlock(lock0, lock1);
-
-    lock0 = (uint32_t *)(CSL_MSS_RCM_U_BASE + CSL_MSS_RCM_LOCK0_KICK0);
-    lock1 = (uint32_t *)(CSL_MSS_RCM_U_BASE + CSL_MSS_RCM_LOCK0_KICK1);
-    MMR_unlock(lock0, lock1);
-
-    lock0 = (uint32_t *)(CSL_MSS_CTRL_U_BASE + CSL_MSS_CTRL_LOCK0_KICK0);
-    lock1 = (uint32_t *)(CSL_MSS_CTRL_U_BASE + CSL_MSS_CTRL_LOCK0_KICK1);
-    MMR_unlock(lock0, lock1);
-
-    lock0 = (uint32_t *)(CSL_DSS_RCM_U_BASE + CSL_DSS_RCM_LOCK0_KICK0);
-    lock1 = (uint32_t *)(CSL_DSS_RCM_U_BASE + CSL_DSS_RCM_LOCK0_KICK1);
-    MMR_unlock(lock0, lock1);
-
-    lock0 = (uint32_t *)(CSL_DSS_CTRL_U_BASE + CSL_DSS_CTRL_LOCK0_KICK0);
-    lock1 = (uint32_t *)(CSL_DSS_CTRL_U_BASE + CSL_DSS_CTRL_LOCK0_KICK1);
-    MMR_unlock(lock0, lock1);
-
-    lock0 = (uint32_t *)(CSL_RCSS_RCM_U_BASE + CSL_RCSS_RCM_LOCK0_KICK0);
-    lock1 = (uint32_t *)(CSL_RCSS_RCM_U_BASE + CSL_RCSS_RCM_LOCK0_KICK1);
-    MMR_unlock(lock0, lock1);
-
-    lock0 = (uint32_t *)(CSL_RCSS_CTRL_U_BASE + CSL_RCSS_CTRL_LOCK0_KICK0);
-    lock1 = (uint32_t *)(CSL_RCSS_CTRL_U_BASE + CSL_RCSS_CTRL_LOCK0_KICK1);
-    MMR_unlock(lock0, lock1);
-
-    return BOARD_SOK;
-}
-
diff --git a/packages/ti/board/src/tpr12_qt/board_pinmux.c b/packages/ti/board/src/tpr12_qt/board_pinmux.c
deleted file mode 100755 (executable)
index d0f852a..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-/******************************************************************************
- * Copyright (c) 2020 Texas Instruments Incorporated - http://www.ti.com
- *
- *  Redistribution and use in source and binary forms, with or without
- *  modification, are permitted provided that the following conditions
- *  are met:
- *
- *    Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- *
- *    Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the
- *    distribution.
- *
- *    Neither the name of Texas Instruments Incorporated nor the names of
- *    its contributors may be used to endorse or promote products derived
- *    from this software without specific prior written permission.
- *
- *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- *****************************************************************************/
-
-/**
- *  \file board_pinmux.c
- *
- *  \brief This file Enables pinmux for the TPR12 evm board
- *
- */
-
-#include <ti/csl/soc.h>
-#include "board_internal.h"
-#include "board_pinmux.h"
-
-/**
- * \brief  Board pinmuxing enable function
- *
- * Enables pinmux for the TPR12 evm board interfaces. Pin mux is done based
- * on the default/primary functionality of the board. Any pins shared by
- * multiple interfaces need to be reconfigured to access the secondary
- * functionality.
- *
- * \param   void
- *
- * \return  BOARD_SOK in case of success or appropriate error code
- *
- */
-Board_STATUS Board_pinmuxConfig (void)
-{
-    return BOARD_SOK;
-}
diff --git a/packages/ti/board/src/tpr12_qt/board_pll.c b/packages/ti/board/src/tpr12_qt/board_pll.c
deleted file mode 100755 (executable)
index e765f28..0000000
+++ /dev/null
@@ -1,148 +0,0 @@
-/******************************************************************************
- * Copyright (c) 2020 Texas Instruments Incorporated - http://www.ti.com
- *
- *  Redistribution and use in source and binary forms, with or without
- *  modification, are permitted provided that the following conditions
- *  are met:
- *
- *    Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- *
- *    Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the
- *    distribution.
- *
- *    Neither the name of Texas Instruments Incorporated nor the names of
- *    its contributors may be used to endorse or promote products derived
- *    from this software without specific prior written permission.
- *
- *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- *****************************************************************************/
-
-/**
- *
- * \file   board_pll.c
- *
- * \brief  PLL configuration structures
- *
- * This file provides the PLL base addressess and configurations
- * for PLL initialization
- *
- */
-
-#include "board_pll.h"
-
-/**
- * \brief  Function to initialize all the PLL clocks with default values
- *
- * \return Board_STATUS
- */
-Board_STATUS Board_PLLInitAll(void)
-{
-    uint32_t lock_status;
-    Board_STATUS  status = CSL_PASS;
-
-    // APPLJ-1 Setting\r
-    // CLOCKOUT = M/(N+1) * CLKINP * (1/M2)  =  0x7d0/(39+1) * 40 * (1/1) = 2G\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_CORE_M2NDIV     , 0x10027);      //M2NDIV_M2[22:16] = 1 , M2NDIV_N[7:0] = 0x27\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_CORE_MN2DIV     , 0x107d0);      //MN2DIV_N2[19:16] = 1 , MN2DIV_M[11:0] = 0x7d0\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_CORE_CLKCTRL    , 0x29021000);   //CLKDCOLDOEN[29] = 1,NWELLTRIM[28:24] = 9 IDLE[23] = 0 CLKDCOLDOPWDNZ[17] = 1 SELFREQDCO[12:10] = 4\r
-\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_CORE_TENABLE    , 0x1);          // TENABLE    = 1\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_CORE_CLKCTRL    , 0x29021001);   //+TINTZ[0]   = 1\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_CORE_TENABLE    , 0x0);          // TENABLE    = 0\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_CORE_TENABLEDIV , 0x1);          // TENABLEDIV = 1\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_CORE_TENABLEDIV , 0x0);          // TENABLEDIV = 0\r
-\r
-    // APPLJ-2 Setting\r
-    // CLOCKOUT = M/(N+1) * CLKINP * (1/M2)  =  0x708/(39+1) * 40 * (1/1) = 1.8G\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_DSP_M2NDIV     , 0x10027);      //M2NDIV_M2[22:16] = 1 , M2NDIV_N[7:0] = 0x27\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_DSP_MN2DIV     , 0x10708);      //MN2DIV_N2[19:16] = 1 , MN2DIV_M[11:0] = 0x708\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_DSP_CLKCTRL    , 0x29021000);   //CLKDCOLDOEN[29] = 1,NWELLTRIM[28:24] = 9 IDLE[23] = 0 CLKDCOLDOPWDNZ[17] = 1 SELFREQDCO[12:10] = 4\r
-\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_DSP_TENABLE    , 0x1);          // TENABLE    = 1\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_DSP_CLKCTRL    , 0x29021001);   //+TINTZ[0]   = 1\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_DSP_TENABLE    , 0x0);          // TENABLE    = 0\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_DSP_TENABLEDIV , 0x1);          // TENABLEDIV = 1\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_DSP_TENABLEDIV , 0x0);          // TENABLEDIV = 0\r
-\r
-    // APPLJ-3 Setting\r
-    // CLOCKOUT = M/(N+1) * CLKINP * (1/M2)  =  0x6C0/(39+1) * 40 * (1/1) = 1.728G\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_PER_M2NDIV     , 0x10027);      //M2NDIV_M2[22:16] = 1 , M2NDIV_N[7:0] = 0x27\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_PER_MN2DIV     , 0x106C0);      //MN2DIV_N2[19:16] = 1 , MN2DIV_M[11:0] = 0x6C0\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_PER_CLKCTRL    , 0x29021000);   //CLKDCOLDOEN[29] = 1,NWELLTRIM[28:24] = 9 IDLE[23] = 0 CLKDCOLDOPWDNZ[17] = 1 SELFREQDCO[12:10] = 4\r
-\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_PER_TENABLE    , 0x1);          // TENABLE    = 1\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_PER_CLKCTRL    , 0x29021001);   //+TINTZ[0]   = 1\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_PER_TENABLE    , 0x0);          // TENABLE    = 0\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_PER_TENABLEDIV , 0x1);          // TENABLEDIV = 1\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_PER_TENABLEDIV , 0x0);          // TENABLEDIV = 0\r
-\r
-    // APPLJ-1  :  loop check to PLLLOCK DONE\r
-    lock_status = HW_RD_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_CORE_STATUS); //PHASELOCK[10]\r
-    while(0x400 != (lock_status & 0x400)) {\r
-       lock_status = HW_RD_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_CORE_STATUS); //PHASELOCK[10]\r
-    }\r
-\r
-    // HSDIV-1 Settings\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_CORE_HSDIVIDER_CLKOUT0, 0x1);    // CLKOUT0_DIV[4:0] = 1  -- 2G/(1+1) = 1GHz\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_CORE_HSDIVIDER_CLKOUT1, 0x3);    // CLKOUT1_DIV[4:0] = 3  -- 2G/(3+1) = 500MHz\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_CORE_HSDIVIDER_CLKOUT2, 0x4);    // CLKOUT2_DIV[4:0] = 4  -- 2G/(4+1) = 400MHz\r
-    //Unsed  HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_CORE_HSDIVIDER_CLKOUT3, 0x9);    // CLKOUT3_DIV[4:0] = 9  -- 2G/(9+1) = 200MHz -- Unused\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_CORE_HSDIVIDER        , 0x4);    // HSDIVIDER[2]     = 1\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_CORE_HSDIVIDER        , 0x0);    // HSDIVIDER[2]     = 0\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_CORE_HSDIVIDER_CLKOUT0, 0x101);  //+CLKOUT0_GATE[8]  = 1\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_CORE_HSDIVIDER_CLKOUT1, 0x103);  //+CLKOUT1_GATE[8]  = 1\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_CORE_HSDIVIDER_CLKOUT2, 0x104);  //+CLKOUT2_GATE[8]  = 1\r
-    //Unsed  HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_CORE_HSDIVIDER_CLKOUT3, 0x109);  //+CLKOUT3_GATE[8]  = 1\r
-\r
-    // APPLJ-2 : loop check to PLLLOCK DONE\r
-    lock_status = HW_RD_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_DSP_STATUS); //PHASELOCK[10]\r
-    while(0x400 != (lock_status & 0x400)) {\r
-       lock_status = HW_RD_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_DSP_STATUS); //PHASELOCK[10]\r
-    }\r
-\r
-    // HSDIV-2 Settings\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_DSP_HSDIVIDER_CLKOUT0, 0x0);    // CLKOUT0_DIV[4:0] = 0  -- 1.8G/(0+1) = 1.8GHz\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_DSP_HSDIVIDER_CLKOUT1, 0x3);    // CLKOUT1_DIV[4:0] = 3  -- 1.8G/(3+1) = 450MHz\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_DSP_HSDIVIDER_CLKOUT2, 0x4);    // CLKOUT2_DIV[4:0] = 4  -- 1.8G/(4+1) = 360MHz\r
-    //Unsed HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_DSP_HSDIVIDER_CLKOUT3, 0x9);    // CLKOUT3_DIV[4:0] = 9  -- 1.8G/(9+1) = 200MHz unused\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_DSP_HSDIVIDER        , 0x4);    // HSDIVIDER[2]     = 1\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_DSP_HSDIVIDER        , 0x0);    // HSDIVIDER[2]     = 0\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_DSP_HSDIVIDER_CLKOUT0, 0x100);  //+CLKOUT0_GATE[8]  = 1\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_DSP_HSDIVIDER_CLKOUT1, 0x103);  //+CLKOUT1_GATE[8]  = 1\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_DSP_HSDIVIDER_CLKOUT2, 0x104);  //+CLKOUT2_GATE[8]  = 1\r
-    //UnsedHW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_DSP_HSDIVIDER_CLKOUT3, 0x109);  //+CLKOUT3_GATE[8]  = 1\r
-\r
-    // APPLJ-3 : loop check to PLLLOCK DONE\r
-    lock_status = HW_RD_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_PER_STATUS); //PHASELOCK[10]\r
-    while(0x400 != (lock_status & 0x400)) {\r
-       lock_status = HW_RD_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_PER_STATUS); //PHASELOCK[10]\r
-    }\r
-\r
-    // HSDIV-2 Settings\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_PER_HSDIVIDER_CLKOUT0, 0x0);    // CLKOUT0_DIV[4:0] = 0  -- 1.728G/(0+1) = 1.728GHz\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_PER_HSDIVIDER_CLKOUT1, 0x8);    // CLKOUT1_DIV[4:0] = 8  -- 1.728G/(8+1) = 192 MHz\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_PER_HSDIVIDER_CLKOUT2, 0x11);    // CLKOUT2_DIV[4:0] = 11  -- 1.8G/(17+1) = 96 MHz\r
-    //Unsed HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_DSP_HSDIVIDER_CLKOUT3, 0x9);    //  unused\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_PER_HSDIVIDER        , 0x4);    // HSDIVIDER[2]     = 1\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_PER_HSDIVIDER        , 0x0);    // HSDIVIDER[2]     = 0\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_PER_HSDIVIDER_CLKOUT0, 0x100);  //+CLKOUT0_GATE[8]  = 1\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_PER_HSDIVIDER_CLKOUT1, 0x108);  //+CLKOUT1_GATE[8]  = 1\r
-    HW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_PER_HSDIVIDER_CLKOUT2, 0x111);  //+CLKOUT2_GATE[8]  = 1\r
-    //UnusedHW_WR_REG32(CSL_MSS_TOPRCM_U_BASE+PLL_DSP_HSDIVIDER_CLKOUT3, 0x109);  //+CLKOUT3_GATE[8]  = 1
-
-    return status;
-}
diff --git a/packages/ti/board/src/tpr12_qt/include/board_cfg.h b/packages/ti/board/src/tpr12_qt/include/board_cfg.h
deleted file mode 100755 (executable)
index 1051a6d..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
-/******************************************************************************
- * Copyright (c) 2020 Texas Instruments Incorporated - http://www.ti.com
- *
- *  Redistribution and use in source and binary forms, with or without
- *  modification, are permitted provided that the following conditions
- *  are met:
- *
- *    Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- *
- *    Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the
- *    distribution.
- *
- *    Neither the name of Texas Instruments Incorporated nor the names of
- *    its contributors may be used to endorse or promote products derived
- *    from this software without specific prior written permission.
- *
- *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- *****************************************************************************/
-
-/**
- * \brief  Board library configurations
- *
- * This file configures the instance numbers, address and gpio reset
- * details of different interfaces of TPR12 QT.
- *
- */
-#ifndef BOARD_CFG_H_
-#define BOARD_CFG_H_
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Board ID information */
-#define BOARD_INFO_CPU_NAME     "tpr12"
-#define BOARD_INFO_BOARD_NAME   "tpr12_qt"
-
-/* UART LLD instance number for primary UART port */
-#define BOARD_UART_INSTANCE                     (0U)
-
-/* I2C instance as master for master/slave test example */
-#define BOARD_I2C_MASTER_INSTANCE              (0U)
-
-/* I2C instance as salve for master/slave test example */
-#define BOARD_I2C_SLAVE_INSTANCE               (0U)
-
-/* I2C instance connected to PMIC - WKUP I2C0 */
-#define BOARD_I2C_PMIC_INSTANCE                 (0U)
-
-/* I2C slave address of PMIC */
-#define BOARD_I2C_PMIC_ADDR                     (0U)
-
-/* QSPI instance connected to OSPI NOR flash */
-#define BOARD_QSPI_NOR_INSTANCE                 (0U)
-
-/* Number of LEDS connected to GPIO */
-#define BOARD_GPIO_LED_NUM                      (0U)
-
-#define BOARD_MCU_EMAC_PORT_MAX                 (0x1U)
-#define BOARD_MCU_ETH_PORT                      (0x1U)
-
-/* MCU EMAC PHY MDIO address */
-#define BOARD_MCU_EMAC_PHY_ADDR                 (0U)
-
-/* MCU EMAC MAX REG DUMP */
-#define BOARD_MCU_EMAC_REG_DUMP_MAX             (16U)
-
-/* MCU EMAC PHY register address definitions for reading strap values */
-#define BOARD_MCU_EMAC_STRAP_STS1_ADDR          (0x6EU)
-#define BOARD_MCU_EMAC_STRAP_STS2_ADDR          (0x6FU)
-
-/* MCU_ETH1_INTn */
-#define BOARD_GPIO_MCU_EMAC_INT_PORT_NUM        (0)
-#define BOARD_GPIO_MCU_EMAC_INT_PIN_NUM         (0)
-
-/* Temperature sensor i2c instance */
-#define BOARD_TEMP_SENSOR_I2C_INSTANCE          (0U)
-
-/* Temperature sensor slave device addresses */
-#define BOARD_TEMP_SENSOR_I2C_SLAVE_DEVICE1_ADDR    (0x0)
-#define BOARD_TEMP_SENSOR_I2C_SLAVE_DEVICE2_ADDR    (0x0)
-
-#define BOARD_I2C_CURRENT_MONITOR_INSTANCE          (0U)
-
-/* Enable NOR flash driver */
-#define BOARD_NOR_FLASH_IN
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif   /* BOARD_CFG_H_ */
diff --git a/packages/ti/board/src/tpr12_qt/include/board_clock.h b/packages/ti/board/src/tpr12_qt/include/board_clock.h
deleted file mode 100755 (executable)
index cbd42ce..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-/******************************************************************************
- * Copyright (c) 2020 Texas Instruments Incorporated - http://www.ti.com
- *
- *  Redistribution and use in source and binary forms, with or without
- *  modification, are permitted provided that the following conditions
- *  are met:
- *
- *    Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- *
- *    Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the
- *    distribution.
- *
- *    Neither the name of Texas Instruments Incorporated nor the names of
- *    its contributors may be used to endorse or promote products derived
- *    from this software without specific prior written permission.
- *
- *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- *****************************************************************************/
-
-/** \file board_clock.h
-*
-*   \brief This file contains structure, typedefs, functions and
-*          prototypes used by board clock module.
-*/
-
-#ifndef BOARD_CLOCK_H
-#define BOARD_CLOCK_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include "board_internal.h"
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif  /* BOARD_CLOCK_H */
diff --git a/packages/ti/board/src/tpr12_qt/include/board_ethernet_config.h b/packages/ti/board/src/tpr12_qt/include/board_ethernet_config.h
deleted file mode 100755 (executable)
index 1c9efa5..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-/******************************************************************************
- * Copyright (c) 2020 Texas Instruments Incorporated - http://www.ti.com
- *
- *  Redistribution and use in source and binary forms, with or without
- *  modification, are permitted provided that the following conditions
- *  are met:
- *
- *    Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- *
- *    Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the
- *    distribution.
- *
- *    Neither the name of Texas Instruments Incorporated nor the names of
- *    its contributors may be used to endorse or promote products derived
- *    from this software without specific prior written permission.
- *
- *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- *****************************************************************************/
-
- /**
- * \brief  board_ethernet_config.h
- *
- * This file contains the Ethernet PHY configurations for TPR12 EVM
- *
- */
-
-#ifndef _BOARD_ETHERNET_CONFIG_H_
-#define _BOARD_ETHERNET_CONFIG_H_
-
-#include <ti/board/board.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/**
- * \enum emac_mode
- *
- * \brief specifies the available emac mode types.
- */
-typedef enum
-{
-    RMII = 1,
-    RGMII = 2,
-}emac_mode;
-
-/**
- * \brief  Board specific configurations for MCU Ethernet PHY
- *
- * This function takes care of configuring the internal delays for MCU gigabit
- * Ethernet PHY
- *
- * \return  none
- */
-Board_STATUS Board_mcuEthConfig(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* _BOARD_ETHERNET_CONFIG_H_ */
diff --git a/packages/ti/board/src/tpr12_qt/include/board_internal.h b/packages/ti/board/src/tpr12_qt/include/board_internal.h
deleted file mode 100755 (executable)
index 232122b..0000000
+++ /dev/null
@@ -1,219 +0,0 @@
-/******************************************************************************
- * Copyright (c) 2020 Texas Instruments Incorporated - http://www.ti.com
- *
- *  Redistribution and use in source and binary forms, with or without
- *  modification, are permitted provided that the following conditions
- *  are met:
- *
- *    Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- *
- *    Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the
- *    distribution.
- *
- *    Neither the name of Texas Instruments Incorporated nor the names of
- *    its contributors may be used to endorse or promote products derived
- *    from this software without specific prior written permission.
- *
- *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- *****************************************************************************/
-
-#ifndef BOARD_INTERNAL_H_
-#define BOARD_INTERNAL_H_
-
-/*****************************************************************************
- * Include Files                                                             *
- *****************************************************************************/
-#include <ti/csl/csl_types.h>
-#include <ti/csl/cslr_device.h>
-#include <ti/csl/soc.h>
-
-#if !defined(SOC_TPR12)
-#include <ti/drv/i2c/I2C.h>
-#include <ti/drv/i2c/soc/I2C_soc.h>
-#else
-typedef void      *I2C_Handle;
-#endif
-
-#ifdef UART_DRV_INSTALLED
-#include <ti/drv/uart/UART.h>
-#include <ti/drv/uart/UART_stdio.h>
-#include <ti/drv/uart/soc/UART_soc.h>
-#endif
-
-#include <ti/board/board.h>
-#include <ti/csl/tistdtypes.h>
-#include <stdio.h>
-#include <stdbool.h>
-
-/*****************************************************************************
- * Internal Objects                                                          *
- *****************************************************************************/
-#if !defined(SOC_TPR12)
-extern const I2C_Config I2C_config[];
-#endif
-
-typedef struct
-{
-    I2C_Handle i2cHandle;
-} Board_gblObj;
-
-extern Board_gblObj Board_obj;
-
-/****************************************************************************/
-#define KICK0_UNLOCK_VAL                 (0x01234567U)
-#define KICK1_UNLOCK_VAL                 (0x0FEDCBA8U)
-
-/****************************************************************************/
-#define BOARD_ETH_PHY_SPEED_MASK             (0x2040U)
-#define BOARD_ETH_PHY_AUTONEG_MASK           (0x1000U)
-#define BOARD_ETH_PHY_SPEED_1000MPBS         (0x0040U)
-#define BOARD_ETH_PHY_SPEED_100MPBS          (0x2000U)
-
-#define CSL_MCU_PLL_CLK_FREQ                 (400000000U)
-#define CSL_DSS_PLL_CLK_FREQ                 (450000000U)
-
-#define BOARD_ETHPHY_REGCR_REG_ADDR             (0xDU)
-#define BOARD_ETHPHY_REGCR_ADDR_EN              (0x1FU)
-#define BOARD_ETHPHY_REGCR_DATA_EN              (0x401FU)
-#define BOARD_ETHPHY_ADDAR_REG_ADDR             (0xEU)
-
-#define BOARD_ETHPHY_LEDCR1_REG_ADDR            (0x18U)
-
-#define BOARD_ETHPHY_FLD_THRESH_REG_ADDR        (0x2EU)
-
-#define BOARD_ETHPHY_RGMIICTL_REG_ADDR          (0x32U)
-#define BOARD_ETHPHY_RGMIICTL_CLKDELAY_MASK     (0x3U)
-#define BOARD_ETHPHY_RGMIICTL_TXDELAY_EN        (0x2U)
-#define BOARD_ETHPHY_RGMIICTL_RXDELAY_EN        (0x1U)
-
-#define BOARD_ETHPHY_STRAP_STS1_REG_ADDR        (0x6EU)
-#define BOARD_ETHPHY_STRAP_STS2_REG_ADDR        (0x6FU)
-
-#define BOARD_ETHPHY_RGMIIDCTL_REG_ADDR         (0x86U)
-
-#define BOARD_ETHPHY_GPIO_MUX_CTRL2_REG_ADDR    (0x172U)
-
-/*****************************************************************************
- * Function Prototypes                                                       *
- *****************************************************************************/
-
-/**
- *
- * \brief  Board pinmuxing enable function
- *
- * Enables pinmux for the Maxwell idk board interfaces. Pin mux is done based on the
- * default/primary functionality of the board. Any pins shared by multiple
- * interfaces need to be reconfigured to access the secondary functionality.
- *
- * \return  BOARD_SOK in case of success or appropriate error code
- *
- */
-Board_STATUS Board_pinmuxConfig(void);
-
-/**
- *
- * \brief  Board PLL initialization function
- *
- *  Configures different PLL controller modules. This enables all the PLL
- *  controllers on the SoC with default configurations.
- *
- * \return BOARD_SOK in case of success or appropriate error code
- */
-Board_STATUS Board_PLLInit(uint32_t modId, uint32_t clkId, uint64_t clkRate);
-
-/**
- *
- * \brief clock Initialization function
- *
- * Enables different power domains and peripheral clocks of the SoC.
- * Some of the power domains and peripherals will be off by default.
- * Enabling the power domains is mandatory before accessing using
- * board interfaces connected to those peripherals.
- *
- * \return  BOARD_SOK in case of success or appropriate error code
- *
- */
-Board_STATUS Board_moduleClockInit(void);
-
-/**
- * \brief  Board specific configurations for Gigabit Ethernet PHYs
- *
- * This function takes care of configuring the internal delays for gigabit
- * Ethernet PHY. 2.25ns delay is configured for Rx, and .25ns delay is
- * configured for Tx
- *
- * \return  none
- */
-Board_STATUS Board_mcuEthConfig(void);
-
-/**
- * \brief   This function initializes the default UART instance for use for
- *          console operations.
- *
- * \return  Board_STATUS in case of success or appropriate error code.
- *
- */
-Board_STATUS Board_uartStdioInit(void);
-
-/**
- * \brief   This function initializes the i2c instance connected to the
- *          board Id EEPROM.
- *
- * This function disables the interrupt mode as the Board i2c instance
- * doesn't require interrupt mode and restores back original at the end.
- *
- * \return  Board_STATUS in case of success or appropriate error code.
- *
- */
-Board_STATUS Board_internalInitI2C(void);
-
-/**
- *  \brief   This function is to get the i2c handle of the requested
- *           instance of the specifed domain
- *
- *  \param   domainType [IN] Domain of I2C controller
- *                             BOARD_SOC_DOMAIN_MAIN - Main Domain
- *                             BOARD_SOC_DOMAIN_WKUP - Wakeup domain
- *                             BOARD_SOC_DOMAIN_MCU - MCU domain
- *
- *  \param   i2cInst    [IN]        I2C instance
- *
- *  \return  Board_STATUS in case of success or appropriate error code.
- *
- */
-I2C_Handle Board_getI2CHandle(uint8_t domainType,
-                              uint32_t i2cInst);
-
-/**
- * \brief  Unlocks MMR registers
- *
- * \return  Board_STATUS
- */
-Board_STATUS Board_unlockMMR(void);
-
-/**
- *
- * \brief PLL Initialization function
- *
- * Initialize all system PLLs .
- *
- * \return  BOARD_SOK in case of success or appropriate error code
- *
- */
-Board_STATUS Board_PLLInitAll(void);
-
-#endif /* BOARD_INTERNAL_H_ */
diff --git a/packages/ti/board/src/tpr12_qt/include/board_pinmux.h b/packages/ti/board/src/tpr12_qt/include/board_pinmux.h
deleted file mode 100755 (executable)
index 478d553..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-/******************************************************************************
- * Copyright (c) 2020 Texas Instruments Incorporated - http://www.ti.com
- *
- *  Redistribution and use in source and binary forms, with or without
- *  modification, are permitted provided that the following conditions
- *  are met:
- *
- *    Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- *
- *    Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the
- *    distribution.
- *
- *    Neither the name of Texas Instruments Incorporated nor the names of
- *    its contributors may be used to endorse or promote products derived
- *    from this software without specific prior written permission.
- *
- *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- *****************************************************************************/
-
-/**
- * \file   board_pinmux.h
- *
- * \brief  TPR12 EVM pinmux interface header file.
- *
- */
-
-#ifndef _BOARD_PIN_MUX_H_
-#define _BOARD_PIN_MUX_H_
-
-/* ========================================================================== */
-/*                             Include Files                                  */
-/* ========================================================================== */
-
-#include "pinmux.h"
-#include "csl_types.h"
-#include <ti/csl/soc/tpr12/src/cslr_mss_iomux.h>
-#include <ti/csl/soc.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define MODE_PIN_MASK                   (0xFU)
-#define PINMUX_BIT_MASK                 (0xFFF8FFF0U)
-
-/* MAIN CTRL base address + offset to beginning of PAD CONFIG  section */
-#define MAIN_PMUX_CTRL (CSL_MSS_IOMUX_U_BASE)
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-#endif /* _BOARD_PIN_MUX_H_ */
diff --git a/packages/ti/board/src/tpr12_qt/include/board_pll.h b/packages/ti/board/src/tpr12_qt/include/board_pll.h
deleted file mode 100755 (executable)
index 07ad5bd..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
-/******************************************************************************
- * Copyright (c) 2020 Texas Instruments Incorporated - http://www.ti.com
- *
- *  Redistribution and use in source and binary forms, with or without
- *  modification, are permitted provided that the following conditions
- *  are met:
- *
- *    Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- *
- *    Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the
- *    distribution.
- *
- *    Neither the name of Texas Instruments Incorporated nor the names of
- *    its contributors may be used to endorse or promote products derived
- *    from this software without specific prior written permission.
- *
- *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- *****************************************************************************/
-#ifndef BOARD_PLL_H
-#define BOARD_PLL_H
-
-#include <ti/csl/soc.h>
-#include "csl_types.h"
-#include "board.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/**
- * \file   board_pll.h
- *
- * \brief  TPR12 EVM PLL configurations header file
- *
- * This file includes the structures, enums and register offsets
- * for PLL configurations
- *
- */
-
-/*PLL register offsets */
-#define PLL_CORE_PWRCTRL                    CSL_MSS_TOPRCM_PLL_CORE_PWRCTRL\r
-#define PLL_CORE_CLKCTRL                    CSL_MSS_TOPRCM_PLL_CORE_CLKCTRL\r
-#define PLL_CORE_TENABLE                    CSL_MSS_TOPRCM_PLL_CORE_TENABLE\r
-#define PLL_CORE_TENABLEDIV                 CSL_MSS_TOPRCM_PLL_CORE_TENABLEDIV\r
-#define PLL_CORE_M2NDIV                     CSL_MSS_TOPRCM_PLL_CORE_M2NDIV\r
-#define PLL_CORE_MN2DIV                     CSL_MSS_TOPRCM_PLL_CORE_MN2DIV\r
-#define PLL_CORE_FRACDIV                    CSL_MSS_TOPRCM_PLL_CORE_FRACDIV\r
-#define PLL_CORE_BWCTRL                     CSL_MSS_TOPRCM_PLL_CORE_BWCTRL\r
-#define PLL_CORE_FRACCTRL                   CSL_MSS_TOPRCM_PLL_CORE_FRACCTRL\r
-#define PLL_CORE_STATUS                     CSL_MSS_TOPRCM_PLL_CORE_STATUS\r
-#define PLL_CORE_HSDIVIDER                  CSL_MSS_TOPRCM_PLL_CORE_HSDIVIDER\r
-#define PLL_CORE_HSDIVIDER_CLKOUT0          CSL_MSS_TOPRCM_PLL_CORE_HSDIVIDER_CLKOUT0\r
-#define PLL_CORE_HSDIVIDER_CLKOUT1          CSL_MSS_TOPRCM_PLL_CORE_HSDIVIDER_CLKOUT1\r
-#define PLL_CORE_HSDIVIDER_CLKOUT2          CSL_MSS_TOPRCM_PLL_CORE_HSDIVIDER_CLKOUT2\r
-#define PLL_CORE_HSDIVIDER_CLKOUT3          CSL_MSS_TOPRCM_PLL_CORE_HSDIVIDER_CLKOUT3\r
-#define PLL_DSP_PWRCTRL                     CSL_MSS_TOPRCM_PLL_DSP_PWRCTRL\r
-#define PLL_DSP_CLKCTRL                     CSL_MSS_TOPRCM_PLL_DSP_CLKCTRL\r
-#define PLL_DSP_TENABLE                     CSL_MSS_TOPRCM_PLL_DSP_TENABLE\r
-#define PLL_DSP_TENABLEDIV                  CSL_MSS_TOPRCM_PLL_DSP_TENABLEDIV\r
-#define PLL_DSP_M2NDIV                      CSL_MSS_TOPRCM_PLL_DSP_M2NDIV\r
-#define PLL_DSP_MN2DIV                      CSL_MSS_TOPRCM_PLL_DSP_MN2DIV\r
-#define PLL_DSP_FRACDIV                     CSL_MSS_TOPRCM_PLL_DSP_FRACDIV\r
-#define PLL_DSP_BWCTRL                      CSL_MSS_TOPRCM_PLL_DSP_BWCTRL\r
-#define PLL_DSP_FRACCTRL                    CSL_MSS_TOPRCM_PLL_DSP_FRACCTRL\r
-#define PLL_DSP_STATUS                      CSL_MSS_TOPRCM_PLL_DSP_STATUS\r
-#define PLL_DSP_HSDIVIDER                   CSL_MSS_TOPRCM_PLL_DSP_HSDIVIDER\r
-#define PLL_DSP_HSDIVIDER_CLKOUT0           CSL_MSS_TOPRCM_PLL_DSP_HSDIVIDER_CLKOUT0\r
-#define PLL_DSP_HSDIVIDER_CLKOUT1           CSL_MSS_TOPRCM_PLL_DSP_HSDIVIDER_CLKOUT1\r
-#define PLL_DSP_HSDIVIDER_CLKOUT2           CSL_MSS_TOPRCM_PLL_DSP_HSDIVIDER_CLKOUT2\r
-#define PLL_DSP_HSDIVIDER_CLKOUT3           CSL_MSS_TOPRCM_PLL_DSP_HSDIVIDER_CLKOUT3\r
-#define PLL_PER_PWRCTRL                     CSL_MSS_TOPRCM_PLL_PER_PWRCTRL\r
-#define PLL_PER_CLKCTRL                     CSL_MSS_TOPRCM_PLL_PER_CLKCTRL\r
-#define PLL_PER_TENABLE                     CSL_MSS_TOPRCM_PLL_PER_TENABLE\r
-#define PLL_PER_TENABLEDIV                  CSL_MSS_TOPRCM_PLL_PER_TENABLEDIV\r
-#define PLL_PER_M2NDIV                      CSL_MSS_TOPRCM_PLL_PER_M2NDIV\r
-#define PLL_PER_MN2DIV                      CSL_MSS_TOPRCM_PLL_PER_MN2DIV\r
-#define PLL_PER_FRACDIV                     CSL_MSS_TOPRCM_PLL_PER_FRACDIV\r
-#define PLL_PER_BWCTRL                      CSL_MSS_TOPRCM_PLL_PER_BWCTRL\r
-#define PLL_PER_FRACCTRL                    CSL_MSS_TOPRCM_PLL_PER_FRACCTRL\r
-#define PLL_PER_STATUS                      CSL_MSS_TOPRCM_PLL_PER_STATUS\r
-#define PLL_PER_HSDIVIDER                   CSL_MSS_TOPRCM_PLL_PER_HSDIVIDER\r
-#define PLL_PER_HSDIVIDER_CLKOUT0           CSL_MSS_TOPRCM_PLL_PER_HSDIVIDER_CLKOUT0\r
-#define PLL_PER_HSDIVIDER_CLKOUT1           CSL_MSS_TOPRCM_PLL_PER_HSDIVIDER_CLKOUT1\r
-#define PLL_PER_HSDIVIDER_CLKOUT2           CSL_MSS_TOPRCM_PLL_PER_HSDIVIDER_CLKOUT2\r
-#define PLL_PER_HSDIVIDER_CLKOUT3           CSL_MSS_TOPRCM_PLL_PER_HSDIVIDER_CLKOUT3
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif  /* BOARD_PLL_H */
-
diff --git a/packages/ti/board/src/tpr12_qt/include/board_utils.h b/packages/ti/board/src/tpr12_qt/include/board_utils.h
deleted file mode 100755 (executable)
index 19a2037..0000000
+++ /dev/null
@@ -1,115 +0,0 @@
-/******************************************************************************
- * Copyright (c) 2020 Texas Instruments Incorporated - http://www.ti.com
- *
- *  Redistribution and use in source and binary forms, with or without
- *  modification, are permitted provided that the following conditions
- *  are met:
- *
- *    Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- *
- *    Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the
- *    distribution.
- *
- *    Neither the name of Texas Instruments Incorporated nor the names of
- *    its contributors may be used to endorse or promote products derived
- *    from this software without specific prior written permission.
- *
- *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- *****************************************************************************/
-
-/**
- *  \file   board_utils.h
- *
- *  \brief  Board utility functions header file
- *
- */
-
-#ifndef _BOARD_UTILS_H_
-#define _BOARD_UTILS_H_
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*****************************************************************************
- * Include Files                                                             *
- *****************************************************************************/
-#include <ti/csl/csl_types.h>
-#include <ti/csl/cslr_device.h>
-
-#include <ti/board/board.h>
-#include <ti/csl/tistdtypes.h>
-#include <stdio.h>
-#include <stdbool.h>
-
-/**
- * \brief Structure to configure the board I2C parameters
- */
-typedef struct Board_I2cInitCfg_s
-{
-    /** I2C controller instance */
-    uint32_t i2cInst;
-    /** SoC domain of the I2C controller */
-    uint32_t socDomain;
-    /** I2C controller interrupt enable/disable flag */
-    bool enableIntr;
-} Board_I2cInitCfg_t;
-
-/**
- * \brief Function to get I2C configurations used by board
- *
- *  \return   BOARD_SOK in case of success or appropriate error code.
- *
- */
-Board_STATUS Board_getI2cInitConfig(Board_I2cInitCfg_t *i2cCfg);
-
-/**
- * \brief Function to configure I2C configurations used by board
- *
- * This function is used to set the I2C controller instance and
- * SoC domain used by the board module for board ID info read.
- *
- * Usage:
- * Call Board_setI2cInitConfig to set the I2C configurations
- * Call Board ID info read/write
- *
- *  \return   BOARD_SOK in case of success or appropriate error code.
- *
- */
-Board_STATUS Board_setI2cInitConfig(Board_I2cInitCfg_t *i2cCfg);
-
-/**
- *  \brief    Function to generate delay in micro seconds
- *
- *  This function takes the delay parameters in usecs but the generated
- *  delay will be in multiples of msecs due to the osal function which
- *  generates delay in msecs. Delay parameter passed will be converted to 
- *  msecs and fractional value will be adjusted to nearest msecs value. 
- *  Minimum delay generated by this function is 1 msec. 
- *  Function parameter is kept in usecs to match with existing
- *  platforms which has delay function for usecs.
- *
- *  \param    usecs [IN]  Specifies the time to delay in micro seconds.
- *
- */ 
-void BOARD_delay(uint32_t usecs);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* _BOARD_UTILS_H_ */
diff --git a/packages/ti/board/src/tpr12_qt/include/pinmux.h b/packages/ti/board/src/tpr12_qt/include/pinmux.h
deleted file mode 100755 (executable)
index 40b35d1..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-/******************************************************************************
- * Copyright (c) 2020 Texas Instruments Incorporated - http://www.ti.com
- *
- *  Redistribution and use in source and binary forms, with or without
- *  modification, are permitted provided that the following conditions
- *  are met:
- *
- *    Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- *
- *    Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the
- *    distribution.
- *
- *    Neither the name of Texas Instruments Incorporated nor the names of
- *    its contributors may be used to endorse or promote products derived
- *    from this software without specific prior written permission.
- *
- *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- *****************************************************************************/
-
-#ifndef PINMUX_H
-#define PINMUX_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/**
- * \file   pinmux.h
- *
- * \brief  TPR12 EVM board pinmux header file
- *
- * This file includes the structures to enable the pinmux configurations
- *
- */
-
-#include <ti/csl/tistdtypes.h>
-
-/* ========================================================================== */
-/*                         Structures and Enums                               */
-/* ========================================================================== */
-
-/**
- *  \brief Structure defining the pin configuration parameters.
- *
- */
-typedef struct pinmuxPerCfg
-{
-    int16_t pinOffset;
-    /**< Register offset for configuring the pin */
-    int32_t pinSettings;
-    /**< Value to be configured,
-          - Active mode configurations like mux mode, pull resistor, and buffer mode
-    */
-}pinmuxPerCfg_t;
-
-/**
- *  \brief Structure defining the pin configuration for different instances of
- *         a module.
- */
-typedef struct pinmuxModuleCfg
-{
-    int16_t modInstNum;
-    /**< Instance number of the ip */
-    int16_t doPinConfig;
-    /**< Flag indicating whether this instance has to be configured. This flag
-         can be altered with separate API (PinMuxConfigEnable()).
-         Default configuration will be set to TRUE, but can be altered for
-         different scenarios (like power management). */
-    pinmuxPerCfg_t* instPins;
-    /**< Pointer to list of pins corresponding to this instance */
-}pinmuxModuleCfg_t;
-
-/**
- *  \brief Structure defining the pin configuration of a board.
- */
-typedef struct pinmuxBoardCfg
-{
-    int32_t moduleId;
-    /**< Module ID */
-    pinmuxModuleCfg_t* modulePinCfg;
-    /**< Pin config info of a module: #pinmuxModuleCfg_t */
-}pinmuxBoardCfg_t;
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif
diff --git a/packages/ti/board/src/tpr12_qt/src_files_tpr12_qt.mk b/packages/ti/board/src/tpr12_qt/src_files_tpr12_qt.mk
deleted file mode 100755 (executable)
index d164f34..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-
-SRCDIR += src/tpr12_qt src/tpr12_qt/include
-INCDIR += src/tpr12_qt src/tpr12_qt/include
-
-# Common source files across all platforms and cores
-SRCS_COMMON += board_init.c board_mmr.c board_pinmux.c board_pll.c board_clock.c