From: Jagan Teki <jagan@openedev.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 02/31] ARM: dts: i.MX6: Add imx6qdl-sabresd.dtsi
Date: Thu, 6 Apr 2017 00:50:12 +0530 [thread overview]
Message-ID: <1491420041-12471-3-git-send-email-jagan@openedev.com> (raw)
In-Reply-To: <1491420041-12471-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
next prev parent reply other threads:[~2017-04-05 19:20 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-05 19:20 [U-Boot] [PATCH v3 00/31] ARM: i.MX6: SabreSD: Add dts support Jagan Teki
2017-04-05 19:20 ` [U-Boot] [PATCH v3 01/31] ARM: i.MX6: sabresd: Fix README - s/of=/dev/sdbbs=1K/of=/dev/sdb bs=1K/ Jagan Teki
2017-04-05 19:20 ` Jagan Teki [this message]
2017-04-05 19:20 ` [U-Boot] [PATCH v3 03/31] ARM: dts: imx6qdl-sabresd: Add imx6q-sabresd.dts Jagan Teki
2017-04-05 19:20 ` [U-Boot] [PATCH v3 04/31] ARM: i.MX6: sabresd: Remove SPL_I2C_SUPPORT Jagan Teki
2017-04-05 19:20 ` [U-Boot] [PATCH v3 05/31] ARM: i.MX6Q: sabresd: Add initial devicetree support Jagan Teki
2017-04-05 19:20 ` [U-Boot] [PATCH v3 06/31] ARM: dts: imx6qdl-sabresd: Add imx6qp-sabresd.dts Jagan Teki
2017-04-05 19:20 ` [U-Boot] [PATCH v3 07/31] ARM: i.MX6QP: sabresd: Add initial devicetree support Jagan Teki
2017-04-05 19:20 ` [U-Boot] [PATCH v3 08/31] ARM: i.MX6: sabresd: Move CONFIG_SYS_I2C_MXC to defconfigs Jagan Teki
2017-04-05 19:20 ` [U-Boot] [PATCH v3 09/31] ARM: dts: imx6qdl-sabresd: Add I2C node's Jagan Teki
2017-04-05 19:20 ` [U-Boot] [PATCH v3 10/31] ARM: dts: imx6qdl-sabresd: Add PMIC pfuze100 node Jagan Teki
2017-04-05 19:20 ` [U-Boot] [PATCH v3 11/31] ARM: i.MX6: sabresd: Enable DM_I2C and DM_PMIC Jagan Teki
2017-04-05 19:20 ` [U-Boot] [PATCH v3 12/31] ARM: i.MX6: sabresd: defconfig move - CONFIG_USB_EHCI(_MX6) Jagan Teki
2017-04-05 19:20 ` [U-Boot] [PATCH v3 13/31] ARM: dts: imx6qdl-sabresd: Add usb host node Jagan Teki
2017-04-05 19:20 ` [U-Boot] [PATCH v3 14/31] ARM: dts: imx6qdl-sabresd: Add usb otg node Jagan Teki
2017-04-05 19:20 ` [U-Boot] [PATCH v3 15/31] ARM: i.MX6: sabresd: Enable CONFIG_DM_REGULATOR Jagan Teki
2017-04-05 19:20 ` [U-Boot] [PATCH v3 16/31] ARM: i.MX6: sabresd: Enable DM_USB Jagan Teki
2017-04-05 19:20 ` [U-Boot] [PATCH v3 17/31] ARM: dts: imx6qdl-sabresd: Add FEC node Jagan Teki
2017-04-05 19:20 ` [U-Boot] [PATCH v3 18/31] ARM: i.MX6: sabresd: Move CONFIG_FEC_MXC to defconfigs Jagan Teki
2017-04-05 19:20 ` [U-Boot] [PATCH v3 19/31] ARM: i.MX6: sabresd: Enable DM_ETH Jagan Teki
2017-04-05 19:20 ` [U-Boot] [PATCH v3 20/31] ARM: i.MX6: sabresd: Add dm_gpio_* for backlight Jagan Teki
2017-04-05 19:20 ` [U-Boot] [PATCH v3 21/31] ARM: i.MX6: sabresd: Add imx6_pcie_toggle_power Jagan Teki
2017-04-05 19:20 ` [U-Boot] [PATCH v3 22/31] ARM: i.MX6: sabresd: Add imx6_pcie_toggle_reset Jagan Teki
2017-04-06 21:56 ` Fabio Estevam
2017-04-07 6:42 ` Jagan Teki
2017-04-05 19:20 ` [U-Boot] [PATCH v3 23/31] ARM: i.MX6DL: sabresd: Move DCD reginit on SPL Jagan Teki
2017-04-06 21:54 ` Fabio Estevam
2017-04-07 6:10 ` Jagan Teki
2017-05-12 4:03 ` Fabio Estevam
2017-04-05 19:20 ` [U-Boot] [PATCH v3 24/31] ARM: dts: imx6qdl-sabresd: Add imx6dl-sabresd.dts Jagan Teki
2017-04-05 19:20 ` [U-Boot] [PATCH v3 25/31] ARM: i.MX6DL: sabresd: Add initial devicetree support Jagan Teki
2017-04-05 19:20 ` [U-Boot] [PATCH v3 26/31] ARM: i.MX6: sabresd: Drop legacy non-fdt code Jagan Teki
2017-04-05 19:20 ` [U-Boot] [PATCH v3 27/31] ARM: i.MX6: %s/mx6sabresd/imx6sabresd Jagan Teki
2017-04-05 19:20 ` [U-Boot] [PATCH v3 28/31] ARM: i.MX6: sabresd: Move DM_* and OF_CONTROL to arch Kconfig Jagan Teki
2017-04-05 19:20 ` [U-Boot] [PATCH v3 29/31] ARM: i.MX6: sabresd: Update README Jagan Teki
2017-04-05 19:20 ` [U-Boot] [PATCH v3 30/31] ARM: i.MX6: sabresd: Drop checkboard Jagan Teki
2017-04-05 19:20 ` [U-Boot] [PATCH v3 31/31] ARM: i.MX6: sabresd: Cleanup board code 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=1491420041-12471-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox