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