From nobody Fri Dec 19 13:50:11 2025 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 35C511C6F57; Tue, 27 Aug 2024 14:06:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.207.212.93 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724767569; cv=none; b=NuZMHYlVGkvwE6BKfbfg8RGznCvVU+NQOJvcGNuXzVKH1b+pSqDSgwYJwsOIC2ksPnVY46cZogokekU+FezGBua73xqxGXVV+VzSSatfJpfxaPpH8ckvLqtesVEPACj4GRRHA1Oh6RSmycFUMenitJ3+becu2yb1rIqrLjn6eCM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724767569; c=relaxed/simple; bh=d2POF/9oZKypUIUgueFvXnNPKLfuspbfE5JXi6AuUxw=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=NB9FcjUTlmCSzwDtm/AEHh+qSMduqKsDfzSEL1qWDnUQSpdMLbJnMtgpY/qpIPVsPI8MVrqsLldpibNdzXspdS5oHHi2l72rukU2r/Iyy9ALhhdekr8qlos9p5WPBdEe0Jbg5nigFy4X5Eh48a6QSt586bEhNAEBU0PE+9BoqT0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=MqxKSR+p; arc=none smtp.client-ip=91.207.212.93 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="MqxKSR+p" Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 47RBUMZg022307; Tue, 27 Aug 2024 16:06:00 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=selector1; bh= JPuWythXlb2aVY0RmOdTDjEvW63AoOtJU+vMJ9SxB/M=; b=MqxKSR+pBAirOdE+ oZ9E/nB499gvXdxFNx1SY5sBjIhwie9+Ea0MPjr5KSIcyaLYbKr9MA744KQ01fIL SOGTE+LTXD6vd5YtdaONDLBd5p5efX3a0Q++rYqXAyHutXgBc9qJ+fdrz804NIsb OwRaMro4pDWMo9O+HvyLiq+MkilQIwWgFxoagofFOAe8+Y7pGerRLH8kQLYYuZpZ is1tbhAYdqAZthuXpdBdUTYTJZZpriXl3Boz3zPjDiUAIxM2wqdF8QdnnaYudrf6 ODoBq1Kgf6oKxEqPWwIzWj+/r3oQfzwdnuisKmCNkiNJvqf3/Zyv0tRBg6w+2+dW XAJ6XQ== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 419e00rmp4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Aug 2024 16:06:00 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id C1B0F40050; Tue, 27 Aug 2024 16:05:44 +0200 (CEST) Received: from Webmail-eu.st.com (eqndag1node4.st.com [10.75.129.133]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 7462426C461; Tue, 27 Aug 2024 16:05:15 +0200 (CEST) Received: from SAFDAG1NODE1.st.com (10.75.90.17) by EQNDAG1NODE4.st.com (10.75.129.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.37; Tue, 27 Aug 2024 16:05:15 +0200 Received: from localhost (10.48.86.111) by SAFDAG1NODE1.st.com (10.75.90.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.37; Tue, 27 Aug 2024 16:05:15 +0200 From: Valentin Caron To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alexandre Torgue CC: , , , , Christophe Roullier , Valentin Caron Subject: [PATCH 6/9] ARM: dts: stm32: add support of WLAN/BT on stm32mp135f-dk Date: Tue, 27 Aug 2024 16:04:52 +0200 Message-ID: <20240827140455.345086-7-valentin.caron@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240827140455.345086-1-valentin.caron@foss.st.com> References: <20240827140455.345086-1-valentin.caron@foss.st.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: SAFCAS1NODE2.st.com (10.75.90.13) To SAFDAG1NODE1.st.com (10.75.90.17) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-08-27_08,2024-08-27_01,2024-05-17_01 Content-Type: text/plain; charset="utf-8" From: Christophe Roullier Add support of WLAN/BT Murata Type 1DX module: - usart2 is used for Bluetooth interface - sdmmc2 is used for WLAN (sdio) interface Signed-off-by: Christophe Roullier Signed-off-by: Valentin Caron --- arch/arm/boot/dts/st/stm32mp135f-dk.dts | 45 +++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/arch/arm/boot/dts/st/stm32mp135f-dk.dts b/arch/arm/boot/dts/st= /stm32mp135f-dk.dts index ef33cbf3e601c..3a276589fef79 100644 --- a/arch/arm/boot/dts/st/stm32mp135f-dk.dts +++ b/arch/arm/boot/dts/st/stm32mp135f-dk.dts @@ -121,6 +121,19 @@ panel_in_rgb: endpoint { }; }; }; + + v3v3_ao: v3v3-ao { + compatible =3D "regulator-fixed"; + regulator-name =3D "v3v3_ao"; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + regulator-always-on; + }; + + wifi_pwrseq: wifi-pwrseq { + compatible =3D "mmc-pwrseq-simple"; + reset-gpios =3D <&mcp23017 11 GPIO_ACTIVE_LOW>; + }; }; =20 &adc_1 { @@ -392,6 +405,30 @@ &sdmmc1 { status =3D "okay"; }; =20 +/* Wifi */ +&sdmmc2 { + pinctrl-names =3D "default", "opendrain", "sleep"; + pinctrl-0 =3D <&sdmmc2_b4_pins_a &sdmmc2_clk_pins_a>; + pinctrl-1 =3D <&sdmmc2_b4_od_pins_a &sdmmc2_clk_pins_a>; + pinctrl-2 =3D <&sdmmc2_b4_sleep_pins_a>; + non-removable; + cap-sdio-irq; + st,neg-edge; + bus-width =3D <4>; + vmmc-supply =3D <&v3v3_ao>; + mmc-pwrseq =3D <&wifi_pwrseq>; + #address-cells =3D <1>; + #size-cells =3D <0>; + status =3D "okay"; + + brcmf: bcrmf@1 { + reg =3D <1>; + compatible =3D "brcm,bcm4329-fmac"; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&rtc_lsco_pins_a>; + }; +}; + &spi5 { pinctrl-names =3D "default", "sleep"; pinctrl-0 =3D <&spi5_pins_a>; @@ -498,6 +535,14 @@ &usart2 { pinctrl-2 =3D <&usart2_idle_pins_a>; uart-has-rtscts; status =3D "okay"; + + bluetooth { + shutdown-gpios =3D <&mcp23017 13 GPIO_ACTIVE_HIGH>; + compatible =3D "brcm,bcm43438-bt"; + max-speed =3D <3000000>; + vbat-supply =3D <&v3v3_ao>; + vddio-supply =3D <&v3v3_ao>; + }; }; =20 &usbh_ehci { --=20 2.25.1