diff options
author | Gao Pan <b54642@freescale.com> | 2015-10-26 12:58:25 +0800 |
---|---|---|
committer | Gao Pan <b54642@freescale.com> | 2015-10-30 10:25:43 +0800 |
commit | 8c12948661a15189af1b41a800697b0648b63c73 (patch) | |
tree | 7160b06f4ac356937faecbf0bdafbc979e18696a | |
parent | 97b4068b68984af0a61818695be4f31ff7219c58 (diff) | |
download | freescale-8c12948661a15189af1b41a800697b0648b63c73.tar.gz |
MLK-11779 sim: imx: set gpio active high
Sim card CVCC is determined by the gpio value from sim controller.
How the CVCC is controlled on both post card boards is decribed below.
NCN8025:Vcc=ACTIVE_HIGH?5V:3V
TDA8035:Vcc=ACTIVE_HIGH?5V:1.8V
Different sim cards have different CVCC range. To support all cards
with same dts, this patch set gpio active high.
Signed-off-by: Gao Pan <b54642@freescale.com>
-rw-r--r-- | arch/arm/boot/dts/imx6ul-14x14-evk.dts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx6ul-14x14-evk.dts b/arch/arm/boot/dts/imx6ul-14x14-evk.dts index 4fecb181c78..c1623c90965 100644 --- a/arch/arm/boot/dts/imx6ul-14x14-evk.dts +++ b/arch/arm/boot/dts/imx6ul-14x14-evk.dts @@ -269,7 +269,11 @@ assigned-clocks = <&clks IMX6UL_CLK_SIM_SEL>; assigned-clock-parents = <&clks IMX6UL_CLK_SIM_PODF>; assigned-clock-rates = <240000000>; - pinctrl-assert-gpios = <&gpio4 23 GPIO_ACTIVE_LOW>; + /* GPIO_ACTIVE_HIGH/LOW:sim card voltage control + * NCN8025:Vcc = ACTIVE_HIGH?5V:3V + * TDA8035:Vcc = ACTIVE_HIGH?5V:1.8V + */ + pinctrl-assert-gpios = <&gpio4 23 GPIO_ACTIVE_HIGH>; port = <1>; sven_low_active; status = "okay"; |