From nobody Sat May 4 01:40:03 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1500258827032370.1261729965622; Sun, 16 Jul 2017 19:33:47 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id CE08E21CF25C3; Sun, 16 Jul 2017 19:31:52 -0700 (PDT) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 4F99621CF25B2 for ; Sun, 16 Jul 2017 19:31:51 -0700 (PDT) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Jul 2017 19:33:43 -0700 Received: from zwei4-mobl.ccr.corp.intel.com ([10.239.196.112]) by fmsmga005.fm.intel.com with ESMTP; 16 Jul 2017 19:33:42 -0700 X-Original-To: edk2-devel@lists.01.org X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,372,1496127600"; d="scan'208";a="127448533" From: zwei4 To: edk2-devel@lists.01.org Date: Mon, 17 Jul 2017 10:33:36 +0800 Message-Id: <20170717023336.24908-1-david.wei@intel.com> X-Mailer: git-send-email 2.11.0.windows.1 Subject: [edk2] [Patch][edk2-platforms/devel-MinnowBoard3-UDK2017] WIFI Pin Setting X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Configure GPIO pins of on-board WIFI. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: zwei4 --- .../Board/MinnowBoard3/BoardInitPostMem/BoardGpios.h | 4 ++-- .../Common/Acpi/AcpiTablesPCAT/PlatformSsdt/Wifi/LBEE5KL1DX.asl | 8 +++-= ---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Platform/BroxtonPlatformPkg/Board/MinnowBoard3/BoardInitPostMe= m/BoardGpios.h b/Platform/BroxtonPlatformPkg/Board/MinnowBoard3/BoardInitPo= stMem/BoardGpios.h index 1bf848995..77d409026 100644 --- a/Platform/BroxtonPlatformPkg/Board/MinnowBoard3/BoardInitPostMem/Board= Gpios.h +++ b/Platform/BroxtonPlatformPkg/Board/MinnowBoard3/BoardInitPostMem/Board= Gpios.h @@ -73,7 +73,7 @@ BXT_GPIO_PAD_INIT mMinnow3_GpioInitData_N[] =3D BXT_GPIO_PAD_CONF(L"GPIO_7", M1 , NA , NA ,= NA , NA , Wake_Disabled, P_20K_L, NA , NA, HizRx0I, = SAME, GPIO_PADBAR+0x0038, NORTH),//Mux with DISP1_TOUCH_INT_N based on t= he SW3 switch BXT_GPIO_PAD_CONF(L"GPIO_8", M1 , NA , NA ,= NA , NA , Wake_Disabled, P_20K_L, NA , NA, HizRx0I, = SAME, GPIO_PADBAR+0x0040, NORTH),//Mux with DISP1_TOUCH_RST_N based on t= he SW3 switch BXT_GPIO_PAD_CONF(L"GPIO_9", M1 , NA , NA = , NA , NA , Wake_Disabled, P_20K_L, NA , NA ,NA , = NA, GPIO_PADBAR+0x0048, NORTH),//Feature: LB - BXT_GPIO_PAD_CONF(L"GPIO_10", M0 , GPO , GPIO_D = , HI , Level , Wake_Enabled , P_20K_L, NA, NA, TxDRxE , = NA, GPIO_PADBAR+0x0050, NORTH),//Feature: LB =20 + BXT_GPIO_PAD_CONF(L"GPIO_10", M0 , GPO , GPIO_D = , LO , Level , Wake_Enabled , P_20K_L, NA, NA, NA , = NA, GPIO_PADBAR+0x0050, NORTH),//Feature: LB =20 BXT_GPIO_PAD_CONF(L"GPIO_11", M1 , NA , NA ,= NA , NA , Wake_Disabled, P_20K_L, NA , NA ,NA , = NA, GPIO_PADBAR+0x0058, NORTH),//Feature: LB BXT_GPIO_PAD_CONF(L"GPIO_12", M1 , NA , NA ,= NA , NA , Wake_Enabled , P_20K_L, NA , NA ,NA , = NA, GPIO_PADBAR+0x0060, NORTH),//Feature: LB BXT_GPIO_PAD_CONF(L"GPIO_13", M1 , NA , NA ,= NA , NA , Wake_Disabled, P_20K_L, NA , NA ,NA , = NA, GPIO_PADBAR+0x0068, NORTH),//Feature: LB @@ -259,7 +259,7 @@ BXT_GPIO_PAD_INIT mMinnow3_GpioInitData_W [] =3D BXT_GPIO_PAD_CONF(L"GPIO_151 ISH_GPIO_5", M0 , GPO ,GPIO_D, = HI , NA , Wake_Disabled, P_20K_L, NA , NA,NA , = NA , GPIO_PADBAR+0x00A8, WEST),//Feature: RF_KILL_WWAN Net in= Sch: NGFF_WWAN_RF_KILL_1P8_N BXT_GPIO_PAD_CONF(L"GPIO_152 ISH_GPIO_6", M2 , NA , NA ,= NA , NA , Wake_Disabled, P_20K_L, NA , NA,NA , = NA , GPIO_PADBAR+0x00B0, WEST),//Feature: AVS_I2S5_SDI BXT_GPIO_PAD_CONF(L"GPIO_153 ISH_GPIO_7", M1 , NA , NA , = NA , NA , Wake_Disabled, P_20K_L, NA , NA,IOS_Masked, = SAME, GPIO_PADBAR+0x00B8, WEST), - BXT_GPIO_PAD_CONF(L"GPIO_154 ISH_GPIO_8", M0 , GPO ,GPIO_D, = HI , NA , Wake_Disabled, P_20K_L, NA , NA,NA , = NA , GPIO_PADBAR+0x00C0, WEST),//Feature: BT_Disable Net in= Sch: BT_DISABLE2_1P8_N + BXT_GPIO_PAD_CONF(L"GPIO_154 ISH_GPIO_8", M0 , GPO ,GPIO_D, = LO , NA , Wake_Disabled, P_20K_L, NA , NA,NA , = NA , GPIO_PADBAR+0x00C0, WEST),//Feature: BT_Disable Net in= Sch: BT_DISABLE2_1P8_N BXT_GPIO_PAD_CONF(L"GPIO_155 ISH_GPIO_9", M2 , NA , NA , = NA , NA , Wake_Disabled, P_20K_L, NA , NA,IOS_Masked, = SAME, GPIO_PADBAR+0x00C8, WEST),//CG2000 PDB: If PDB =3D 0: power-down; = If PDB =3D 1: power-up, it is the same in ISH/LPSS mode BXT_GPIO_PAD_CONF(L"GPIO_209 PCIE_CLKREQ0_B", M1 , NA , NA , = NA , NA , Wake_Disabled, P_NONE, NA , NA, HizRx0I, E= nPd, GPIO_PADBAR+0x00D0, WEST), BXT_GPIO_PAD_CONF(L"GPIO_210 PCIE_CLKREQ1_B", M1 , NA , NA , = NA , NA , Wake_Disabled, P_20K_L, NA , NA, HizRx0I, E= nPd, GPIO_PADBAR+0x00D8, WEST), diff --git a/Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/Platfor= mSsdt/Wifi/LBEE5KL1DX.asl b/Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTab= lesPCAT/PlatformSsdt/Wifi/LBEE5KL1DX.asl index ed4b285ac..7d0fa4ba8 100644 --- a/Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/PlatformSsdt/W= ifi/LBEE5KL1DX.asl +++ b/Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/PlatformSsdt/W= ifi/LBEE5KL1DX.asl @@ -12,9 +12,7 @@ **/ =20 /* - GPIO_10 for Wi-Fi direct IRQ 0x6D. - GPIO_15 for Wi-Fi reset - PMIC_STDBY for Wi-Fi disable, NW index 30 + GPIO_10 for Wi-Fi Kill. */ =20 =20 @@ -45,13 +43,13 @@ Scope(\_SB.PCI0.SDIO) =20 Method (_PS3, 0, NotSerialized) { - Store( 0x00, \_SB.GPO0.CWLE ) // Put WiFi chip in Reset + Store( 0x01, \_SB.GPO0.CWLE ) // Disable Sleep(150) } =20 Method (_PS0, 0, NotSerialized) { - Store( 0x01, \_SB.GPO0.CWLE ) // Take WiFi chip out in Reset + Store( 0x00, \_SB.GPO0.CWLE ) // Enable Sleep(150) } } --=20 2.11.0.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel