mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
ARM: dts: udoo_neo: Add Wifi support
Udoo Neo has a TI WL1831 Wifi chip connected to the USDHC3 port. Add support for it. Signed-off-by: Breno Lima <breno.lima@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
ab51eba74c
commit
850a983f16
1 changed files with 45 additions and 0 deletions
|
|
@ -97,6 +97,16 @@
|
|||
gpio = <&gpio4 12 GPIO_ACTIVE_HIGH>;
|
||||
enable-active-high;
|
||||
};
|
||||
|
||||
reg_wlan: regulator-wlan {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "wlan-en-regulator";
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
gpio = <&gpio2 12 GPIO_ACTIVE_HIGH>;
|
||||
startup-delay-us = <70000>;
|
||||
enable-active-high;
|
||||
};
|
||||
};
|
||||
|
||||
&cpu0 {
|
||||
|
|
@ -296,6 +306,19 @@
|
|||
<MX6SX_PAD_SD2_DATA3__USDHC2_DATA3 0x17059>,
|
||||
<MX6SX_PAD_SD1_DATA0__GPIO6_IO_2 0x17059>; /* CD */
|
||||
};
|
||||
|
||||
pinctrl_usdhc3: usdhc3grp {
|
||||
fsl,pins =
|
||||
<MX6SX_PAD_KEY_COL2__GPIO2_IO_12 0x15059>,
|
||||
<MX6SX_PAD_KEY_ROW1__GPIO2_IO_16 0x13059>,
|
||||
<MX6SX_PAD_SD3_DATA0__USDHC3_DATA0 0x17069>,
|
||||
<MX6SX_PAD_SD3_DATA1__USDHC3_DATA1 0x17069>,
|
||||
<MX6SX_PAD_SD3_DATA2__USDHC3_DATA2 0x17069>,
|
||||
<MX6SX_PAD_SD3_DATA3__USDHC3_DATA3 0x17069>,
|
||||
<MX6SX_PAD_SD3_CMD__USDHC3_CMD 0x17069>,
|
||||
<MX6SX_PAD_SD3_CLK__USDHC3_CLK 0x10069>,
|
||||
<MX6SX_PAD_CSI_MCLK__OSC32K_32K_OUT 0x10059>;
|
||||
};
|
||||
};
|
||||
|
||||
&uart1 {
|
||||
|
|
@ -351,3 +374,25 @@
|
|||
wakeup-source;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usdhc3 { /* Wi-Fi */
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_usdhc3>;
|
||||
non-removable;
|
||||
vmmc-supply = <®_wlan>;
|
||||
cap-power-off-card;
|
||||
wakeup-source;
|
||||
keep-power-in-suspend;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
status = "okay";
|
||||
|
||||
wlcore: wlcore@2 {
|
||||
compatible = "ti,wl1831";
|
||||
reg = <2>;
|
||||
interrupt-parent = <&gpio2>;
|
||||
interrupts = <16 IRQ_TYPE_EDGE_RISING>;
|
||||
ref-clock-frequency = <38400000>;
|
||||
tcxo-clock-frequency = <26000000>;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue