All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jagan Teki <jagan@openedev.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 02/29] ARM: dts: i.MX6: Add imx6qdl-sabresd.dtsi
Date: Mon,  3 Apr 2017 19:23:09 +0530	[thread overview]
Message-ID: <1491227616-15042-3-git-send-email-jagan@openedev.com> (raw)
In-Reply-To: <1491227616-15042-1-git-send-email-jagan@openedev.com>

From: Jagan Teki <jagan@amarulasolutions.com>

Add common minimal dtsi file for i.MX6QDL Sabresd boards,
- uart1
- usdhc2
- usdhc3
- usdhc4

Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
 arch/arm/dts/imx6qdl-sabresd.dtsi | 111 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 111 insertions(+)
 create mode 100644 arch/arm/dts/imx6qdl-sabresd.dtsi

diff --git a/arch/arm/dts/imx6qdl-sabresd.dtsi b/arch/arm/dts/imx6qdl-sabresd.dtsi
new file mode 100644
index 0000000..1846274
--- /dev/null
+++ b/arch/arm/dts/imx6qdl-sabresd.dtsi
@@ -0,0 +1,111 @@
+/*
+ * Copyright 2012 Freescale Semiconductor, Inc.
+ * Copyright 2011 Linaro Ltd.
+ *
+ * The code contained herein is licensed under the GNU General Public
+ * License. You may obtain a copy of the GNU General Public License
+ * Version 2 or later at the following locations:
+ *
+ * http://www.opensource.org/licenses/gpl-license.html
+ * http://www.gnu.org/copyleft/gpl.html
+ */
+
+#include <dt-bindings/gpio/gpio.h>
+
+/ {
+	chosen {
+		stdout-path = &uart1;
+	};
+
+	memory {
+		reg = <0x10000000 0x40000000>;
+	};
+};
+
+&uart1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_uart1>;
+	status = "okay";
+};
+
+&usdhc2 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_usdhc2>;
+	bus-width = <8>;
+	cd-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
+	wp-gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
+	status = "okay";
+};
+
+&usdhc3 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_usdhc3>;
+	bus-width = <8>;
+	cd-gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
+	wp-gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
+	status = "okay";
+};
+
+&usdhc4 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_usdhc4>;
+	bus-width = <8>;
+	non-removable;
+	no-1-8-v;
+	status = "okay";
+};
+
+&iomuxc {
+	pinctrl_uart1: uart1grp {
+		fsl,pins = <
+			MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA	0x1b0b1
+			MX6QDL_PAD_CSI0_DAT11__UART1_RX_DATA	0x1b0b1
+		>;
+	};
+
+
+	pinctrl_usdhc2: usdhc2grp {
+		fsl,pins = <
+			MX6QDL_PAD_SD2_CMD__SD2_CMD		0x17059
+			MX6QDL_PAD_SD2_CLK__SD2_CLK		0x10059
+			MX6QDL_PAD_SD2_DAT0__SD2_DATA0		0x17059
+			MX6QDL_PAD_SD2_DAT1__SD2_DATA1		0x17059
+			MX6QDL_PAD_SD2_DAT2__SD2_DATA2		0x17059
+			MX6QDL_PAD_SD2_DAT3__SD2_DATA3		0x17059
+			MX6QDL_PAD_NANDF_D4__SD2_DATA4		0x17059
+			MX6QDL_PAD_NANDF_D5__SD2_DATA5		0x17059
+			MX6QDL_PAD_NANDF_D6__SD2_DATA6		0x17059
+			MX6QDL_PAD_NANDF_D7__SD2_DATA7		0x17059
+		>;
+	};
+
+	pinctrl_usdhc3: usdhc3grp {
+		fsl,pins = <
+			MX6QDL_PAD_SD3_CMD__SD3_CMD		0x17059
+			MX6QDL_PAD_SD3_CLK__SD3_CLK		0x10059
+			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_SD3_DAT4__SD3_DATA4		0x17059
+			MX6QDL_PAD_SD3_DAT5__SD3_DATA5		0x17059
+			MX6QDL_PAD_SD3_DAT6__SD3_DATA6		0x17059
+			MX6QDL_PAD_SD3_DAT7__SD3_DATA7		0x17059
+		>;
+	};
+
+	pinctrl_usdhc4: usdhc4grp {
+		fsl,pins = <
+			MX6QDL_PAD_SD4_CMD__SD4_CMD		0x17059
+			MX6QDL_PAD_SD4_CLK__SD4_CLK		0x10059
+			MX6QDL_PAD_SD4_DAT0__SD4_DATA0		0x17059
+			MX6QDL_PAD_SD4_DAT1__SD4_DATA1		0x17059
+			MX6QDL_PAD_SD4_DAT2__SD4_DATA2		0x17059
+			MX6QDL_PAD_SD4_DAT3__SD4_DATA3		0x17059
+			MX6QDL_PAD_SD4_DAT4__SD4_DATA4		0x17059
+			MX6QDL_PAD_SD4_DAT5__SD4_DATA5		0x17059
+			MX6QDL_PAD_SD4_DAT6__SD4_DATA6		0x17059
+			MX6QDL_PAD_SD4_DAT7__SD4_DATA7		0x17059
+		>;
+	};
+};
-- 
1.9.1

  parent reply	other threads:[~2017-04-03 13:53 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-03 13:53 [U-Boot] [PATCH v2 00/29] arm: i.MX6: SabreSD: Add dts support Jagan Teki
2017-04-03 13:53 ` [U-Boot] [PATCH v2 01/29] ARM: i.MX6: sabresd: Fix README - s/of=/dev/sdbbs=1K/of=/dev/sdb bs=1K/ Jagan Teki
2017-04-03 13:53 ` Jagan Teki [this message]
2017-04-03 13:53 ` [U-Boot] [PATCH v2 03/29] ARM: dts: imx6qdl-sabresd: Add imx6q-sabresd.dts Jagan Teki
2017-04-03 13:53 ` [U-Boot] [PATCH v2 04/29] ARM: i.MX6: sabresd: Remove SPL_I2C_SUPPORT Jagan Teki
2017-04-03 13:53 ` [U-Boot] [PATCH v2 05/29] ARM: i.MX6Q: sabresd: Add initial devicetree support Jagan Teki
2017-04-03 13:53 ` [U-Boot] [PATCH v2 06/29] ARM: dts: imx6qdl-sabresd: Add imx6qp-sabresd.dts Jagan Teki
2017-04-03 13:53 ` [U-Boot] [PATCH v2 07/29] ARM: i.MX6QP: sabresd: Add initial devicetree support Jagan Teki
2017-04-03 19:16   ` Fabio Estevam
2017-04-04  5:39     ` Jagan Teki
2017-04-06  1:59   ` Peng Fan
2017-04-06  4:05     ` Jagan Teki
2017-04-03 13:53 ` [U-Boot] [PATCH v2 08/29] ARM: i.MX6: sabresd: Move CONFIG_SYS_I2C_MXC to defconfigs Jagan Teki
2017-04-03 13:53 ` [U-Boot] [PATCH v2 09/29] ARM: dts: imx6qdl-sabresd: Add I2C node's Jagan Teki
2017-04-03 13:53 ` [U-Boot] [PATCH v2 10/29] ARM: dts: imx6qdl-sabresd: Add PMIC pfuze100 node Jagan Teki
2017-04-03 13:53 ` [U-Boot] [PATCH v2 11/29] ARM: i.MX6: sabresd: Enable DM_I2C and DM_PMIC Jagan Teki
2017-04-03 13:53 ` [U-Boot] [PATCH v2 12/29] ARM: i.MX6: sabresd: defconfig move - CONFIG_USB_EHCI(_MX6) Jagan Teki
2017-04-03 13:53 ` [U-Boot] [PATCH v2 13/29] ARM: dts: imx6qdl-sabresd: Add usb host node Jagan Teki
2017-04-03 13:53 ` [U-Boot] [PATCH v2 14/29] ARM: dts: imx6qdl-sabresd: Add usb otg node Jagan Teki
2017-04-03 13:53 ` [U-Boot] [PATCH v2 15/29] ARM: i.MX6: sabresd: Enable CONFIG_DM_REGULATOR Jagan Teki
2017-04-03 13:53 ` [U-Boot] [PATCH v2 16/29] ARM: i.MX6: sabresd: Enable DM_USB Jagan Teki
2017-04-03 13:53 ` [U-Boot] [PATCH v2 17/29] ARM: dts: imx6qdl-sabresd: Add FEC node Jagan Teki
2017-04-03 13:53 ` [U-Boot] [PATCH v2 18/29] ARM: i.MX6: sabresd: Move CONFIG_FEC_MXC to defconfigs Jagan Teki
2017-04-03 13:53 ` [U-Boot] [PATCH v2 19/29] ARM: i.MX6: sabresd: Enable DM_ETH Jagan Teki
2017-04-03 13:53 ` [U-Boot] [PATCH v2 20/29] ARM: i.MX6: sabresd: Add dm_gpio_* for backlight Jagan Teki
2017-04-03 13:53 ` [U-Boot] [PATCH v2 21/29] ARM: i.MX6: sabresd: Add imx6_pcie_toggle_power Jagan Teki
2017-04-03 13:53 ` [U-Boot] [PATCH v2 22/29] ARM: i.MX6: sabresd: Add imx6_pcie_toggle_reset Jagan Teki
2017-04-03 13:53 ` [U-Boot] [PATCH v2 23/29] ARM: dts: imx6qdl-sabresd: Add imx6dl-sabresd.dts Jagan Teki
2017-04-03 13:53 ` [U-Boot] [PATCH v2 24/29] ARM: i.MX6DL: sabresd: Add initial devicetree support Jagan Teki
2017-04-03 13:53 ` [U-Boot] [PATCH v2 25/29] ARM: i.MX6: sabresd: Drop legacy non-fdt code Jagan Teki
2017-04-03 13:53 ` [U-Boot] [PATCH v2 26/29] ARM: i.MX6: %s/mx6sabresd/imx6sabresd Jagan Teki
2017-04-03 13:53 ` [U-Boot] [PATCH v2 27/29] ARM: i.MX6: sabresd: Move DM_* and OF_CONTROL to arch Kconfig Jagan Teki
2017-04-03 13:53 ` [U-Boot] [PATCH v2 28/29] ARM: i.MX6: sabresd: Update README Jagan Teki
2017-04-06  2:07   ` Peng Fan
2017-04-06  4:03     ` Jagan Teki
2017-04-06 13:30       ` Fabio Estevam
2017-04-06 19:06         ` Jagan Teki
2017-04-06 22:01           ` Fabio Estevam
2017-04-03 13:53 ` [U-Boot] [PATCH v2 29/29] ARM: i.MX6: sabresd: Drop checkboard Jagan Teki

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=1491227616-15042-3-git-send-email-jagan@openedev.com \
    --to=jagan@openedev.com \
    --cc=u-boot@lists.denx.de \
    /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.