ARM: dts: imx6ul-pico-hobbit: Add Wifi support
authorVanessa Maegima <vanessa.maegima@nxp.com>
Mon, 18 Jul 2016 16:25:10 +0000 (13:25 -0300)
committerShawn Guo <shawnguo@kernel.org>
Tue, 9 Aug 2016 06:48:32 +0000 (14:48 +0800)
imx6ul-pico-hobbit has a bcm4343 wifi chip connected to usdhc2 port.

Add support for it.

Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6ul-pico-hobbit.dts

index 86f68fa..7b18dc4 100644 (file)
                gpio = <&gpio1 6 0>;
        };
 
+       reg_brcm: regulator-brcm {
+               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";
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_usdhc2>;
        no-1-8-v;
+       non-removable;
        keep-power-in-suspend;
        wakeup-source;
+       vmmc-supply = <&reg_brcm>;
        status = "okay";
 };
 
 &iomuxc {
+       pinctrl_brcm_reg: brcmreggrp {
+               fsl,pins = <
+                       MX6UL_PAD_NAND_DATA06__GPIO4_IO08       0x10b0  /* WL_REG_ON */
+                       MX6UL_PAD_NAND_DATA04__GPIO4_IO06       0x10b0  /* WL_HOST_WAKE */
+               >;
+       };
+
        pinctrl_enet2: enet2grp {
                fsl,pins = <
                        MX6UL_PAD_ENET1_TX_DATA1__ENET2_MDIO    0x1b0b0