xref: /linux/arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi.dtsi (revision c7546e2c3cb739a3c1a2f5acaf9bb629d401afe5)
1// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2/*
3 * Copyright 2022 Toradex
4 */
5
6/ {
7	reg_wifi_en: regulator-wifi-en {
8		compatible = "regulator-fixed";
9		enable-active-high;
10		gpio = <&gpio2 11 GPIO_ACTIVE_HIGH>;
11		pinctrl-names = "default";
12		pinctrl-0 = <&pinctrl_wifi_pwr_en>;
13		regulator-max-microvolt = <3300000>;
14		regulator-min-microvolt = <3300000>;
15		regulator-name = "PDn_AW-CM276NF";
16		startup-delay-us = <2000>;
17	};
18};
19
20&gpio5 {
21	gpio-line-names = "SODIMM_42",
22			  "SODIMM_46",
23			  "SODIMM_187",
24			  "SODIMM_20",
25			  "SODIMM_22",
26			  "SODIMM_15",
27			  "SODIMM_196",
28			  "SODIMM_200",
29			  "SODIMM_198",
30			  "SODIMM_202",
31			  "",
32			  "",
33			  "",
34			  "",
35			  "",
36			  "",
37			  "SODIMM_55",
38			  "SODIMM_53",
39			  "SODIMM_95",
40			  "SODIMM_93",
41			  "SODIMM_14",
42			  "SODIMM_12",
43			  "SODIMM_129",
44			  "SODIMM_131",
45			  "SODIMM_137",
46			  "SODIMM_139",
47			  "SODIMM_147",
48			  "SODIMM_149",
49			  "SODIMM_151",
50			  "SODIMM_153";
51};
52
53&iomuxc {
54	pinctrl-names = "default";
55	pinctrl-0 = <&pinctrl_gpio1>, <&pinctrl_gpio2>,
56		    <&pinctrl_gpio3>, <&pinctrl_gpio4>,
57		    <&pinctrl_gpio7>, <&pinctrl_gpio8>,
58		    <&pinctrl_gpio_hog2>, <&pinctrl_gpio_hog3>, <&pinctrl_gpio_hog4>;
59};
60
61/* On-module Bluetooth */
62&uart4 {
63	uart-has-rtscts;
64	pinctrl-names = "default";
65	pinctrl-0 = <&pinctrl_bt_uart>;
66	status = "okay";
67
68	bluetooth {
69		compatible = "mrvl,88w8997";
70		max-speed = <921600>;
71	};
72};
73
74/* On-module Wi-Fi */
75&usdhc1 {
76	bus-width = <4>;
77	keep-power-in-suspend;
78	non-removable;
79	pinctrl-names = "default", "state_100mhz", "state_200mhz";
80	pinctrl-0 = <&pinctrl_usdhc1>, <&pinctrl_wifi_ctrl>;
81	pinctrl-1 = <&pinctrl_usdhc1_100mhz>, <&pinctrl_wifi_ctrl>;
82	pinctrl-2 = <&pinctrl_usdhc1_200mhz>, <&pinctrl_wifi_ctrl>;
83	vmmc-supply = <&reg_wifi_en>;
84	status = "okay";
85};
86