From: manabian@gmail.com (Joachim Eastwood)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 12/17] ARM: dts: lpc4357-ea4357: add mmcsd
Date: Tue, 14 Jul 2015 15:39:47 +0200 [thread overview]
Message-ID: <1436881192-23930-13-git-send-email-manabian@gmail.com> (raw)
In-Reply-To: <1436881192-23930-1-git-send-email-manabian@gmail.com>
Enable the MMC/SD controller on EA4357 devkit and add pin
muxing plus a regulator.
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
---
arch/arm/boot/dts/lpc4357-ea4357-devkit.dts | 47 +++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts b/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts
index 06ba998d544f..d02f93f19bf5 100644
--- a/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts
+++ b/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts
@@ -34,9 +34,48 @@
device_type = "memory";
reg = <0x28000000 0x2000000>; /* 32 MB */
};
+
+ /* vmmc is controlled by sdmmc host internally */
+ vmmc: vmmc_fixed {
+ compatible = "regulator-fixed";
+ regulator-name = "vmmc-supply";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ };
};
&pinctrl {
+ sdmmc_pins: sdmmc-pins {
+ sdmmc_clk_cfg {
+ pins = "pc_0";
+ function = "sdmmc";
+ slew-rate = <1>;
+ bias-pull-down;
+ };
+
+ sdmmc_cmd_dat0_3_cfg {
+ pins = "pc_4", "pc_5", "pc_6", "pc_7", "pc_10";
+ function = "sdmmc";
+ slew-rate = <1>;
+ bias-disable;
+ input-enable;
+ input-schmitt-disable;
+ };
+
+ sdmmc_cd_cfg {
+ pins = "pc_8";
+ function = "sdmmc";
+ bias-pull-down;
+ input-enable;
+ };
+
+ sdmmc_pow_cfg {
+ pins = "pc_9";
+ function = "sdmmc";
+ bias-pull-down;
+ };
+ };
+
uart0_pins: uart0-pins {
uart0_rx_cfg {
pins = "pf_11";
@@ -54,6 +93,14 @@
};
};
+&mmcsd {
+ status = "okay";
+ bus-width = <4>;
+ vmmc-supply = <&vmmc>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&sdmmc_pins>;
+};
+
&uart0 {
status = "okay";
pinctrl-names = "default";
--
1.8.0
next prev parent reply other threads:[~2015-07-14 13:39 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-14 13:39 [PATCH 00/17] LPC18xx DTS changes for 4.3 Joachim Eastwood
2015-07-14 13:39 ` [PATCH 01/17] ARM: dts: lpc18xx: add cgu and ccu clock-controller nodes Joachim Eastwood
2015-07-14 13:39 ` [PATCH 02/17] ARM: dts: lpc18xx: add uart new compat string and clk names Joachim Eastwood
2015-07-14 13:39 ` [PATCH 03/17] ARM: dts: lpc18xx: add pinctrl node Joachim Eastwood
2015-07-14 13:39 ` [PATCH 04/17] ARM: dts: lpc18xx: add gpio node Joachim Eastwood
2015-07-14 13:39 ` [PATCH 05/17] ARM: dts: lpc18xx: add ssp nodes Joachim Eastwood
2015-07-14 13:39 ` [PATCH 06/17] ARM: dts: lpc18xx: add can nodes Joachim Eastwood
2015-07-14 13:39 ` [PATCH 07/17] ARM: dts: lpc18xx: add mmcsd node Joachim Eastwood
2015-07-14 13:39 ` [PATCH 08/17] ARM: dts: lpc18xx: add creg (syscon) node Joachim Eastwood
2015-07-14 13:39 ` [PATCH 09/17] ARM: dts: lpc18xx: add ethernet node Joachim Eastwood
2015-07-14 13:39 ` [PATCH 10/17] ARM: dts: lpc18xx: add usb nodes Joachim Eastwood
2015-07-14 13:39 ` [PATCH 11/17] ARM: dts: lpc4357-ea4357: add pinctrl and uart0 muxing Joachim Eastwood
2015-07-14 13:39 ` Joachim Eastwood [this message]
2015-07-14 13:39 ` [PATCH 13/17] ARM: dts: lpc4357-ea4357: add gpio joystick Joachim Eastwood
2015-07-14 13:39 ` [PATCH 14/17] ARM: dts: lpc4357-ea4357: add ethernet Joachim Eastwood
2015-07-14 13:39 ` [PATCH 15/17] ARM: dts: lpc4357-ea4357: add uart3 Joachim Eastwood
2015-07-14 13:39 ` [PATCH 16/17] of: add vendor prefix for CIAA project Joachim Eastwood
2015-07-14 13:39 ` [PATCH 17/17] ARM: dts: add DT for CIAA LPC4337 industrial computer Joachim Eastwood
2015-07-17 16:54 ` [PATCH 00/17] LPC18xx DTS changes for 4.3 Olof Johansson
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=1436881192-23930-13-git-send-email-manabian@gmail.com \
--to=manabian@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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).