diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-08-21 12:07:10 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-08-21 12:08:41 -0300 |
commit | 7ae3e2673802671a4982f38e8664510f8fc4c52e (patch) | |
tree | c3bc1c1209603c442ffaaa8421493105e2cf5c9d /kernels/linux-libre-audit/0009-ARM-dts-imx6ul-pico-hobbit-Add-Wifi-support.patch | |
parent | c4feca3ec871cce2a57a4378802932e42481dac9 (diff) | |
download | abslibre-7ae3e2673802671a4982f38e8664510f8fc4c52e.tar.gz abslibre-7ae3e2673802671a4982f38e8664510f8fc4c52e.tar.bz2 abslibre-7ae3e2673802671a4982f38e8664510f8fc4c52e.zip |
linux-libre-audit-4.7.1_gnu-1: updating version
Diffstat (limited to 'kernels/linux-libre-audit/0009-ARM-dts-imx6ul-pico-hobbit-Add-Wifi-support.patch')
-rw-r--r-- | kernels/linux-libre-audit/0009-ARM-dts-imx6ul-pico-hobbit-Add-Wifi-support.patch | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/kernels/linux-libre-audit/0009-ARM-dts-imx6ul-pico-hobbit-Add-Wifi-support.patch b/kernels/linux-libre-audit/0009-ARM-dts-imx6ul-pico-hobbit-Add-Wifi-support.patch new file mode 100644 index 000000000..ea458907b --- /dev/null +++ b/kernels/linux-libre-audit/0009-ARM-dts-imx6ul-pico-hobbit-Add-Wifi-support.patch @@ -0,0 +1,63 @@ +From 103f7aa525ec4c3dc37221e5d4234457c89a1c09 Mon Sep 17 00:00:00 2001 +From: Vanessa Maegima <vanessa.maegima@nxp.com> +Date: Mon, 1 Aug 2016 09:54:14 -0300 +Subject: [PATCH 09/10] ARM: dts: imx6ul-pico-hobbit: Add Wifi support + +imx6ul-pico-hobbit has a bcm4339 wifi chip connected to usdhc2 port. + +Add support for the WL_REG_ON regulator, so that Wifi can be functional +on this board. + +Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com> +Tested-by: Fabio Estevam <fabio.estevam@nxp.com> +--- + arch/arm/boot/dts/imx6ul-pico-hobbit.dts | 20 ++++++++++++++++++++ + 1 file changed, 20 insertions(+) + +diff --git a/arch/arm/boot/dts/imx6ul-pico-hobbit.dts b/arch/arm/boot/dts/imx6ul-pico-hobbit.dts +index 8ce1fec..af2e06b 100644 +--- a/arch/arm/boot/dts/imx6ul-pico-hobbit.dts ++++ b/arch/arm/boot/dts/imx6ul-pico-hobbit.dts +@@ -100,6 +100,18 @@ + gpio = <&gpio1 6 0>; + }; + ++ reg_brcm: brcm-reg { ++ compatible = "regulator-fixed"; ++ enable-active-high; ++ gpio = <&gpio4 8 GPIO_ACTIVE_HIGH>; ++ pinctrl-names = "default"; ++ pinctrl-0 = <&pinctrl_brcm_reg>; ++ regulator-name = "brcm_reg"; ++ regulator-min-microvolt = <3300000>; ++ regulator-max-microvolt = <3300000>; ++ startup-delay-us = <200000>; ++ }; ++ + sound { + compatible = "fsl,imx-audio-sgtl5000"; + model = "imx6ul-sgtl5000"; +@@ -325,12 +337,20 @@ + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc2>; + no-1-8-v; ++ non-removable; + keep-power-in-suspend; + wakeup-source; ++ vmmc-supply = <®_brcm>; + status = "okay"; + }; + + &iomuxc { ++ pinctrl_brcm_reg: brcmreggrp { ++ fsl,pins = < ++ MX6UL_PAD_NAND_DATA06__GPIO4_IO08 0x10b0 /* WL_REG_ON */ ++ >; ++ }; ++ + pinctrl_enet2: enet2grp { + fsl,pins = < + MX6UL_PAD_ENET1_TX_DATA1__ENET2_MDIO 0x1b0b0 +-- +2.9.2 + |