xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/imx8mm-verdin-wifi.dtsi (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
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 = <&gpio3 25 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&gpio3 {
21	gpio-line-names = "SODIMM_52",
22			  "SODIMM_54",
23			  "SODIMM_64",
24			  "SODIMM_21",
25			  "SODIMM_206",
26			  "SODIMM_76",
27			  "SODIMM_56",
28			  "SODIMM_58",
29			  "SODIMM_60",
30			  "SODIMM_62",
31			  "",
32			  "",
33			  "",
34			  "",
35			  "SODIMM_66",
36			  "SODIMM_17",
37			  "",
38			  "",
39			  "",
40			  "SODIMM_244",
41			  "",
42			  "SODIMM_48",
43			  "SODIMM_44",
44			  "SODIMM_42",
45			  "SODIMM_46";
46};
47
48&gpio4 {
49	gpio-line-names = "SODIMM_102",
50			  "SODIMM_90",
51			  "SODIMM_92",
52			  "SODIMM_94",
53			  "SODIMM_96",
54			  "SODIMM_100",
55			  "",
56			  "",
57			  "",
58			  "",
59			  "SODIMM_120",
60			  "SODIMM_104",
61			  "SODIMM_106",
62			  "SODIMM_108",
63			  "SODIMM_112",
64			  "SODIMM_114",
65			  "SODIMM_116",
66			  "",
67			  "SODIMM_118",
68			  "",
69			  "SODIMM_88",
70			  "SODIMM_149",
71			  "SODIMM_147",
72			  "SODIMM_36",
73			  "SODIMM_32",
74			  "SODIMM_30",
75			  "SODIMM_34",
76			  "SODIMM_38",
77			  "SODIMM_252",
78			  "SODIMM_133",
79			  "SODIMM_135",
80			  "SODIMM_129";
81};
82
83/* On-module Wi-Fi */
84&usdhc3 {
85	bus-width = <4>;
86	keep-power-in-suspend;
87	non-removable;
88	pinctrl-names = "default", "state_100mhz", "state_200mhz";
89	pinctrl-0 = <&pinctrl_usdhc3>, <&pinctrl_wifi_ctrl>;
90	pinctrl-1 = <&pinctrl_usdhc3_100mhz>, <&pinctrl_wifi_ctrl>;
91	pinctrl-2 = <&pinctrl_usdhc3_200mhz>, <&pinctrl_wifi_ctrl>;
92	vmmc-supply = <&reg_wifi_en>;
93	status = "okay";
94};
95