Skip to contentSkip to conversation

Add initial imx6dl support

PATCH New Shawn Guo 4 participants 13 messages Apr 2, 2013 – Apr 8, 2013 1 message not in the archive

Subsystems (7)
lore
Share & tools
lore

Shawn Guo

author
#0 lore raw

cover Add initial imx6dl support

The i.MX6 DualLite/Solo (imx6dl) is a derivative of i.MX6 Quad/Dual (imx6q). These two chips are highly compatible. The series adds the initial imx6dl support based on imx6q base.

Linus,

The first two patches has dependency on patch "pinctrl: imx: move hard-coding data into device tree", which is sitting on IMX tree. So can you please give your ACK for me to take them through the same tree?

Thanks,
Shawn

Shawn Guo (6):
pinctrl: add pinctrl driver for imx6dl
pinctrl: add pinctrl driver for imx6sl
ARM: imx: add initial imx6dl support
ARM: dts: imx: make sabreauto and sabresd common
ARM: dts: imx: add initial imx6dl-sabresd support
ARM: dts: imx: add initial imx6dl-sabreauto support

 .../bindings/pinctrl/fsl,imx6dl-pinctrl.txt        |   38 +
 .../bindings/pinctrl/fsl,imx6sl-pinctrl.txt        |   39 +
 arch/arm/Kconfig.debug                             |    4 +-
 arch/arm/boot/dts/Makefile                         |    2 +
 arch/arm/boot/dts/imx6dl-pinfunc.h                 | 1085 ++++++++++++++++++++
 arch/arm/boot/dts/imx6dl-sabreauto.dtsp            |   31 +
 arch/arm/boot/dts/imx6dl-sabresd.dtsp              |   35 +
 arch/arm/boot/dts/imx6dl.dtsip                     |  114 +-
 arch/arm/boot/dts/imx6q-sabreauto.dtsp             |   27 +-
 arch/arm/boot/dts/imx6q-sabresd.dtsp               |   78 +-
 arch/arm/boot/dts/imx6qdl-sabreauto.dtsip          |   38 +
 arch/arm/boot/dts/imx6qdl-sabresd.dtsip            |   87 ++
 arch/arm/boot/dts/imx6sl-pinfunc.h                 | 1077 +++++++++++++++++++
 arch/arm/mach-imx/Kconfig                          |    2 +-
 arch/arm/mach-imx/clk-imx6q.c                      |    2 +-
 arch/arm/mach-imx/mach-imx6q.c                     |   30 +-
 arch/arm/mach-imx/mxc.h                            |   11 +
 drivers/pinctrl/Kconfig                            |   12 +-
 drivers/pinctrl/Makefile                           |    1 +
 drivers/pinctrl/pinctrl-imx6dl.c                   |  459 +++++++++
 drivers/pinctrl/pinctrl-imx6sl.c                   |  365 +++++++
 21 files changed, 3421 insertions(+), 116 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/pinctrl/fsl,imx6dl-pinctrl.txt
 create mode 100644 Documentation/devicetree/bindings/pinctrl/fsl,imx6sl-pinctrl.txt
 create mode 100644 arch/arm/boot/dts/imx6dl-pinfunc.h
 create mode 100644 arch/arm/boot/dts/imx6dl-sabreauto.dtsp
 create mode 100644 arch/arm/boot/dts/imx6dl-sabresd.dtsp
 create mode 100644 arch/arm/boot/dts/imx6qdl-sabreauto.dtsip
 create mode 100644 arch/arm/boot/dts/imx6qdl-sabresd.dtsip
 create mode 100644 arch/arm/boot/dts/imx6sl-pinfunc.h
 create mode 100644 drivers/pinctrl/pinctrl-imx6dl.c
 create mode 100644 drivers/pinctrl/pinctrl-imx6sl.c
Signature · 1 line
1.7.9.5
author
#1 lore raw

PATCH 2/6 pinctrl: add pinctrl driver for imx6sl

Add a pinctrl driver for i.MX6 SoloLite based on pinctrl-imx core driver.

