summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/ti/k3-am62-verdin-wifi.dtsi
blob: 90ddc71bcd3064aabb630c5457d6197fe3ea2db3 (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
// 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>;
	status = "okay";
};