Commit 0026b156 authored by Stefano Radaelli's avatar Stefano Radaelli
Browse files

[C26] Add Intel AC 7260 Wifi

parent 4cfe272f
......@@ -71,6 +71,38 @@
enable-active-high;
};
/*reg_wifi_ac_en: reg_wifiacen {
compatible = "regulator-fixed";
regulator-name = "WIFI_AC_EN";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&gpio2 4 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
reg_wifi_m2_sdio_wake: reg_m2sdio_wake {
compatible = "regulator-fixed";
regulator-name = "M2_SDIO_WAKE";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&gpio3 25 GPIO_ACTIVE_HIGH>;
enable-active-high;
regulator-boot-on;
regulator-always-on;
};
reg_wifi_m2_aw_disable: reg_m2aw_disable {
compatible = "regulator-fixed";
regulator-name = "M2_AW_DISABLE";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
enable-active-high;
regulator-boot-on;
regulator-always-on;
};*/
reg_usdhc3_vmmc: usdhc3_vmmc {
compatible = "regulator-fixed";
regulator-name = "sw-3p3-sd2";
......@@ -288,8 +320,6 @@
SC_P_QSPI1A_DATA1_LSIO_GPIO4_IO25 0x0600004c
SC_P_SCU_GPIO0_03_LSIO_GPIO0_IO31 0x0600004c
SC_P_USB_SS3_TC3_LSIO_GPIO4_IO06 0x00000021
/* SDIO_PWR */
SC_P_ESAI1_FSR_LSIO_GPIO2_IO04 0x00000021
/* PCIE CLK OE 1 */
SC_P_ENET1_RGMII_TXD0_LSIO_GPIO6_IO12 0x00000021
/* PCIE CLK OE 0 */
......@@ -349,6 +379,8 @@
SC_P_ADC_IN2_LSIO_GPIO3_IO20 0x00000021 /* FAN_TACHO_INT */
SC_P_ADC_IN0_LSIO_GPIO3_IO18 0x00000021 /* PMIC1_AMUX */
SC_P_ADC_IN1_LSIO_GPIO3_IO19 0x00000021 /* PMIC2_AMUX */
SC_P_MLB_SIG_LSIO_GPIO3_IO26 0x00000021 // WIFI_RF_KILL# GPIO 410
SC_P_ESAI0_SCKT_LSIO_GPIO2_IO25 0x00000041 // WIFI_AC_CLK_EN - GPIO 441
>;
};
......@@ -395,6 +427,15 @@
>;
};
pinctrl_wlan: wlangrp {
fsl,pins = <
/* SDIO_PWR */
SC_P_ESAI1_FSR_LSIO_GPIO2_IO04 0x00000021
/*SC_P_IOMUXC_SAI5_RXD0_GPIO3_IO21 0x82*/ /* WIFI AC Enable */
>;
};
/*
pinctrl_lpuart0: lpuart0grp {
fsl,pins = <
......@@ -463,6 +504,7 @@
pinctrl_pciea: pcieagrp{
fsl,pins = <
SC_P_PCIE_CTRL0_CLKREQ_B_LSIO_GPIO4_IO27 0x04000021
SC_P_PCIE_CTRL0_WAKE_B_LSIO_GPIO4_IO28 0x04000021
SC_P_PCIE_CTRL0_PERST_B_LSIO_GPIO4_IO29 0x06000021
>;
......@@ -797,6 +839,7 @@
status = "okay";
};
&usdhc2 {
pinctrl-names = "default", "state_100mhz", "state_200mhz";
pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
......@@ -806,7 +849,9 @@
cd-gpios = <&gpio5 22 GPIO_ACTIVE_LOW>;
vmmc-supply = <&reg_usdhc2_vmmc>;
status = "okay";
};
};
&usdhc3 {
pinctrl-names = "default";
......@@ -1189,7 +1234,7 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pciea>;
reset-gpio = <&gpio4 29 GPIO_ACTIVE_LOW>;
status = "disabled";
status = "okay";
};
&pcieb{
......@@ -1197,7 +1242,7 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pcieb>;
reset-gpio = <&gpio5 0 GPIO_ACTIVE_LOW>;
status = "disabled";
status = "okay";
};
&intmux_cm40 {
......
......@@ -265,6 +265,7 @@ CONFIG_BT_HCIUART_3WIRE=y
CONFIG_BT_HCIUART_BCM=y
CONFIG_BT_HCIUART_QCA=y
CONFIG_BT_HCIVHCI=y
CONFIG_SD8997_BT=y
CONFIG_CFG80211=m
CONFIG_NL80211_TESTMODE=y
CONFIG_CFG80211_INTERNAL_REGDB=y
......@@ -1012,3 +1013,11 @@ CONFIG_CRYPTO_AES_ARM64_CE_CCM=y
CONFIG_CRYPTO_AES_ARM64_CE_BLK=y
CONFIG_CRYPTO_CHACHA20_NEON=m
CONFIG_CRYPTO_AES_ARM64_BS=m
#wifi Azurewave - AW-CM276NF Marvell 88W8997
CONFIG_SD8997_PCIE=m
CONFIG_MWIFIEX=m
CONFIG_MWIFIEX_PCIE=m
CPTCFG_CFG80211_DEFAULT_PS=y
CONFIG_IWLWIFI=m
CONFIG_IWLDVM=m
CONFIG_IWLMVM=m
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment