diff options
author | Dong Aisheng <b29396@freescale.com> | 2014-04-16 16:29:45 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-17 21:18:42 -0500 |
commit | 4eda245ad3a8282276b48eec511fb5752f75b47a (patch) | |
tree | e00c1f33bd275e4fdfec2721011af3909353d4b0 | |
parent | 899efed0931c3e3a3a59945111a8fa72ee4ef997 (diff) |
ENGR00309031-1 dts: imx6sx-sdb: move usdhc4 gpios pins out of hog group
For imx6sx sdb board, the eMMC interface and uSDHC4 BOOT card slot are shared
and the eMMC chip is DNP by default.
If burn the eMMC chip onto the board and do hw rework to enable eMMC signals,
the cd-gpio and wp-gpios will be reused as eMMC DATA signals.
So we'd better move this two gpio pin out of hog group for easy disable
this gpio setting in another dts.
It's required for the next patch which adds the eMMC support in another
dts file.
Signed-off-by: Dong Aisheng <b29396@freescale.com>
-rw-r--r-- | arch/arm/boot/dts/imx6sx-sdb.dts | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/imx6sx-sdb.dts b/arch/arm/boot/dts/imx6sx-sdb.dts index 04f555a8ca0e..8ec2eeaada91 100644 --- a/arch/arm/boot/dts/imx6sx-sdb.dts +++ b/arch/arm/boot/dts/imx6sx-sdb.dts @@ -403,6 +403,15 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_hog>; + usdhc4 { + pinctrl_usdhc4_gpios: usdhc4-gpios { + fsl,pins = < + MX6SX_PAD_SD4_DATA7__GPIO6_IO_21 0x17059 + MX6SX_PAD_SD4_DATA6__GPIO6_IO_20 0x17059 + >; + }; + }; + hog { pinctrl_hog: hoggrp { fsl,pins = < @@ -412,8 +421,6 @@ MX6SX_PAD_KEY_COL0__GPIO2_IO_10 0x17059 MX6SX_PAD_KEY_ROW0__GPIO2_IO_15 0x17059 MX6SX_PAD_KEY_COL1__GPIO2_IO_11 0x17059 - MX6SX_PAD_SD4_DATA7__GPIO6_IO_21 0x17059 - MX6SX_PAD_SD4_DATA6__GPIO6_IO_20 0x17059 MX6SX_PAD_SD1_DATA0__GPIO6_IO_2 0x17059 MX6SX_PAD_QSPI1B_DATA1__GPIO4_IO_25 0x17059 MX6SX_PAD_QSPI1B_DATA2__GPIO4_IO_26 0x17059 @@ -500,8 +507,7 @@ &usdhc4 { pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_usdhc4_2>; - bus-width = <8>; + pinctrl-0 = <&pinctrl_usdhc4_2 &pinctrl_usdhc4_gpios>; cd-gpios = <&gpio6 21 0>; wp-gpios = <&gpio6 20 0>; no-1-8-v; |