RE: [EXTERNAL] [tiL4.14-CON PATCH v2] ARM: dts: am437x-sk-evm: add wilink8 support

2018-05-01 Thread Reizer, Eyal
Please discard. Wrong patch header.
Will resend. Sorry about that.

> 
> enable mmc3 used for wlan and uart1 used for bluetooth
> configure the gpios used for wlan and bluetooth controls
> add fixed voltage regulator used for wlan power control
> 
> Signed-off-by: Eyal Reizer 
> ---
>  arch/arm/boot/dts/am437x-sk-evm.dts | 115
> 
>  1 file changed, 115 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/am437x-sk-evm.dts
> b/arch/arm/boot/dts/am437x-sk-evm.dts
> index 16d9db0..afffdb1 100644
> --- a/arch/arm/boot/dts/am437x-sk-evm.dts
> +++ b/arch/arm/boot/dts/am437x-sk-evm.dts
> @@ -15,6 +15,7 @@
>  #include 
>  #include 
>  #include 
> +#include 
> 
>  / {
>   model = "TI AM437x SK EVM";
> @@ -158,6 +159,22 @@
>   };
>   };
>   };
> +
> + vmmcwl_fixed: fixedregulator-mmcwl {
> + /*
> +  * WL_EN is not SDIO standard compliant. It is an out of band
> +  * signal and hard to be dealt with in a standard way by the
> +  * SDIO core driver.
> +  * So modelling the WL_EN line as a regulator was a natural
> +  * choice as the MMC core already deals with MMC supplies.
> +  */
> + compatible = "regulator-fixed";
> + regulator-name = "vmmcwl_fixed";
> + regulator-min-microvolt = <180>;
> + regulator-max-microvolt = <180>;
> + gpio = < 8 GPIO_ACTIVE_HIGH>;
> + enable-active-high;
> + };
>  };
> 
>  _pinmux {
> @@ -424,6 +441,62 @@
>   AM4372_IOPAD(0xac4, PIN_OUTPUT |
> MUX_MODE0) /* usb0_drvvbus.usb0_drvvbus */
>   >;
>   };
> +
> + mmc3_pins_default: pinmux_mmc3_pins_default {
> + pinctrl-single,pins = <
> + AM4372_IOPAD(0x9f0, PIN_INPUT_PULLUP |
> MUX_MODE3) /* (AD21) cam1_data2.mmc2_clk */
> + AM4372_IOPAD(0x9f4, PIN_INPUT_PULLUP |
> MUX_MODE3) /* (AE22) cam1_data3.mmc2_cmd */
> + AM4372_IOPAD(0x9f8, PIN_INPUT_PULLUP |
> MUX_MODE3) /* (AD22) cam1_data4.mmc2_dat0 */
> + AM4372_IOPAD(0x9fc, PIN_INPUT_PULLUP |
> MUX_MODE3) /* (AE23) cam1_data5.mmc2_dat1 */
> + AM4372_IOPAD(0xa00, PIN_INPUT_PULLUP |
> MUX_MODE3) /* (AD23) cam1_data6.mmc2_dat2 */
> + AM4372_IOPAD(0xa04, PIN_INPUT_PULLUP |
> MUX_MODE3) /* (AE24) cam1_data7.mmc2_dat3 */
> + >;
> + };
> +
> + mmc3_pins_sleep: pinmux_mmc3_pins_sleep {
> + pinctrl-single,pins = <
> + AM4372_IOPAD(0x9f0, PIN_INPUT_PULLDOWN |
> MUX_MODE7) /* (AD21) cam1_data2.mmc2_clk */
> + AM4372_IOPAD(0x9f4, PIN_INPUT_PULLDOWN |
> MUX_MODE7) /* (AE22) cam1_data3.mmc2_cmd */
> + AM4372_IOPAD(0x9f8, PIN_INPUT_PULLDOWN |
> MUX_MODE7) /* (AD22) cam1_data4.mmc2_dat0 */
> + AM4372_IOPAD(0x9fc, PIN_INPUT_PULLDOWN |
> MUX_MODE7) /* (AE23) cam1_data5.mmc2_dat1 */
> + AM4372_IOPAD(0xa00, PIN_INPUT_PULLDOWN |
> MUX_MODE7) /* (AD23) cam1_data6.mmc2_dat2 */
> + AM4372_IOPAD(0xa04, PIN_INPUT_PULLDOWN |
> MUX_MODE7) /* (AE24) cam1_data7.mmc2_dat3 */
> + >;
> + };
> +
> + wlan_pins_default: pinmux_wlan_pins_default {
> + pinctrl-single,pins = <
> + AM4372_IOPAD(0x9d0, PIN_OUTPUT_PULLDOWN |
> MUX_MODE7)/* cam1_data8.gpio4_8 WL_EN */
> + AM4372_IOPAD(0x9e4, PIN_INPUT |
> WAKEUP_ENABLE | MUX_MODE7)/* cam1_wen.gpio4_13 WL_IRQ */
> + >;
> + };
> +
> + wlan_pins_sleep: pinmux_wlan_pins_sleep {
> + pinctrl-single,pins = <
> + AM4372_IOPAD(0x9d0, PIN_OUTPUT_PULLDOWN |
> MUX_MODE7)/* cam1_data8.gpio4_8 WL_EN */
> + AM4372_IOPAD(0x9e4, PIN_INPUT |
> WAKEUP_ENABLE | MUX_MODE7)/* cam1_wen.gpio4_13 WL_IRQ */
> + >;
> + };
> +
> + uart1_bt_pins_default: pinmux_uart1_bt_pins_default {
> + pinctrl-single,pins = <
> + AM4372_IOPAD(0x980, PIN_INPUT | MUX_MODE0)
>   /* uart1_rxd.uart1_rxd */
> + AM4372_IOPAD(0x984, PIN_OUTPUT_PULLDOWN |
> MUX_MODE0)/* uart1_txd.uart1_txd */
> + AM4372_IOPAD(0x978, PIN_INPUT_PULLUP |
> MUX_MODE0)/* uart1_ctsn.uart1_ctsn */
> + AM4372_IOPAD(0x97c, PIN_OUTPUT_PULLDOWN |
> MUX_MODE0)/* uart1_rtsn.uart1_rtsn */
> + AM4372_IOPAD(0x9cc, PIN_OUTPUT_PULLDOWN |
> MUX_MODE7)/* cam1_data9.gpio4_7 BT_EN */
> + >;
> + };
> +
> + uart1_bt_pins_sleep: pinmux_uart1_bt_pins_sleep {
> + pinctrl-single,pins = <
> + AM4372_IOPAD(0x980, PIN_OUTPUT_PULLDOWN |
> MUX_MODE7)/* uart1_rxd.uart1_rxd */
> + AM4372_IOPAD(0x984, 

RE: [EXTERNAL] [tiL4.14-CON PATCH v2] ARM: dts: am437x-sk-evm: add wilink8 support

2018-05-01 Thread Reizer, Eyal
Please discard. Wrong patch header.
Will resend. Sorry about that.

> 
> enable mmc3 used for wlan and uart1 used for bluetooth
> configure the gpios used for wlan and bluetooth controls
> add fixed voltage regulator used for wlan power control
> 
> Signed-off-by: Eyal Reizer 
> ---
>  arch/arm/boot/dts/am437x-sk-evm.dts | 115
> 
>  1 file changed, 115 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/am437x-sk-evm.dts
> b/arch/arm/boot/dts/am437x-sk-evm.dts
> index 16d9db0..afffdb1 100644
> --- a/arch/arm/boot/dts/am437x-sk-evm.dts
> +++ b/arch/arm/boot/dts/am437x-sk-evm.dts
> @@ -15,6 +15,7 @@
>  #include 
>  #include 
>  #include 
> +#include 
> 
>  / {
>   model = "TI AM437x SK EVM";
> @@ -158,6 +159,22 @@
>   };
>   };
>   };
> +
> + vmmcwl_fixed: fixedregulator-mmcwl {
> + /*
> +  * WL_EN is not SDIO standard compliant. It is an out of band
> +  * signal and hard to be dealt with in a standard way by the
> +  * SDIO core driver.
> +  * So modelling the WL_EN line as a regulator was a natural
> +  * choice as the MMC core already deals with MMC supplies.
> +  */
> + compatible = "regulator-fixed";
> + regulator-name = "vmmcwl_fixed";
> + regulator-min-microvolt = <180>;
> + regulator-max-microvolt = <180>;
> + gpio = < 8 GPIO_ACTIVE_HIGH>;
> + enable-active-high;
> + };
>  };
> 
>  _pinmux {
> @@ -424,6 +441,62 @@
>   AM4372_IOPAD(0xac4, PIN_OUTPUT |
> MUX_MODE0) /* usb0_drvvbus.usb0_drvvbus */
>   >;
>   };
> +
> + mmc3_pins_default: pinmux_mmc3_pins_default {
> + pinctrl-single,pins = <
> + AM4372_IOPAD(0x9f0, PIN_INPUT_PULLUP |
> MUX_MODE3) /* (AD21) cam1_data2.mmc2_clk */
> + AM4372_IOPAD(0x9f4, PIN_INPUT_PULLUP |
> MUX_MODE3) /* (AE22) cam1_data3.mmc2_cmd */
> + AM4372_IOPAD(0x9f8, PIN_INPUT_PULLUP |
> MUX_MODE3) /* (AD22) cam1_data4.mmc2_dat0 */
> + AM4372_IOPAD(0x9fc, PIN_INPUT_PULLUP |
> MUX_MODE3) /* (AE23) cam1_data5.mmc2_dat1 */
> + AM4372_IOPAD(0xa00, PIN_INPUT_PULLUP |
> MUX_MODE3) /* (AD23) cam1_data6.mmc2_dat2 */
> + AM4372_IOPAD(0xa04, PIN_INPUT_PULLUP |
> MUX_MODE3) /* (AE24) cam1_data7.mmc2_dat3 */
> + >;
> + };
> +
> + mmc3_pins_sleep: pinmux_mmc3_pins_sleep {
> + pinctrl-single,pins = <
> + AM4372_IOPAD(0x9f0, PIN_INPUT_PULLDOWN |
> MUX_MODE7) /* (AD21) cam1_data2.mmc2_clk */
> + AM4372_IOPAD(0x9f4, PIN_INPUT_PULLDOWN |
> MUX_MODE7) /* (AE22) cam1_data3.mmc2_cmd */
> + AM4372_IOPAD(0x9f8, PIN_INPUT_PULLDOWN |
> MUX_MODE7) /* (AD22) cam1_data4.mmc2_dat0 */
> + AM4372_IOPAD(0x9fc, PIN_INPUT_PULLDOWN |
> MUX_MODE7) /* (AE23) cam1_data5.mmc2_dat1 */
> + AM4372_IOPAD(0xa00, PIN_INPUT_PULLDOWN |
> MUX_MODE7) /* (AD23) cam1_data6.mmc2_dat2 */
> + AM4372_IOPAD(0xa04, PIN_INPUT_PULLDOWN |
> MUX_MODE7) /* (AE24) cam1_data7.mmc2_dat3 */
> + >;
> + };
> +
> + wlan_pins_default: pinmux_wlan_pins_default {
> + pinctrl-single,pins = <
> + AM4372_IOPAD(0x9d0, PIN_OUTPUT_PULLDOWN |
> MUX_MODE7)/* cam1_data8.gpio4_8 WL_EN */
> + AM4372_IOPAD(0x9e4, PIN_INPUT |
> WAKEUP_ENABLE | MUX_MODE7)/* cam1_wen.gpio4_13 WL_IRQ */
> + >;
> + };
> +
> + wlan_pins_sleep: pinmux_wlan_pins_sleep {
> + pinctrl-single,pins = <
> + AM4372_IOPAD(0x9d0, PIN_OUTPUT_PULLDOWN |
> MUX_MODE7)/* cam1_data8.gpio4_8 WL_EN */
> + AM4372_IOPAD(0x9e4, PIN_INPUT |
> WAKEUP_ENABLE | MUX_MODE7)/* cam1_wen.gpio4_13 WL_IRQ */
> + >;
> + };
> +
> + uart1_bt_pins_default: pinmux_uart1_bt_pins_default {
> + pinctrl-single,pins = <
> + AM4372_IOPAD(0x980, PIN_INPUT | MUX_MODE0)
>   /* uart1_rxd.uart1_rxd */
> + AM4372_IOPAD(0x984, PIN_OUTPUT_PULLDOWN |
> MUX_MODE0)/* uart1_txd.uart1_txd */
> + AM4372_IOPAD(0x978, PIN_INPUT_PULLUP |
> MUX_MODE0)/* uart1_ctsn.uart1_ctsn */
> + AM4372_IOPAD(0x97c, PIN_OUTPUT_PULLDOWN |
> MUX_MODE0)/* uart1_rtsn.uart1_rtsn */
> + AM4372_IOPAD(0x9cc, PIN_OUTPUT_PULLDOWN |
> MUX_MODE7)/* cam1_data9.gpio4_7 BT_EN */
> + >;
> + };
> +
> + uart1_bt_pins_sleep: pinmux_uart1_bt_pins_sleep {
> + pinctrl-single,pins = <
> + AM4372_IOPAD(0x980, PIN_OUTPUT_PULLDOWN |
> MUX_MODE7)/* uart1_rxd.uart1_rxd */
> + AM4372_IOPAD(0x984, PIN_OUTPUT_PULLDOWN |
> 

[tiL4.14-CON PATCH v2] ARM: dts: am437x-sk-evm: add wilink8 support

2018-05-01 Thread Eyal Reizer
enable mmc3 used for wlan and uart1 used for bluetooth
configure the gpios used for wlan and bluetooth controls
add fixed voltage regulator used for wlan power control

Signed-off-by: Eyal Reizer 
---
 arch/arm/boot/dts/am437x-sk-evm.dts | 115 
 1 file changed, 115 insertions(+)

diff --git a/arch/arm/boot/dts/am437x-sk-evm.dts 
b/arch/arm/boot/dts/am437x-sk-evm.dts
index 16d9db0..afffdb1 100644
--- a/arch/arm/boot/dts/am437x-sk-evm.dts
+++ b/arch/arm/boot/dts/am437x-sk-evm.dts
@@ -15,6 +15,7 @@
 #include 
 #include 
 #include 
+#include 
 
 / {
model = "TI AM437x SK EVM";
@@ -158,6 +159,22 @@
};
};
};
+
+   vmmcwl_fixed: fixedregulator-mmcwl {
+   /*
+* WL_EN is not SDIO standard compliant. It is an out of band
+* signal and hard to be dealt with in a standard way by the
+* SDIO core driver.
+* So modelling the WL_EN line as a regulator was a natural
+* choice as the MMC core already deals with MMC supplies.
+*/
+   compatible = "regulator-fixed";
+   regulator-name = "vmmcwl_fixed";
+   regulator-min-microvolt = <180>;
+   regulator-max-microvolt = <180>;
+   gpio = < 8 GPIO_ACTIVE_HIGH>;
+   enable-active-high;
+   };
 };
 
 _pinmux {
@@ -424,6 +441,62 @@
AM4372_IOPAD(0xac4, PIN_OUTPUT | MUX_MODE0) /* 
usb0_drvvbus.usb0_drvvbus */
>;
};
+
+   mmc3_pins_default: pinmux_mmc3_pins_default {
+   pinctrl-single,pins = <
+   AM4372_IOPAD(0x9f0, PIN_INPUT_PULLUP | MUX_MODE3) /* 
(AD21) cam1_data2.mmc2_clk */
+   AM4372_IOPAD(0x9f4, PIN_INPUT_PULLUP | MUX_MODE3) /* 
(AE22) cam1_data3.mmc2_cmd */
+   AM4372_IOPAD(0x9f8, PIN_INPUT_PULLUP | MUX_MODE3) /* 
(AD22) cam1_data4.mmc2_dat0 */
+   AM4372_IOPAD(0x9fc, PIN_INPUT_PULLUP | MUX_MODE3) /* 
(AE23) cam1_data5.mmc2_dat1 */
+   AM4372_IOPAD(0xa00, PIN_INPUT_PULLUP | MUX_MODE3) /* 
(AD23) cam1_data6.mmc2_dat2 */
+   AM4372_IOPAD(0xa04, PIN_INPUT_PULLUP | MUX_MODE3) /* 
(AE24) cam1_data7.mmc2_dat3 */
+   >;
+   };
+
+   mmc3_pins_sleep: pinmux_mmc3_pins_sleep {
+   pinctrl-single,pins = <
+   AM4372_IOPAD(0x9f0, PIN_INPUT_PULLDOWN | MUX_MODE7) /* 
(AD21) cam1_data2.mmc2_clk */
+   AM4372_IOPAD(0x9f4, PIN_INPUT_PULLDOWN | MUX_MODE7) /* 
(AE22) cam1_data3.mmc2_cmd */
+   AM4372_IOPAD(0x9f8, PIN_INPUT_PULLDOWN | MUX_MODE7) /* 
(AD22) cam1_data4.mmc2_dat0 */
+   AM4372_IOPAD(0x9fc, PIN_INPUT_PULLDOWN | MUX_MODE7) /* 
(AE23) cam1_data5.mmc2_dat1 */
+   AM4372_IOPAD(0xa00, PIN_INPUT_PULLDOWN | MUX_MODE7) /* 
(AD23) cam1_data6.mmc2_dat2 */
+   AM4372_IOPAD(0xa04, PIN_INPUT_PULLDOWN | MUX_MODE7) /* 
(AE24) cam1_data7.mmc2_dat3 */
+   >;
+   };
+
+   wlan_pins_default: pinmux_wlan_pins_default {
+   pinctrl-single,pins = <
+   AM4372_IOPAD(0x9d0, PIN_OUTPUT_PULLDOWN | MUX_MODE7)
/* cam1_data8.gpio4_8 WL_EN */
+   AM4372_IOPAD(0x9e4, PIN_INPUT | WAKEUP_ENABLE | 
MUX_MODE7)  /* cam1_wen.gpio4_13 WL_IRQ */
+   >;
+   };
+
+   wlan_pins_sleep: pinmux_wlan_pins_sleep {
+   pinctrl-single,pins = <
+   AM4372_IOPAD(0x9d0, PIN_OUTPUT_PULLDOWN | MUX_MODE7)
/* cam1_data8.gpio4_8 WL_EN */
+   AM4372_IOPAD(0x9e4, PIN_INPUT | WAKEUP_ENABLE | 
MUX_MODE7)  /* cam1_wen.gpio4_13 WL_IRQ */
+   >;
+   };
+
+   uart1_bt_pins_default: pinmux_uart1_bt_pins_default {
+   pinctrl-single,pins = <
+   AM4372_IOPAD(0x980, PIN_INPUT | MUX_MODE0)  
/* uart1_rxd.uart1_rxd */
+   AM4372_IOPAD(0x984, PIN_OUTPUT_PULLDOWN | MUX_MODE0)
/* uart1_txd.uart1_txd */
+   AM4372_IOPAD(0x978, PIN_INPUT_PULLUP | MUX_MODE0)   
/* uart1_ctsn.uart1_ctsn */
+   AM4372_IOPAD(0x97c, PIN_OUTPUT_PULLDOWN | MUX_MODE0)
/* uart1_rtsn.uart1_rtsn */
+   AM4372_IOPAD(0x9cc, PIN_OUTPUT_PULLDOWN | MUX_MODE7)
/* cam1_data9.gpio4_7 BT_EN */
+   >;
+   };
+
+   uart1_bt_pins_sleep: pinmux_uart1_bt_pins_sleep {
+   pinctrl-single,pins = <
+   AM4372_IOPAD(0x980, PIN_OUTPUT_PULLDOWN | MUX_MODE7)
/* uart1_rxd.uart1_rxd */
+   AM4372_IOPAD(0x984, PIN_OUTPUT_PULLDOWN | MUX_MODE7)
/* uart1_txd.uart1_txd */
+   AM4372_IOPAD(0x978, PIN_OUTPUT_PULLDOWN | MUX_MODE7)
/* 

[tiL4.14-CON PATCH v2] ARM: dts: am437x-sk-evm: add wilink8 support

2018-05-01 Thread Eyal Reizer
enable mmc3 used for wlan and uart1 used for bluetooth
configure the gpios used for wlan and bluetooth controls
add fixed voltage regulator used for wlan power control

Signed-off-by: Eyal Reizer 
---
 arch/arm/boot/dts/am437x-sk-evm.dts | 115 
 1 file changed, 115 insertions(+)

diff --git a/arch/arm/boot/dts/am437x-sk-evm.dts 
b/arch/arm/boot/dts/am437x-sk-evm.dts
index 16d9db0..afffdb1 100644
--- a/arch/arm/boot/dts/am437x-sk-evm.dts
+++ b/arch/arm/boot/dts/am437x-sk-evm.dts
@@ -15,6 +15,7 @@
 #include 
 #include 
 #include 
+#include 
 
 / {
model = "TI AM437x SK EVM";
@@ -158,6 +159,22 @@
};
};
};
+
+   vmmcwl_fixed: fixedregulator-mmcwl {
+   /*
+* WL_EN is not SDIO standard compliant. It is an out of band
+* signal and hard to be dealt with in a standard way by the
+* SDIO core driver.
+* So modelling the WL_EN line as a regulator was a natural
+* choice as the MMC core already deals with MMC supplies.
+*/
+   compatible = "regulator-fixed";
+   regulator-name = "vmmcwl_fixed";
+   regulator-min-microvolt = <180>;
+   regulator-max-microvolt = <180>;
+   gpio = < 8 GPIO_ACTIVE_HIGH>;
+   enable-active-high;
+   };
 };
 
 _pinmux {
@@ -424,6 +441,62 @@
AM4372_IOPAD(0xac4, PIN_OUTPUT | MUX_MODE0) /* 
usb0_drvvbus.usb0_drvvbus */
>;
};
+
+   mmc3_pins_default: pinmux_mmc3_pins_default {
+   pinctrl-single,pins = <
+   AM4372_IOPAD(0x9f0, PIN_INPUT_PULLUP | MUX_MODE3) /* 
(AD21) cam1_data2.mmc2_clk */
+   AM4372_IOPAD(0x9f4, PIN_INPUT_PULLUP | MUX_MODE3) /* 
(AE22) cam1_data3.mmc2_cmd */
+   AM4372_IOPAD(0x9f8, PIN_INPUT_PULLUP | MUX_MODE3) /* 
(AD22) cam1_data4.mmc2_dat0 */
+   AM4372_IOPAD(0x9fc, PIN_INPUT_PULLUP | MUX_MODE3) /* 
(AE23) cam1_data5.mmc2_dat1 */
+   AM4372_IOPAD(0xa00, PIN_INPUT_PULLUP | MUX_MODE3) /* 
(AD23) cam1_data6.mmc2_dat2 */
+   AM4372_IOPAD(0xa04, PIN_INPUT_PULLUP | MUX_MODE3) /* 
(AE24) cam1_data7.mmc2_dat3 */
+   >;
+   };
+
+   mmc3_pins_sleep: pinmux_mmc3_pins_sleep {
+   pinctrl-single,pins = <
+   AM4372_IOPAD(0x9f0, PIN_INPUT_PULLDOWN | MUX_MODE7) /* 
(AD21) cam1_data2.mmc2_clk */
+   AM4372_IOPAD(0x9f4, PIN_INPUT_PULLDOWN | MUX_MODE7) /* 
(AE22) cam1_data3.mmc2_cmd */
+   AM4372_IOPAD(0x9f8, PIN_INPUT_PULLDOWN | MUX_MODE7) /* 
(AD22) cam1_data4.mmc2_dat0 */
+   AM4372_IOPAD(0x9fc, PIN_INPUT_PULLDOWN | MUX_MODE7) /* 
(AE23) cam1_data5.mmc2_dat1 */
+   AM4372_IOPAD(0xa00, PIN_INPUT_PULLDOWN | MUX_MODE7) /* 
(AD23) cam1_data6.mmc2_dat2 */
+   AM4372_IOPAD(0xa04, PIN_INPUT_PULLDOWN | MUX_MODE7) /* 
(AE24) cam1_data7.mmc2_dat3 */
+   >;
+   };
+
+   wlan_pins_default: pinmux_wlan_pins_default {
+   pinctrl-single,pins = <
+   AM4372_IOPAD(0x9d0, PIN_OUTPUT_PULLDOWN | MUX_MODE7)
/* cam1_data8.gpio4_8 WL_EN */
+   AM4372_IOPAD(0x9e4, PIN_INPUT | WAKEUP_ENABLE | 
MUX_MODE7)  /* cam1_wen.gpio4_13 WL_IRQ */
+   >;
+   };
+
+   wlan_pins_sleep: pinmux_wlan_pins_sleep {
+   pinctrl-single,pins = <
+   AM4372_IOPAD(0x9d0, PIN_OUTPUT_PULLDOWN | MUX_MODE7)
/* cam1_data8.gpio4_8 WL_EN */
+   AM4372_IOPAD(0x9e4, PIN_INPUT | WAKEUP_ENABLE | 
MUX_MODE7)  /* cam1_wen.gpio4_13 WL_IRQ */
+   >;
+   };
+
+   uart1_bt_pins_default: pinmux_uart1_bt_pins_default {
+   pinctrl-single,pins = <
+   AM4372_IOPAD(0x980, PIN_INPUT | MUX_MODE0)  
/* uart1_rxd.uart1_rxd */
+   AM4372_IOPAD(0x984, PIN_OUTPUT_PULLDOWN | MUX_MODE0)
/* uart1_txd.uart1_txd */
+   AM4372_IOPAD(0x978, PIN_INPUT_PULLUP | MUX_MODE0)   
/* uart1_ctsn.uart1_ctsn */
+   AM4372_IOPAD(0x97c, PIN_OUTPUT_PULLDOWN | MUX_MODE0)
/* uart1_rtsn.uart1_rtsn */
+   AM4372_IOPAD(0x9cc, PIN_OUTPUT_PULLDOWN | MUX_MODE7)
/* cam1_data9.gpio4_7 BT_EN */
+   >;
+   };
+
+   uart1_bt_pins_sleep: pinmux_uart1_bt_pins_sleep {
+   pinctrl-single,pins = <
+   AM4372_IOPAD(0x980, PIN_OUTPUT_PULLDOWN | MUX_MODE7)
/* uart1_rxd.uart1_rxd */
+   AM4372_IOPAD(0x984, PIN_OUTPUT_PULLDOWN | MUX_MODE7)
/* uart1_txd.uart1_txd */
+   AM4372_IOPAD(0x978, PIN_OUTPUT_PULLDOWN | MUX_MODE7)
/* uart1_ctsn.uart1_ctsn */
+