All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marco Felsch <m.felsch@pengutronix.de>
To: robh+dt@kernel.org, shawnguo@kernel.org, linux-imx@nxp.com
Cc: Stefan.Nickl@kontron.com, Gilles.Buloz@kontron.com,
	Michael.Brunner@kontron.com, thomas.schaefer@kontron.com,
	frieder.schrempf@kontron.de, kernel@pengutronix.de,
	devicetree@vger.kernel.org
Subject: [PATCH 04/17] ARCH: arm: dts: imx6qdl-kontron-samx6i: add SMARC SDIO interface
Date: Thu,  9 May 2019 17:58:21 +0200	[thread overview]
Message-ID: <20190509155834.22838-5-m.felsch@pengutronix.de> (raw)
In-Reply-To: <20190509155834.22838-1-m.felsch@pengutronix.de>

Add support according the SMARC Spec 1.1 [1] and provided schematics.
Due to the lack of hardware the interface can't be tested right now.

[1] https://sget.org/standards/smarc

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
 arch/arm/boot/dts/imx6qdl-kontron-samx6i.dtsi | 24 +++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/arch/arm/boot/dts/imx6qdl-kontron-samx6i.dtsi b/arch/arm/boot/dts/imx6qdl-kontron-samx6i.dtsi
index a92f6e31fd71..b96684ff92e8 100644
--- a/arch/arm/boot/dts/imx6qdl-kontron-samx6i.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-kontron-samx6i.dtsi
@@ -364,6 +364,21 @@
 		>;
 	};
 
+	pinctrl_usdhc3: usdhc3grp {
+		fsl,pins = <
+			MX6QDL_PAD_SD3_CLK__SD3_CLK 0x17059
+			MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059
+			MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
+			MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
+			MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
+			MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
+
+			MX6QDL_PAD_NANDF_CS1__GPIO6_IO14 0x1b0b0 /* CD */
+			MX6QDL_PAD_ENET_RXD1__GPIO1_IO26 0x1b0b0 /* WP */
+			MX6QDL_PAD_ENET_TXD1__GPIO1_IO29 0x1b0b0 /* PWR_EN */
+		>;
+	};
+
 	pinctrl_usdhc4: usdhc4grp {
 		fsl,pins = <
 			MX6QDL_PAD_SD4_CLK__SD4_CLK 0x17059
@@ -428,6 +443,15 @@
 	vbus-supply = <&reg_5p0v_s0>;
 };
 
+/* SDIO */
+&usdhc3 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_usdhc3>;
+	cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
+	wp-gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
+	no-1-8-v;
+};
+
 /* SDMMC */
 &usdhc4 {
 	/* Internal eMMC, optional on some boards */
-- 
2.20.1

  parent reply	other threads:[~2019-05-09 15:58 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-09 15:58 [PATCH 00/17] Add Support for Kontron SMARC-sAMX6i Marco Felsch
2019-05-09 15:58 ` [PATCH 01/17] dt-bindings: add Kontron vendor prefix Marco Felsch
2019-05-17  2:31   ` Rob Herring
2019-05-09 15:58 ` [PATCH 02/17] ARCH: arm: dts: imx6qdl-kontron-samx6i: Add iMX6-based Kontron SMARC-sAMX6i module Marco Felsch
2019-05-15 16:51   ` Priit Laes
2019-05-16 15:47     ` Marco Felsch
2019-05-16 16:44       ` Priit Laes
2019-05-20  2:11   ` Shawn Guo
2019-05-09 15:58 ` [PATCH 03/17] ARCH: arm: dts: imx6qdl-kontron-samx6i: add SMARC SPI0 interface Marco Felsch
2019-05-09 15:58 ` Marco Felsch [this message]
2019-05-09 15:58 ` [PATCH 05/17] ARCH: arm: dts: imx6qdl-kontron-samx6i: add SMARC LCD interface Marco Felsch
2019-05-09 15:58 ` [PATCH 06/17] ARCH: arm: dts: imx6qdl-kontron-samx6i: add SMARC Management pins Marco Felsch
2019-05-09 15:58 ` [PATCH 07/17] ARCH: arm: dts: imx6qdl-kontron-samx6i: add SMARC GPIO interface Marco Felsch
2019-05-09 15:58 ` [PATCH 08/17] ARCH: arm: dts: imx6qdl-kontron-samx6i: add SMARC HDMI interface Marco Felsch
2019-05-09 15:58 ` [PATCH 09/17] ARCH: arm: dts: imx6qdl-kontron-samx6i: add SMARC CSI Camera interface Marco Felsch
2019-05-09 15:58 ` [PATCH 10/17] ARCH: arm: dts: imx6qdl-kontron-samx6i: add SMARC I2S interface Marco Felsch
2019-05-09 15:58 ` [PATCH 11/17] ARCH: arm: dts: imx6qdl-kontron-samx6i: add SMARC SPI1 interface Marco Felsch
2019-05-16 11:43   ` Fabio Estevam
2019-05-16 11:43   ` Fabio Estevam
2019-05-16 15:47     ` Marco Felsch
2019-05-09 15:58 ` [PATCH 12/17] ARCH: arm: dts: imx6qdl-kontron-samx6i: add SMARC Watchdog Marco Felsch
2019-05-09 15:58 ` [PATCH 13/17] ARCH: arm: dts: imx6qdl-kontron-samx6i: add SMARC module eeprom Marco Felsch
2019-05-09 15:58 ` [PATCH 14/17] ARCH: arm: dts: imx6qdl-kontron-samx6i: add boot spi-nor Marco Felsch
2019-05-09 15:58 ` [PATCH 15/17] ARCH: arm: dts: imx6qdl-kontron-samx6i: add power management support Marco Felsch
2019-05-09 15:58 ` [PATCH 16/17] ARCH: arm: dts: imx6q-kontron-samx6i: add Kontron SMARC Quad/Dual SoM Marco Felsch
2019-05-09 15:58 ` [PATCH 17/17] ARCH: arm: dts: imx6dl-kontron-samx6i: add Kontron SMARC Dual-Lite/Solo SoM Marco Felsch
2019-05-20  1:29 ` [PATCH 00/17] Add Support for Kontron SMARC-sAMX6i Shawn Guo
2019-05-20  2:16 ` Shawn Guo
2019-05-21  8:29   ` Marco Felsch
2019-05-21  9:11     ` Shawn Guo
2019-05-22 10:57       ` Marco Felsch
2019-05-23  0:24         ` Shawn Guo

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=20190509155834.22838-5-m.felsch@pengutronix.de \
    --to=m.felsch@pengutronix.de \
    --cc=Gilles.Buloz@kontron.com \
    --cc=Michael.Brunner@kontron.com \
    --cc=Stefan.Nickl@kontron.com \
    --cc=devicetree@vger.kernel.org \
    --cc=frieder.schrempf@kontron.de \
    --cc=kernel@pengutronix.de \
    --cc=linux-imx@nxp.com \
    --cc=robh+dt@kernel.org \
    --cc=shawnguo@kernel.org \
    --cc=thomas.schaefer@kontron.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.