---
 .../bindings/pinctrl/fsl,imx6sl-pinctrl.txt        |   39 +
 arch/arm/boot/dts/imx6sl-pinfunc.h                 | 1077 ++++++++++++++++++++
 drivers/pinctrl/Kconfig                            |    8 +
 drivers/pinctrl/pinctrl-imx6sl.c                   |  365 +++++++
 4 files changed, 1489 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pinctrl/fsl,imx6sl-pinctrl.txt
 create mode 100644 arch/arm/boot/dts/imx6sl-pinfunc.h
 create mode 100644 drivers/pinctrl/pinctrl-imx6sl.c
Documentation/devicetree/bindings/pinctrl/fsl,imx6sl-pinctrl.txt new file +39 -0
new file mode 100644
index 0000000..e5f6d1f
@@ -0,0 +1,39 @@
+* Freescale IMX6 SoloLite IOMUX Controller
+
+Please refer to fsl,imx-pinctrl.txt in this directory for common binding part
+and usage.
+
+Required properties:
+- compatible: "fsl,imx6sl-iomuxc"
+- fsl,pins: two integers array, represents a group of pins mux and config
+  setting. The format is fsl,pins = <PIN_FUNC_ID CONFIG>, PIN_FUNC_ID is a
+  pin working on a specific function, CONFIG is the pad setting value like
+  pull-up for this pin. Please refer to imx6sl datasheet for the valid pad
+  config settings.
+
+CONFIG bits definition:
+PAD_CTL_LVE                     (1 << 22)
+PAD_CTL_HYS                     (1 << 16)
+PAD_CTL_PUS_100K_DOWN           (0 << 14)
+PAD_CTL_PUS_47K_UP              (1 << 14)
+PAD_CTL_PUS_100K_UP             (2 << 14)
+PAD_CTL_PUS_22K_UP              (3 << 14)
+PAD_CTL_PUE                     (1 << 13)
+PAD_CTL_PKE                     (1 << 12)
+PAD_CTL_ODE                     (1 << 11)
+PAD_CTL_SPEED_LOW               (1 << 6)
+PAD_CTL_SPEED_MED               (2 << 6)
+PAD_CTL_SPEED_HIGH              (3 << 6)
+PAD_CTL_DSE_DISABLE             (0 << 3)
+PAD_CTL_DSE_240ohm              (1 << 3)
+PAD_CTL_DSE_120ohm              (2 << 3)
+PAD_CTL_DSE_80ohm               (3 << 3)
+PAD_CTL_DSE_60ohm               (4 << 3)
+PAD_CTL_DSE_48ohm               (5 << 3)
+PAD_CTL_DSE_40ohm               (6 << 3)
+PAD_CTL_DSE_34ohm               (7 << 3)
+PAD_CTL_SRE_FAST                (1 << 0)
+PAD_CTL_SRE_SLOW                (0 << 0)
+
+Refer to imx6sl-pinfunc.h in device tree source folder for all available
+imx6sl PIN_FUNC_ID.
arch/arm/boot/dts/imx6sl-pinfunc.h new file +1077 -0

1,077 lines not on this page · raw message

drivers/pinctrl/Kconfig +8 -0
index e8a564a..f06df07 100644
@@ -100,6 +100,14 @@ config PINCTRL_IMX6Q
 	help
 	  Say Y here to enable the imx6q/dl pinctrl driver
 
+config PINCTRL_IMX6SL
+	bool "IMX6SL pinctrl driver"
+	depends on OF
+	depends on SOC_IMX6SL
+	select PINCTRL_IMX
+	help
+	  Say Y here to enable the imx6sl pinctrl driver
+
 config PINCTRL_LANTIQ
 	bool
 	depends on LANTIQ
drivers/pinctrl/pinctrl-imx6sl.c new file +365 -0

365 lines not on this page · raw message

Signature · 1 line
1.7.9.5
author
#2 lore raw

PATCH 3/6 ARM: imx: add initial imx6dl support

In reply to Shawn Guo

The i.MX6 DualLite/Solo is another i.MX6 family SoC, which is highly compatible with i.MX6 Quad/Dual. And that's why we choose to support it using imx6q code with cpu_is_imx6dl() check when necessary.

---
 arch/arm/Kconfig.debug         |    4 ++--
 arch/arm/mach-imx/Kconfig      |    2 +-
 arch/arm/mach-imx/clk-imx6q.c  |    2 +-
 arch/arm/mach-imx/mach-imx6q.c |   30 +++++++++++++++++++++---------
 arch/arm/mach-imx/mxc.h        |   11 +++++++++++
 5 files changed, 36 insertions(+), 13 deletions(-)
