aboutsummaryrefslogtreecommitdiff
path: root/src/arm64/ti/k3-am62-verdin-wifi.dtsi
blob: a6808b10c7b26d43156d35b45077e2a8c2ef7549 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/*
 * Copyright 2023 Toradex
 *
 * Common dtsi for Verdin AM62 SoM WB variant
 *
 * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62
 */

/ {
	wifi_pwrseq: wifi-pwrseq {
		compatible = "mmc-pwrseq-simple";
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_wifi_en>;
		reset-gpios = <&main_gpio0 22 GPIO_ACTIVE_LOW>;
	};
};

/* On-module Wi-Fi */
&sdhci2 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_sdhci2>;
	bus-width = <4>;
	cap-power-off-card;
	keep-power-in-suspend;
	mmc-pwrseq = <&wifi_pwrseq>;
	non-removable;
	ti,fails-without-test-cd;
	ti,driver-strength-ohm = <50>;
	vmmc-supply = <&reg_3v3>;
	status = "okay";
};

/* On-module Bluetooth */
&main_uart5 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_uart5>;
	uart-has-rtscts;
	status = "okay";

	bluetooth {
		compatible = "nxp,88w8987-bt";
		fw-init-baudrate = <3000000>;
	};
};