summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi
blob: 5d98763b1677ffaed0d0dcd6ecb1938e17786a45 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/*
 * Copyright (C) 2017 Toradex AG
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#include "imx6ull-colibri.dtsi"

/ {
	reg_wifi_pwd: regulator-wifi-pwd {
		compatible = "regulator-fixed";
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_wifi_pdn>;
		gpio =  <&gpio5 11 0>;
		enable-active-high;
		regulator-always-on;
		regulator-name = "WIFI_PDN";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
	};
};

&iomuxc {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_hog_1 &pinctrl_hog_2 &pinctrl_hog_3
		&pinctrl_hog_4 &pinctrl_hog_5 &pinctrl_hog_7>;

};

&iomuxc_snvs {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_snvs_hog_1 &pinctrl_snvs_hog_2>;
};

&usdhc2 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_usdhc2>;
	assigned-clocks = <&clks IMX6UL_CLK_USDHC2_SEL>, <&clks IMX6UL_CLK_USDHC2>;
	assigned-clock-parents = <&clks IMX6UL_CLK_PLL2_PFD2>;
	assigned-clock-rates = <0>, <198000000>;
	no-1-8-v;
	disable-wp;
	enable-sdio-wakeup;
	keep-power-in-suspend;
	broken-cd;
	/* non-removable;*/
	status = "okay";
	/*
	 * Does not work for a WiFi chip since vmmc get turned on only during
	 * SDIO communication...
	 */
//	vmmc-supply = <&reg_wifi_pwd>;
};