1// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2/*
3 * Copyright 2023 Toradex
4 *
5 * Common dtsi for Verdin AM62 SoM WB variant
6 *
7 * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62
8 */
9
10/ {
11	wifi_pwrseq: wifi-pwrseq {
12		compatible = "mmc-pwrseq-simple";
13		pinctrl-names = "default";
14		pinctrl-0 = <&pinctrl_wifi_en>;
15		reset-gpios = <&main_gpio0 22 GPIO_ACTIVE_LOW>;
16	};
17};
18
19/* On-module Wi-Fi */
20&sdhci2 {
21	pinctrl-names = "default";
22	pinctrl-0 = <&pinctrl_sdhci2>;
23	bus-width = <4>;
24	cap-power-off-card;
25	keep-power-in-suspend;
26	mmc-pwrseq = <&wifi_pwrseq>;
27	non-removable;
28	ti,fails-without-test-cd;
29	ti,driver-strength-ohm = <50>;
30	vmmc-supply = <&reg_3v3>;
31	status = "okay";
32};
33
34/* On-module Bluetooth */
35&main_uart5 {
36	pinctrl-names = "default";
37	pinctrl-0 = <&pinctrl_uart5>;
38	uart-has-rtscts;
39	status = "okay";
40
41	bluetooth {
42		compatible = "nxp,88w8987-bt";
43		fw-init-baudrate = <3000000>;
44	};
45};
46