xref: /freebsd/sys/contrib/device-tree/src/arm/nxp/imx/imx6ull-colibri-wifi.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2/*
3 * Copyright 2018-2022 Toradex
4 */
5
6#include "imx6ull-colibri.dtsi"
7
8/ {
9	memory@80000000 {
10		device_type = "memory";
11		reg = <0x80000000 0x20000000>;
12	};
13
14	wifi_pwrseq: sdio-pwrseq {
15		compatible = "mmc-pwrseq-simple";
16		pinctrl-names = "default";
17		pinctrl-0 = <&pinctrl_snvs_wifi_pdn>;
18		reset-gpios = <&gpio5 11 GPIO_ACTIVE_LOW>;
19	};
20};
21
22&cpu0 {
23	clock-frequency = <792000000>;
24};
25
26&gpio1 {
27	gpio-line-names = "SODIMM_8",
28			  "SODIMM_6",
29			  "SODIMM_129",
30			  "",
31			  "SODIMM_19",
32			  "SODIMM_21",
33			  "UNUSABLE_SODIMM_180",
34			  "UNUSABLE_SODIMM_184",
35			  "SODIMM_4",
36			  "SODIMM_2",
37			  "SODIMM_106",
38			  "SODIMM_71",
39			  "SODIMM_23",
40			  "SODIMM_31",
41			  "SODIMM_99",
42			  "SODIMM_102",
43			  "SODIMM_33",
44			  "SODIMM_35",
45			  "SODIMM_25",
46			  "SODIMM_27",
47			  "SODIMM_36",
48			  "SODIMM_38",
49			  "SODIMM_32",
50			  "SODIMM_34",
51			  "SODIMM_135",
52			  "SODIMM_77",
53			  "SODIMM_100",
54			  "SODIMM_186",
55			  "SODIMM_196",
56			  "SODIMM_194";
57};
58
59&gpio2 {
60	gpio-line-names = "SODIMM_55",
61			  "SODIMM_63",
62			  "SODIMM_178",
63			  "SODIMM_188",
64			  "SODIMM_73",
65			  "SODIMM_30",
66			  "SODIMM_67",
67			  "SODIMM_104",
68			  "",
69			  "",
70			  "",
71			  "",
72			  "",
73			  "",
74			  "",
75			  "",
76			  "SODIMM_190",
77			  "SODIMM_47",
78			  "SODIMM_192",
79			  "SODIMM_49",
80			  "SODIMM_51",
81			  "SODIMM_53";
82};
83
84&gpio3 {
85	gpio-line-names = "SODIMM_56",
86			  "SODIMM_44",
87			  "SODIMM_68",
88			  "SODIMM_82",
89			  "",
90			  "SODIMM_76",
91			  "SODIMM_70",
92			  "SODIMM_60",
93			  "SODIMM_58",
94			  "SODIMM_78",
95			  "SODIMM_72",
96			  "SODIMM_80",
97			  "SODIMM_46",
98			  "SODIMM_62",
99			  "SODIMM_48",
100			  "SODIMM_74",
101			  "SODIMM_50",
102			  "SODIMM_52",
103			  "SODIMM_54",
104			  "SODIMM_66",
105			  "SODIMM_64",
106			  "SODIMM_57",
107			  "SODIMM_61",
108			  "SODIMM_29",
109			  "SODIMM_37",
110			  "SODIMM_88",
111			  "SODIMM_86",
112			  "SODIMM_92",
113			  "SODIMM_90";
114};
115
116&gpio4 {
117	gpio-line-names = "",
118			  "",
119			  "",
120			  "",
121			  "",
122			  "",
123			  "",
124			  "",
125			  "",
126			  "",
127			  "",
128			  "SODIMM_59",
129			  "",
130			  "",
131			  "SODIMM_133",
132			  "",
133			  "SODIMM_28",
134			  "SODIMM_75",
135			  "SODIMM_96",
136			  "",
137			  "",
138			  "",
139			  "",
140			  "",
141			  "",
142			  "SODIMM_69",
143			  "SODIMM_98",
144			  "SODIMM_85",
145			  "SODIMM_65";
146};
147
148&gpio5 {
149	gpio-line-names = "SODIMM_43",
150			  "SODIMM_45",
151			  "SODIMM_137",
152			  "SODIMM_95",
153			  "SODIMM_107",
154			  "SODIMM_131",
155			  "",
156			  "",
157			  "",
158			  "",
159			  "SODIMM_105";
160};
161
162&iomuxc {
163	pinctrl-names = "default";
164	pinctrl-0 = <&pinctrl_gpio1 &pinctrl_gpio2 &pinctrl_gpio3
165		&pinctrl_gpio4 &pinctrl_gpio7>;
166
167};
168
169&iomuxc_snvs {
170	pinctrl-names = "default";
171	pinctrl-0 = <&pinctrl_snvs_gpio1>;
172};
173
174&usdhc2 {
175	pinctrl-names = "default";
176	pinctrl-0 = <&pinctrl_usdhc2>;
177	assigned-clocks = <&clks IMX6UL_CLK_USDHC2_SEL>, <&clks IMX6UL_CLK_USDHC2>;
178	assigned-clock-parents = <&clks IMX6UL_CLK_PLL2_PFD2>;
179	assigned-clock-rates = <0>, <198000000>;
180	cap-power-off-card;
181	keep-power-in-suspend;
182	max-frequency = <25000000>;
183	mmc-pwrseq = <&wifi_pwrseq>;
184	no-1-8-v;
185	non-removable;
186	vmmc-supply = <&reg_module_3v3>;
187	wakeup-source;
188	status = "okay";
189};
190