summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx6sll-evk-btwifi.dts
diff options
context:
space:
mode:
authorFugang Duan <fugang.duan@nxp.com>2019-11-05 20:24:09 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 16:09:09 +0800
commit3ad8cc16ef8fb409e787afcc4b33129253a72ade (patch)
tree2430a6a8b8408f05b9ac04d80c74f8ca3a1c3dca /arch/arm/boot/dts/imx6sll-evk-btwifi.dts
parent56d26191f314a2f716334e10de56858e1e1ca25a (diff)
ARM: dts: imx6: enable Murata 1MW M.2 card for imx6 legacy platforms
Enable Murata 1MW M.2 card for i.MX6 legacy platforms. Plug in Murata 1MW M.2 into SD slot by using Murata uSD-to-M.2 Adapter. Below i.MX6 legacy platforms will be supported: - i.MX6Q/QP/DL SDB, SD2 slot - i.MX6SX SDB, SD2 slot - i.MX6SLL EVK, SD3 slot - i.MX6UL/ULL/ULZ EVK, SD1 slot Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Diffstat (limited to 'arch/arm/boot/dts/imx6sll-evk-btwifi.dts')
-rw-r--r--arch/arm/boot/dts/imx6sll-evk-btwifi.dts99
1 files changed, 99 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sll-evk-btwifi.dts b/arch/arm/boot/dts/imx6sll-evk-btwifi.dts
new file mode 100644
index 000000000000..06421c04220a
--- /dev/null
+++ b/arch/arm/boot/dts/imx6sll-evk-btwifi.dts
@@ -0,0 +1,99 @@
+/*
+ * Copyright (C) 2016 Freescale Semiconductor, Inc.
+ * Copyright 2019 NXP
+ *
+ * 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 wrote for plugging in Murata 1MW M.2
+ * into SD3 slot by using Murata uSD-to-M.2 Adapter.
+ *
+ * By default, OOB IRQ is not enabled since i.MX6SLL EVK board needs to rework.
+ * How to enable OOB IRQ ?
+ * HW rework:
+ * Install R127 on i.MX6SLL EVK board.
+ * SW change: add below pin for WL_HOST_WAKE
+ * pinctrl_wifi: wifigrp {
+ * fsl,pins = <
+ * ...
+ * MX6SLL_PAD_KEY_COL1__GPIO3_IO26 0x0b001
+ * >;
+ * };
+ * brcmf: bcrmf@1 {
+ * reg = <1>;
+ * compatible = "brcm,bcm4329-fmac";
+ * interrupt-parent = <&gpio3>;
+ * interrupts = <26 IRQ_TYPE_LEVEL_LOW>;
+ * interrupt-names = "host-wake";
+ * };
+ */
+
+#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>;
+ };
+
+ usdhc1_pwrseq: usdhc1_pwrseq {
+ compatible = "mmc-pwrseq-simple";
+ reset-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>;
+ };
+};
+
+&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 */
+ >;
+ };
+ };
+};
+
+&lcdif {
+ status = "disabled";
+};
+
+&reg_sd3_vmmc {
+ regulator-always-on;
+};
+
+&uart5 {
+ resets = <&modem_reset>;
+ status = "okay";
+};
+
+&usdhc3 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_wifi>;
+ bus-width = <4>;
+ no-1-8-v;
+ non-removable;
+ mmc-pwrseq = <&usdhc1_pwrseq>;
+ pm-ignore-notify;
+ cap-power-off-card;
+ /delete-property/ cd-gpios;
+ /delete-property/ vmmc-supply;
+ /delete-property/ enable-sdio-wakeup;
+
+ brcmf: bcrmf@1 {
+ reg = <1>;
+ compatible = "brcm,bcm4329-fmac";
+ };
+};