summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx6sll-evk-btwifi.dts
blob: db30b1f7deb3d67c692e1461b6e82ec01ddcca92 (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
/*
 * Copyright (C) 2016 Freescale Semiconductor, Inc.
 *
 * 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.
 */

/*
 * NOTE: This DTS file is written for plugging in Murata Wi-Fi/BT EVK into Slot
 * SD1 and using Murata i.MX InterConnect Ver 2.0 Adapter. Bluetooth UART &
 * control signals are connected via ribbon cable (J4 connector).
 */

#include "imx6sll-evk.dts"

/ {
	modem_reset: modem-reset {
		compatible = "gpio-reset";
		reset-gpios = <&gpio3 27 GPIO_ACTIVE_LOW>;
		reset-delay-us = <1000>;
		#reset-cells = <0>;
	};

	regulators {
		wlreg_on: fixedregulator@100 {
			compatible = "regulator-fixed";
			regulator-min-microvolt = <5000000>;
			regulator-max-microvolt = <5000000>;
			regulator-name = "wlreg_on";
			gpio = <&gpio3 24 0>;
			startup-delay-us = <100>;
			enable-active-high;
		};
	};

	bcmdhd_wlan_0: bcmdhd_wlan@0 {
		compatible = "android,bcmdhd_wlan";
		wlreg_on-supply = <&wlreg_on>;
		gpios = <&gpio3 26 0>;          /* WL_HOST_WAKE */
	};
};

&iomuxc {
	imx6sll-evk-murata-v2 {
		pinctrl_wifi: wifigrp {
			fsl,pins = <
				MX6SLL_PAD_SD3_CMD__SD3_CMD     0x170b9
				MX6SLL_PAD_SD3_CLK__SD3_CLK     0x130b9
				MX6SLL_PAD_SD3_DATA0__SD3_DATA0 0x170b9
				MX6SLL_PAD_SD3_DATA1__SD3_DATA1 0x170b9
				MX6SLL_PAD_SD3_DATA2__SD3_DATA2 0x170b9
				MX6SLL_PAD_SD3_DATA3__SD3_DATA3 0x170b9

				MX6SLL_PAD_KEY_COL0__GPIO3_IO24 0x17059 /* WL_REG_ON */
				MX6SLL_PAD_KEY_COL1__GPIO3_IO26 0x17059 /* WL_HOST_WAKE */
			>;
		};
	};
};

&lcdif {
	status = "disabled";
};

&reg_sd3_vmmc {
	regulator-always-on;
};

&uart5 {
	resets = <&modem_reset>;
	status = "okay";
};

&usdhc3 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_wifi>;
	no-1-8-v;
	non-removable;
	cd-post;
	pm-ignore-notify;
	wifi-host; /* add hook for SD card detect mechanism for BCMDHD driver */
};