arch/arm/Kconfig.debug +2 -2
index 9b31f43..7e911fd 100644
@@ -234,11 +234,11 @@ choice
 		  on i.MX53.
 
 	config DEBUG_IMX6Q_UART
-		bool "i.MX6Q Debug UART"
+		bool "i.MX6Q/DL Debug UART"
 		depends on SOC_IMX6Q
 		help
 		  Say Y here if you want kernel low-level debugging support
-		  on i.MX6Q.
+		  on i.MX6Q/DL.
 
 	config DEBUG_MMP_UART2
 		bool "Kernel low-level debugging message via MMP UART2"
arch/arm/mach-imx/Kconfig +1 -1
index ca24f2c..355d55c 100644
@@ -810,7 +810,7 @@ config	SOC_IMX53
 	  This enables support for Freescale i.MX53 processor.
 
 config SOC_IMX6Q
-	bool "i.MX6 Quad support"
+	bool "i.MX6 Quad/DualLite support"
 	select ARCH_HAS_CPUFREQ
 	select ARCH_HAS_OPP
 	select ARM_CPU_SUSPEND if PM
arch/arm/mach-imx/clk-imx6q.c +1 -1
index 92b2aa5..65319d5 100644
@@ -296,7 +296,7 @@ int __init mx6q_clocks_init(void)
 	WARN_ON(!base);
 
 	/* Audio/video PLL post dividers do not work on i.MX6q revision 1.0 */
