Skip to content

Commit 6067ec2

Browse files
jhswartzmmind
authored andcommitted
ARM: dts: enable WLAN for Mecer Xtreme Mini S6
The Mecer Xtreme Mini S6 features a wireless module, based on a Realtek 8723BS, which provides WLAN and Bluetooth connectivity via SDIO and UART interfaces respectively. Define a simple MMC power sequence that declares the GPIO pins connected to the module's WLAN Disable and Bluetooth Disable pins as active low reset signals, because both signals must be deasserted for WLAN radio operation. Configure the host's SDIO interface for High Speed mode with 1.8v I/O signalling and IRQ detection over a 4-bit wide bus. Signed-off-by: Justin Swartz <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent 4390627 commit 6067ec2

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

arch/arm/boot/dts/rk3229-xms6.dts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@
3939
};
4040
};
4141

42+
sdio_pwrseq: sdio-pwrseq {
43+
compatible = "mmc-pwrseq-simple";
44+
reset-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>,
45+
<&gpio2 29 GPIO_ACTIVE_LOW>;
46+
};
47+
4248
vcc_host: vcc-host-regulator {
4349
compatible = "regulator-fixed";
4450
enable-active-high;
@@ -202,6 +208,16 @@
202208
status = "okay";
203209
};
204210

211+
&sdio {
212+
bus-width = <4>;
213+
cap-sd-highspeed;
214+
cap-sdio-irq;
215+
mmc-pwrseq = <&sdio_pwrseq>;
216+
non-removable;
217+
vqmmc-supply = <&vccio_1v8>;
218+
status = "okay";
219+
};
220+
205221
&sdmmc {
206222
cap-mmc-highspeed;
207223
disable-wp;

0 commit comments

Comments
 (0)