mirror of
https://github.com/brain-hackers/linux-brain.git
synced 2024-06-09 23:36:23 +09:00
d1daf8a536
Enable oob irq in default for imx6sll evk board. Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
102 lines
2.2 KiB
Plaintext
102 lines
2.2 KiB
Plaintext
/*
|
|
* 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 {
|
|
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 0x0b001
|
|
>;
|
|
};
|
|
};
|
|
|
|
&lcdif {
|
|
status = "disabled";
|
|
};
|
|
|
|
®_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";
|
|
interrupt-parent = <&gpio3>;
|
|
interrupts = <26 IRQ_TYPE_LEVEL_LOW>;
|
|
interrupt-names = "host-wake";
|
|
};
|
|
};
|