From: Valentin Caron <valentin.caron@foss.st.com>
To: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: <devicetree@vger.kernel.org>,
<linux-stm32@st-md-mailman.stormreply.com>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>,
Christophe Roullier <christophe.roullier@foss.st.com>,
Valentin Caron <valentin.caron@foss.st.com>
Subject: [PATCH 5/9] ARM: dts: stm32: add support of WLAN/BT on stm32mp157c-dk2
Date: Tue, 27 Aug 2024 16:04:51 +0200 [thread overview]
Message-ID: <20240827140455.345086-6-valentin.caron@foss.st.com> (raw)
In-Reply-To: <20240827140455.345086-1-valentin.caron@foss.st.com>
From: Christophe Roullier <christophe.roullier@foss.st.com>
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 <christophe.roullier@foss.st.com>
Signed-off-by: Valentin Caron <valentin.caron@foss.st.com>
---
arch/arm/boot/dts/st/stm32mp157c-dk2.dts | 41 +++++++++++++++++++++++-
1 file changed, 40 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/st/stm32mp157c-dk2.dts b/arch/arm/boot/dts/st/stm32mp157c-dk2.dts
index 8ac1233f9a02d..5f9c0160a9c49 100644
--- a/arch/arm/boot/dts/st/stm32mp157c-dk2.dts
+++ b/arch/arm/boot/dts/st/stm32mp157c-dk2.dts
@@ -24,6 +24,11 @@ aliases {
chosen {
stdout-path = "serial0:115200n8";
};
+
+ wifi_pwrseq: wifi-pwrseq {
+ compatible = "mmc-pwrseq-simple";
+ reset-gpios = <&gpioh 4 GPIO_ACTIVE_LOW>;
+ };
};
&cryp1 {
@@ -94,10 +99,44 @@ rtc_lsco_pins_a: rtc-lsco-0 {
};
};
+/* Wifi */
+&sdmmc2 {
+ pinctrl-names = "default", "opendrain", "sleep";
+ pinctrl-0 = <&sdmmc2_b4_pins_a>;
+ pinctrl-1 = <&sdmmc2_b4_od_pins_a>;
+ pinctrl-2 = <&sdmmc2_b4_sleep_pins_a>;
+ non-removable;
+ cap-sdio-irq;
+ st,neg-edge;
+ bus-width = <4>;
+ vmmc-supply = <&v3v3>;
+ mmc-pwrseq = <&wifi_pwrseq>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "okay";
+
+ brcmf: bcrmf@1 {
+ reg = <1>;
+ compatible = "brcm,bcm4329-fmac";
+ pinctrl-names = "default";
+ pinctrl-0 = <&rtc_lsco_pins_a>;
+ };
+};
+
+/* Bluetooth */
&usart2 {
pinctrl-names = "default", "sleep", "idle";
pinctrl-0 = <&usart2_pins_c>;
pinctrl-1 = <&usart2_sleep_pins_c>;
pinctrl-2 = <&usart2_idle_pins_c>;
- status = "disabled";
+ uart-has-rtscts;
+ status = "okay";
+
+ bluetooth {
+ shutdown-gpios = <&gpioz 6 GPIO_ACTIVE_HIGH>;
+ compatible = "brcm,bcm43438-bt";
+ max-speed = <3000000>;
+ vbat-supply = <&v3v3>;
+ vddio-supply = <&v3v3>;
+ };
};
--
2.25.1
next prev parent reply other threads:[~2024-08-27 14:06 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-27 14:04 [PATCH 0/9] ARM: dts: st: add WLAN/BT on disco boards Valentin Caron
2024-08-27 14:04 ` [PATCH 1/9] ARM: dts: stm32: rtc, add pin to provide LSCO on stm32mp15 Valentin Caron
2024-08-27 14:04 ` [PATCH 2/9] ARM: dts: stm32: rtc, add pin to provide LSCO on stm32mp13 Valentin Caron
2024-08-27 14:04 ` [PATCH 3/9] ARM: dts: stm32: rtc, add LSCO to WLAN/BT module on stm32mp157c-dk2 Valentin Caron
2024-08-27 14:04 ` [PATCH 4/9] ARM: dts: stm32: rtc, add LSCO to WLAN/BT module on stm32mp135f-dk Valentin Caron
2024-08-27 14:04 ` Valentin Caron [this message]
2024-08-27 14:04 ` [PATCH 6/9] ARM: dts: stm32: add support of WLAN/BT " Valentin Caron
2024-08-27 14:04 ` [PATCH 7/9] arm64: dts: st: add RTC on stm32mp25x Valentin Caron
2024-08-27 14:04 ` [PATCH 8/9] arm64: dts: st: enable RTC on stm32mp257f-ev1 board Valentin Caron
2024-08-27 14:04 ` [PATCH 9/9] ARM: dts: stm32: rtc, add pin to provide LSCO on stm32mp25 Valentin Caron
2024-10-29 16:02 ` [PATCH 0/9] ARM: dts: st: add WLAN/BT on disco boards Alexandre TORGUE
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240827140455.345086-6-valentin.caron@foss.st.com \
--to=valentin.caron@foss.st.com \
--cc=alexandre.torgue@foss.st.com \
--cc=christophe.roullier@foss.st.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox