From 3c5b37981bcd0debbd6644f540d2ea521fca3d9e Mon Sep 17 00:00:00 2001 From: Philippe Schenker Date: Tue, 25 Jun 2019 15:52:00 +0200 Subject: ARM: dts (ds): imx6ull-colibri: Use wifi from mainline This takes the mainline part that adds the wifi chip. This patch solves the issue that exists when resuming from suspend. Signed-off-by: Philippe Schenker --- arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi | 28 ++++++++++------------------ 1 file changed, 10 insertions(+), 18 deletions(-) (limited to 'arch') diff --git a/arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi b/arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi index 5d98763b1677..12c9ddba144d 100644 --- a/arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi +++ b/arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi @@ -9,16 +9,12 @@ #include "imx6ull-colibri.dtsi" / { - reg_wifi_pwd: regulator-wifi-pwd { - compatible = "regulator-fixed"; + + wifi_pwrseq: sdio-pwrseq { + compatible = "mmc-pwrseq-simple"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_wifi_pdn>; - gpio = <&gpio5 11 0>; - enable-active-high; - regulator-always-on; - regulator-name = "WIFI_PDN"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; + reset-gpios = <&gpio5 11 GPIO_ACTIVE_LOW>; }; }; @@ -40,16 +36,12 @@ assigned-clocks = <&clks IMX6UL_CLK_USDHC2_SEL>, <&clks IMX6UL_CLK_USDHC2>; assigned-clock-parents = <&clks IMX6UL_CLK_PLL2_PFD2>; assigned-clock-rates = <0>, <198000000>; - no-1-8-v; - disable-wp; - enable-sdio-wakeup; + cap-power-off-card; keep-power-in-suspend; - broken-cd; - /* non-removable;*/ + mmc-pwrseq = <&wifi_pwrseq>; + no-1-8-v; + non-removable; + vmmc-supply = <®_module_3v3>; + wakeup-source; status = "okay"; - /* - * Does not work for a WiFi chip since vmmc get turned on only during - * SDIO communication... - */ -// vmmc-supply = <®_wifi_pwd>; }; -- cgit v1.2.3