-	if (imx6q_revision() == IMX_CHIP_REVISION_1_0) {
+	if (cpu_is_imx6q() && imx6q_revision() == IMX_CHIP_REVISION_1_0) {
 		post_div_table[1].div = 1;
 		post_div_table[2].div = 1;
 		video_div_table[1].div = 1;
arch/arm/mach-imx/mach-imx6q.c +21 -9
index 221f319..8aa9d90 100644
@@ -39,23 +39,32 @@
 #include "cpuidle.h"
 #include "hardware.h"
 
+static u32 chip_revision;
+
 int imx6q_revision(void)
 {
-	static u32 rev;
+	return chip_revision;
+}
 
-	if (!rev)
-		rev = imx_anatop_get_digprog();
+static void __init imx6q_init_revision(void)
+{
+	u32 rev = imx_anatop_get_digprog();
 
 	switch (rev & 0xff) {
 	case 0:
-		return IMX_CHIP_REVISION_1_0;
+		chip_revision = IMX_CHIP_REVISION_1_0;
+		break;
 	case 1:
-		return IMX_CHIP_REVISION_1_1;
+		chip_revision = IMX_CHIP_REVISION_1_1;
+		break;
 	case 2:
-		return IMX_CHIP_REVISION_1_2;
+		chip_revision = IMX_CHIP_REVISION_1_2;
+		break;
 	default:
-		return IMX_CHIP_REVISION_UNKNOWN;
+		chip_revision = IMX_CHIP_REVISION_UNKNOWN;
 	}
+
+	mxc_set_cpu_type(rev >> 16 & 0xff);
 }
 
 void imx6q_restart(char mode, const char *cmd)
@@ -247,6 +256,7 @@ static void __init imx6q_map_io(void)
 
 static void __init imx6q_init_irq(void)
 {
+	imx6q_init_revision();
 	l2x0_of_init(0, ~0UL);
 	imx_src_init();
 	imx_gpc_init();
@@ -257,15 +267,17 @@ static void __init imx6q_timer_init(void)
 {
 	mx6q_clocks_init();
 	twd_local_timer_of_register();
-	imx_print_silicon_rev("i.MX6Q", imx6q_revision());
+	imx_print_silicon_rev(cpu_is_imx6dl() ? "i.MX6DL" : "i.MX6Q",
+			      imx6q_revision());
 }
 
 static const char *imx6q_dt_compat[] __initdata = {
+	"fsl,imx6dl",
 	"fsl,imx6q",
 	NULL,
 };
 
-DT_MACHINE_START(IMX6Q, "Freescale i.MX6 Quad (Device Tree)")
+DT_MACHINE_START(IMX6Q, "Freescale i.MX6 Quad/DualLite (Device Tree)")
 	.smp		= smp_ops(imx_smp_ops),
 	.map_io		= imx6q_map_io,
 	.init_irq	= imx6q_init_irq,
arch/arm/mach-imx/mxc.h +11 -0
index 7dce17a..8629e5b 100644
@@ -34,6 +34,8 @@
 #define MXC_CPU_MX35		35
 #define MXC_CPU_MX51		51
 #define MXC_CPU_MX53		53
+#define MXC_CPU_IMX6DL		0x61
+#define MXC_CPU_IMX6Q		0x63
 
 #define IMX_CHIP_REVISION_1_0		0x10
 #define IMX_CHIP_REVISION_1_1		0x11
@@ -150,6 +152,15 @@ extern unsigned int __mxc_cpu_type;
 #endif
 
 #ifndef __ASSEMBLY__
+static inline bool cpu_is_imx6dl(void)
+{
+	return __mxc_cpu_type == MXC_CPU_IMX6DL;
+}
+
+static inline bool cpu_is_imx6q(void)
+{
+	return __mxc_cpu_type == MXC_CPU_IMX6Q;
+}
 
 struct cpu_op {
 	u32 cpu_rate;
Signature · 1 line
1.7.9.5
#3 lore raw

PATCH 3/6 ARM: imx: add initial imx6dl support

Am Dienstag, den 02.04.2013, 22:31 +0800 schrieb Shawn Guo:

arch/arm/mach-imx/mxc.h line 41

Quoted 13 lines
arch/arm/mach-imx/mxc.h +2 -0
index 7dce17a..8629e5b 100644
@@ -34,6 +34,8 @@
 #define MXC_CPU_MX35		35
 #define MXC_CPU_MX51		51
 #define MXC_CPU_MX53		53
+#define MXC_CPU_IMX6DL		0x61
+#define MXC_CPU_IMX6Q		0x63
 
 #define IMX_CHIP_REVISION_1_0		0x10
 #define IMX_CHIP_REVISION_1_1		0x11

Hi Shawn,

Are the hexadecimal values for MXC_CPU_IMX6DL and MXC_CPU_IMX6Q correct? I ask because Freescale's imx_3.0.35_1.1.0 kernel defines MXC_CPU_MX6DL and MXC_CPU_MX6Q with the decimal numbers 61 and 63.

Ciao,
Mathias

author
#4 lore raw

PATCH 3/6 ARM: imx: add initial imx6dl support

Quoted 12 lines · Mathias Hasselmann

Am Dienstag, den 02.04.2013, 22:31 +0800 schrieb Shawn Guo:

Quoted 11 lines
arch/arm/mach-imx/mxc.h +2 -0
index 7dce17a..8629e5b 100644
@@ -34,6 +34,8 @@
 #define MXC_CPU_MX35		35
 #define MXC_CPU_MX51		51
 #define MXC_CPU_MX53		53
+#define MXC_CPU_IMX6DL		0x61
+#define MXC_CPU_IMX6Q		0x63
 
Quoted 6 lines

arch/arm/mach-imx/mxc.h line 41

Quoted 2 lines
arch/arm/mach-imx/mxc.h +0 -0
 #define IMX_CHIP_REVISION_1_0		0x10
 #define IMX_CHIP_REVISION_1_1		0x11

Hi Shawn,

Are the hexadecimal values for MXC_CPU_IMX6DL and MXC_CPU_IMX6Q correct?

The hexadecimal values are correct. They are defined so to match Chip Silicon Version (ANALOG_DIGPROG) register.

Quoted 2 lines

I ask because Freescale's imx_3.0.35_1.1.0 kernel defines MXC_CPU_MX6DL and MXC_CPU_MX6Q with the decimal numbers 61 and 63.

In Freescale kernel, the value does not really matter, since the kernel will use the macros in mxc_set_cpu_type() call.

Shawn

author
#5 lore raw

PATCH 4/6 ARM: dts: imx: make sabreauto and sabresd common

In reply to Shawn Guo

The sabreauto and sabresd boards are common for imx6q and imx6dl. Create imx6qdl-sabreauto.dtsip and imx6qdl-sabresd.dtsip for those common parts.

---
 arch/arm/boot/dts/imx6q-sabreauto.dtsp    |   27 +--------
 arch/arm/boot/dts/imx6q-sabresd.dtsp      |   78 +-------------------------
 arch/arm/boot/dts/imx6qdl-sabreauto.dtsip |   38 +++++++++++++
 arch/arm/boot/dts/imx6qdl-sabresd.dtsip   |   87 +++++++++++++++++++++++++++++
 4 files changed, 130 insertions(+), 100 deletions(-)
 create mode 100644 arch/arm/boot/dts/imx6qdl-sabreauto.dtsip
 create mode 100644 arch/arm/boot/dts/imx6qdl-sabresd.dtsip
arch/arm/boot/dts/imx6q-sabreauto.dtsp +2 -25
index 23c602a..99ba364 100644
@@ -11,15 +11,13 @@
  */
 
 /dts-v1/;
+
 #include "imx6q.dtsip"
+#include "imx6qdl-sabreauto.dtsip"
 
 / {
 	model = "Freescale i.MX6 Quad SABRE Automotive Board";
 	compatible = "fsl,imx6q-sabreauto", "fsl,imx6q";
-
-	memory {
-		reg = <0x10000000 0x80000000>;
-	};
 };
 
 &iomuxc {
@@ -35,24 +33,3 @@
 		};
 	};
 };
-
-&uart4 {
-	pinctrl-names = "default";
-	pinctrl-0 = <&pinctrl_uart4_1>;
-	status = "okay";
-};
-
-&fec {
-	pinctrl-names = "default";
-	pinctrl-0 = <&pinctrl_enet_2>;
-	phy-mode = "rgmii";
-	status = "okay";
-};
-
-&usdhc3 {
-	pinctrl-names = "default";
-	pinctrl-0 = <&pinctrl_usdhc3_1>;
-	cd-gpios = <&gpio6 15 0>;
-	wp-gpios = <&gpio1 13 0>;
-	status = "okay";
-};
arch/arm/boot/dts/imx6q-sabresd.dtsp +3 -75

91 lines not on this page · raw message

arch/arm/boot/dts/imx6qdl-sabreauto.dtsip new file +38 -0
new file mode 100644
index 0000000..4d237cf
@@ -0,0 +1,38 @@
+/*
+ * 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
+ */
+
+/ {
+	memory {
+		reg = <0x10000000 0x80000000>;
+	};
+};
+
+&fec {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_enet_2>;
+	phy-mode = "rgmii";
+	status = "okay";
+};
+
+&uart4 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_uart4_1>;
+	status = "okay";
+};
+
+&usdhc3 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_usdhc3_1>;
+	cd-gpios = <&gpio6 15 0>;
+	wp-gpios = <&gpio1 13 0>;
+	status = "okay";
+};
arch/arm/boot/dts/imx6qdl-sabresd.dtsip new file +87 -0

