[Feature][Modem]Update MTK MODEM V1.6 baseline version: MOLY.NR15.R3.MD700.IVT.MP1MR3.MP.V1.6
MTK modem version: MT2735_IVT_MOLY.NR15.R3.MD700.IVT.MP1MR3.MP.V1.6.tar.gz
RF modem version: NA
Change-Id: I45a4c2752fa9d1a618beacd5d40737fb39ab64fb
diff --git a/mcu/driver/devdrv/pcie/inc/pcie.h b/mcu/driver/devdrv/pcie/inc/pcie.h
new file mode 100644
index 0000000..338f1ba
--- /dev/null
+++ b/mcu/driver/devdrv/pcie/inc/pcie.h
@@ -0,0 +1,117 @@
+/*****************************************************************************
+* Copyright Statement:
+* --------------------
+* This software is protected by Copyright and the information contained
+* herein is confidential. The software may not be copied and the information
+* contained herein may not be used or disclosed except with the written
+* permission of MediaTek Inc. (C) 2012
+*
+* BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
+* THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
+* RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
+* AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
+* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
+* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
+* NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
+* SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
+* SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
+* THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
+* NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
+* SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
+*
+* BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
+* LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
+* AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
+* OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
+* MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
+*
+* THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
+* WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
+* LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
+* RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
+* THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
+*
+*****************************************************************************/
+
+/*******************************************************************************
+ * Filename:
+ * ---------
+ * pcie.h
+ *
+ * Project:
+ * --------
+ * VMOLY
+ *
+ * Description:
+ * ------------
+ * PCIE device driver
+ *
+ * Author:
+ * -------
+ * -------
+ *
+ * ==========================================================================
+ * $Log$
+ *
+ * 11 11 2020 cindy.tu
+ * [MOLY00520457] [PCIE][Colgin] PCIE driver
+ *
+ * Sync to MD700.
+ *
+ * 08 19 2020 cody.lee
+ * [MOLY00557699] [Colgin] MTCMOS CTRL API - bus protection fix
+ * + SRAM chain
+ *
+ * 08 04 2020 cindy.tu
+ * [MOLY00520457] [PCIE][Colgin] PCIE driver
+ *
+ * Merge PCIE driver to T700 branch
+ *
+ * 07 13 2020 cody.lee
+ * [MOLY00545672] [Colgin] PCIE MTCMOS CTRL API
+ *
+ * 07 06 2020 cindy.tu
+ * [MOLY00520457] [PCIE][Colgin] PCIE driver
+ *
+ * Sync PCIE to MT6880 MP.
+ *
+ * 06 01 2020 cindy.tu
+ * [MOLY00520457] [PCIE][Colgin] PCIE driver
+ *
+ * Sync pcie driver and fix build error
+ *
+ *
+ ****************************************************************************/
+
+#ifndef __PCIE_H__
+#define __PCIE_H__
+
+//PCIE0
+#define BUS_PROT4_PCIE0 ((0x1<< 0)|(0x1<<12))/*AXI2S AHB*/
+#define BUS_PROT3_PCIE0 ((0x1<<26)|(0x1<<30))/*AXI0S AXI1S*/
+#define BUS_PROT0_PCIE0 (0x1<<25) /*M0*/
+
+void toprgu_ctrl_mac(kal_bool enable);
+void pcie_power_off(void);
+void pcie_mac_mtcmos_ctrl(kal_bool);
+void pcie_phy_mtcmos_ctrl(kal_bool);
+void spm_mtcmos_on(kal_uint32 , int);
+void spm_mtcmos_off(kal_uint32, int);
+void spm_mtcmos_sram_chain_on(kal_uint32);
+void spm_mtcmos_sram_chain_off(kal_uint32);
+void set_protect_pextp_d_2lx1(void);
+void clr_protect_pextp_d_2lx1(void);
+void set_prot0(unsigned int);
+void clr_prot0(unsigned int);
+void set_prot1(unsigned int);
+void clr_prot1(unsigned int);
+void set_prot2(unsigned int);
+void clr_prot2(unsigned int);
+void set_prot3(unsigned int);
+void clr_prot3(unsigned int);
+void set_prot4(unsigned int);
+void clr_prot4(unsigned int);
+void set_prot6(unsigned int);
+void clr_prot6(unsigned int);
+
+#endif