From: Balaji T K <balajitk@ti.com>
To: bcousson@baylibre.com, devicetree@vger.kernel.org
Cc: linux-omap@vger.kernel.org, tony@atomide.com,
Balaji T K <balajitk@ti.com>
Subject: [PATCH 2/3] ARM: dts: am335x-evmsk: add SD card hotplug support
Date: Fri, 27 Dec 2013 21:59:05 +0530 [thread overview]
Message-ID: <1388161746-24179-3-git-send-email-balajitk@ti.com> (raw)
In-Reply-To: <1388161746-24179-1-git-send-email-balajitk@ti.com>
Add card detect gpio for SD card slot
Signed-off-by: Balaji T K <balajitk@ti.com>
---
arch/arm/boot/dts/am335x-evmsk.dts | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index 4718ec4..6d0c70f 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -256,6 +256,12 @@
>;
};
+ mmc1_pins: pinmux_mmc1_pins {
+ pinctrl-single,pins = <
+ 0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
+ >;
+ };
+
mcasp1_pins: mcasp1_pins {
pinctrl-single,pins = <
0x10c (PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_crs.mcasp1_aclkx */
@@ -456,6 +462,9 @@
status = "okay";
vmmc-supply = <&vmmc_reg>;
bus-width = <4>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&mmc1_pins>;
+ cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
};
&sham {
--
1.7.5.4
next prev parent reply other threads:[~2013-12-27 16:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-27 16:29 [PATCH 0/3] ARM: dts: am43x/am335x-evm: add SD card hotplug support Balaji T K
2013-12-27 16:29 ` [PATCH 1/3] ARM: dts: am335x-evm: " Balaji T K
2013-12-27 16:29 ` Balaji T K [this message]
2013-12-27 16:29 ` [PATCH 3/3] ARM: dts: am43x-epos-evm: " Balaji T K
2014-01-15 13:35 ` [PATCH 0/3] ARM: dts: am43x/am335x-evm: " Balaji T K
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1388161746-24179-3-git-send-email-balajitk@ti.com \
--to=balajitk@ti.com \
--cc=bcousson@baylibre.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).