87 lines not on this page · raw message

Signature · 1 line
1.7.9.5
author
#6 lore raw

PATCH 5/6 ARM: dts: imx: add initial imx6dl-sabresd support

In reply to Shawn Guo

Add initial imx6dl-sabresd support based on the common stuff already in imx6qdl-sabresd.dtsip.

---
 arch/arm/boot/dts/Makefile            |    1 +
 arch/arm/boot/dts/imx6dl-sabresd.dtsp |   35 ++++++++++++++
 arch/arm/boot/dts/imx6dl.dtsip        |   85 ++++++++++++++++++++++++++++++++-
 3 files changed, 120 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/boot/dts/imx6dl-sabresd.dtsp
arch/arm/boot/dts/Makefile +1 -0
index 0254495..38d19b0 100644
@@ -98,6 +98,7 @@ dtb-$(CONFIG_ARCH_MXC) += \
 	imx53-mba53.dtb \
 	imx53-qsb.dtb \
 	imx53-smd.dtb \
+	imx6dl-sabresd.dtb \
 	imx6q-arm2.dtb \
 	imx6q-sabreauto.dtb \
 	imx6q-sabrelite.dtb \
arch/arm/boot/dts/imx6dl-sabresd.dtsp new file +35 -0
new file mode 100644
index 0000000..77ef55c
@@ -0,0 +1,35 @@
+/*
+ * Copyright (C) 2013 Freescale Semiconductor, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/dts-v1/;
+
+#include "imx6dl.dtsip"
+#include "imx6qdl-sabresd.dtsip"
+
+/ {
+	model = "Freescale i.MX6 DualLite SABRE Smart Device Board";
+	compatible = "fsl,imx6dl-sabresd", "fsl,imx6dl";
+};
+
+&iomuxc {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_hog>;
+
+	hog {
+		pinctrl_hog: hoggrp {
+			fsl,pins = <
+				MX6DL_PAD_GPIO_4__GPIO1_IO04   0x80000000
+				MX6DL_PAD_GPIO_5__GPIO1_IO05   0x80000000
+				MX6DL_PAD_NANDF_D0__GPIO2_IO00 0x80000000
+				MX6DL_PAD_NANDF_D1__GPIO2_IO01 0x80000000
+				MX6DL_PAD_NANDF_D2__GPIO2_IO02 0x80000000
+				MX6DL_PAD_NANDF_D3__GPIO2_IO03 0x80000000
+			>;
+		};
+	};
+};
arch/arm/boot/dts/imx6dl.dtsip +84 -1

100 lines not on this page · raw message

Signature · 1 line
1.7.9.5
author
#7 lore raw

PATCH 6/6 ARM: dts: imx: add initial imx6dl-sabreauto support

In reply to Shawn Guo

Add initial imx6dl-sabreauto support based on the common stuff already in imx6qdl-sabreauto.dtsip.

---
 arch/arm/boot/dts/Makefile              |    1 +
 arch/arm/boot/dts/imx6dl-sabreauto.dtsp |   31 +++++++++++++++++++++++++++++++
 arch/arm/boot/dts/imx6dl.dtsip          |   29 +++++++++++++++++++++++++++++
 3 files changed, 61 insertions(+)
 create mode 100644 arch/arm/boot/dts/imx6dl-sabreauto.dtsp
arch/arm/boot/dts/Makefile +1 -0
index 38d19b0..5345ac1 100644
@@ -98,6 +98,7 @@ dtb-$(CONFIG_ARCH_MXC) += \
 	imx53-mba53.dtb \
 	imx53-qsb.dtb \
 	imx53-smd.dtb \
+	imx6dl-sabreauto.dtb \
 	imx6dl-sabresd.dtb \
 	imx6q-arm2.dtb \
 	imx6q-sabreauto.dtb \
arch/arm/boot/dts/imx6dl-sabreauto.dtsp new file +31 -0
new file mode 100644
index 0000000..53033be
@@ -0,0 +1,31 @@
+/*
+ * Copyright (C) 2013 Freescale Semiconductor, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/dts-v1/;
+
+#include "imx6dl.dtsip"
+#include "imx6qdl-sabreauto.dtsip"
+
+/ {
+	model = "Freescale i.MX6 DualLite/Solo SABRE Automotive Board";
+	compatible = "fsl,imx6dl-sabreauto", "fsl,imx6dl";
+};
+
+&iomuxc {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_hog>;
+
+	hog {
+		pinctrl_hog: hoggrp {
+			fsl,pins = <
+				MX6DL_PAD_NANDF_CS2__GPIO6_IO15 0x80000000
+				MX6DL_PAD_SD2_DAT2__GPIO1_IO13  0x80000000
+			>;
+		};
+	};
+};
arch/arm/boot/dts/imx6dl.dtsip +29 -0
index b9112677..951ba53 100644
@@ -56,6 +56,26 @@
 							MX6DL_PAD_GPIO_16__ENET_REF_CLK      0x4001b0a8
 						>;
 					};
+
+					pinctrl_enet_2: enetgrp-2 {
+						fsl,pins = <
+							MX6DL_PAD_KEY_COL1__ENET_MDIO        0x1b0b0
+							MX6DL_PAD_KEY_COL2__ENET_MDC         0x1b0b0
+							MX6DL_PAD_RGMII_TXC__RGMII_TXC       0x1b0b0
+							MX6DL_PAD_RGMII_TD0__RGMII_TD0       0x1b0b0
+							MX6DL_PAD_RGMII_TD1__RGMII_TD1       0x1b0b0
+							MX6DL_PAD_RGMII_TD2__RGMII_TD2       0x1b0b0
+							MX6DL_PAD_RGMII_TD3__RGMII_TD3       0x1b0b0
+							MX6DL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b0b0
+							MX6DL_PAD_ENET_REF_CLK__ENET_TX_CLK  0x1b0b0
+							MX6DL_PAD_RGMII_RXC__RGMII_RXC       0x1b0b0
+							MX6DL_PAD_RGMII_RD0__RGMII_RD0       0x1b0b0
+							MX6DL_PAD_RGMII_RD1__RGMII_RD1       0x1b0b0
+							MX6DL_PAD_RGMII_RD2__RGMII_RD2       0x1b0b0
+							MX6DL_PAD_RGMII_RD3__RGMII_RD3       0x1b0b0
+							MX6DL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b0b0
+						>;
+					};
 				};
 
 				uart1 {
@@ -67,6 +87,15 @@
 					};
 				};
 
+				uart4 {
+					pinctrl_uart4_1: uart4grp-1 {
+						fsl,pins = <
+							MX6DL_PAD_KEY_COL0__UART4_TX_DATA 0x1b0b1
+							MX6DL_PAD_KEY_ROW0__UART4_RX_DATA 0x1b0b1
+						>;
+					};
+				};
+
 				usbotg {
 					pinctrl_usbotg_2: usbotggrp-2 {
 						fsl,pins = <
Signature · 1 line
1.7.9.5
maintainer
#8 lore raw

cover Add initial imx6dl support

In reply to Shawn Guo
Quoted 10 lines · Shawn Guo

The i.MX6 DualLite/Solo (imx6dl) is a derivative of i.MX6 Quad/Dual (imx6q). These two chips are highly compatible. The series adds the initial imx6dl support based on imx6q base.

Linus,

The first two patches has dependency on patch "pinctrl: imx: move hard-coding data into device tree", which is sitting on IMX tree. So can you please give your ACK for me to take them through the same tree?

Quoted 5 lines

Thanks,
Shawn

Shawn Guo (6):
pinctrl: add pinctrl driver for imx6dl

I am not able to locate patch 1/6. Do you have a git tree with this series applied?

author
#9 lore raw

cover Add initial imx6dl support

Quoted 5 lines · Fabio Estevam
Quoted 2 lines

Shawn Guo (6):
pinctrl: add pinctrl driver for imx6dl

I am not able to locate patch 1/6. Do you have a git tree with this series applied?

Ah, yes. The patch exceeds the 100 KB limit and is waiting for moderator approval.

I just push the series on branch devel/imx6dl.

Shawn

A message that is not in the archive (sent off-list or not yet received): [email protected]

#11 lore raw

PATCH 1/6 pinctrl: add pinctrl driver for imx6dl

Quoted 7 lines · Shawn Guo

The imx6dl is a derivative of imx6q with very limited difference. These two SoCs are so compatible that they can be handled as one platform in software. That said, we will not have target SOC_IMX6DL but just
reusing SOC_IMX6Q. That's why the pinctrl-imx6dl driver is added here
with symbol PINCTRL_IMX6Q controlling the build of it.

OK Acked-by: Linus Walleij <[email protected]>

Also for patch 2.

Will you take this through the Freescale tree?

Yours,
Linus Walleij

author
#12 lore raw

PATCH 1/6 pinctrl: add pinctrl driver for imx6dl

Quoted 8 lines · Linus Walleij
Quoted 6 lines · Shawn Guo

The imx6dl is a derivative of imx6q with very limited difference. These two SoCs are so compatible that they can be handled as one platform in software. That said, we will not have target SOC_IMX6DL but just
reusing SOC_IMX6Q. That's why the pinctrl-imx6dl driver is added here
with symbol PINCTRL_IMX6Q controlling the build of it.

Quoted 6 lines
Quoted 1 line

OK Acked-by: Linus Walleij <[email protected]>

Also for patch 2.

Thanks, Linus.

Quoted 2 lines

Will you take this through the Freescale tree?

Yes, I will.

Shawn

#13 lore raw

cover Add initial imx6dl support

In reply to Shawn Guo
Quoted 9 lines · Shawn Guo

The i.MX6 DualLite/Solo (imx6dl) is a derivative of i.MX6 Quad/Dual (imx6q). These two chips are highly compatible. The series adds the initial imx6dl support based on imx6q base.

Linus,

The first two patches has dependency on patch "pinctrl: imx: move hard-coding data into device tree", which is sitting on IMX tree. So can you please give your ACK for me to take them through the same tree?

Just did, sorry for delays. Thanks!

Yours,
Linus Walleij