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:37:57 +0800 |
commit | 3ca609104938ea4c8d50aa01693d646c490dde3f (patch) | |
tree | e3ff1e4c09d6ba1f65cefa2b8748273038fab5f7 | |
parent | 0c5d54d094d6583a24b9d4ee527252cc80e38ffb (diff) |
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 4fecb181c78f..c1623c909652 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"; |