* [PATCH v2 0/2] Add Phytec imx6q module and carrier board
@ 2013-06-11 17:48 Christian Hemp
2013-06-11 17:48 ` [PATCH v2 1/2] ARM: dts: imx6q: Add pinctrl for usdhc2 and enet Christian Hemp
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Christian Hemp @ 2013-06-11 17:48 UTC (permalink / raw)
To: linux-arm-kernel
Hi Shawn
This patchset adds basic support for Phytec's phyFLEX-i.MX6 kit.
It's based on git repo from Shwan Guo branche imx/dt
v2;
- Remove not needed pin from ethernet group.
- Cleaned up name for board and module.
- Set SoC before family name.
- Split board and module in separated files.
Christian
Christian Hemp (2):
ARM: dts: imx6q: Add pinctrl for usdhc2 and enet
ARM: dts: Phytec imx6q pfla02 and pbab01 support
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/imx6q-phytec-pbab01.dts | 34 +++++++++++++
arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi | 75 ++++++++++++++++++++++++++++
arch/arm/boot/dts/imx6q.dtsi | 32 ++++++++++++
4 files changed, 142 insertions(+)
create mode 100644 arch/arm/boot/dts/imx6q-phytec-pbab01.dts
create mode 100644 arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi
--
1.7.9.5
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2 1/2] ARM: dts: imx6q: Add pinctrl for usdhc2 and enet
2013-06-11 17:48 [PATCH v2 0/2] Add Phytec imx6q module and carrier board Christian Hemp
@ 2013-06-11 17:48 ` Christian Hemp
2013-06-11 17:48 ` [PATCH v2 2/2] ARM: dts: Phytec imx6q pfla02 and pbab01 support Christian Hemp
2013-06-14 3:25 ` [PATCH v2 0/2] Add Phytec imx6q module and carrier board Shawn Guo
2 siblings, 0 replies; 4+ messages in thread
From: Christian Hemp @ 2013-06-11 17:48 UTC (permalink / raw)
To: linux-arm-kernel
Add a group to the usdhc2 and enet pinctrl.
Signed-off-by: Christian Hemp <c.hemp@phytec.de>
---
arch/arm/boot/dts/imx6q.dtsi | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi
index d79455d..312a22e 100644
--- a/arch/arm/boot/dts/imx6q.dtsi
+++ b/arch/arm/boot/dts/imx6q.dtsi
@@ -157,6 +157,27 @@
MX6Q_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b0b0
>;
};
+
+ pinctrl_enet_3: enetgrp-3 {
+ fsl,pins = <
+ MX6Q_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0
+ MX6Q_PAD_ENET_MDC__ENET_MDC 0x1b0b0
+ MX6Q_PAD_RGMII_TXC__RGMII_TXC 0x1b0b0
+ MX6Q_PAD_RGMII_TD0__RGMII_TD0 0x1b0b0
+ MX6Q_PAD_RGMII_TD1__RGMII_TD1 0x1b0b0
+ MX6Q_PAD_RGMII_TD2__RGMII_TD2 0x1b0b0
+ MX6Q_PAD_RGMII_TD3__RGMII_TD3 0x1b0b0
+ MX6Q_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b0b0
+ MX6Q_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0
+ MX6Q_PAD_RGMII_RXC__RGMII_RXC 0x1b0b0
+ MX6Q_PAD_RGMII_RD0__RGMII_RD0 0x1b0b0
+ MX6Q_PAD_RGMII_RD1__RGMII_RD1 0x1b0b0
+ MX6Q_PAD_RGMII_RD2__RGMII_RD2 0x1b0b0
+ MX6Q_PAD_RGMII_RD3__RGMII_RD3 0x1b0b0
+ MX6Q_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b0b0
+ MX6Q_PAD_ENET_TX_EN__ENET_TX_EN 0x1b0b0
+ >;
+ };
};
gpmi-nand {
@@ -266,6 +287,17 @@
MX6Q_PAD_NANDF_D7__SD2_DATA7 0x17059
>;
};
+
+ pinctrl_usdhc2_2: usdhc2grp-2 {
+ fsl,pins = <
+ MX6Q_PAD_SD2_CMD__SD2_CMD 0x17059
+ MX6Q_PAD_SD2_CLK__SD2_CLK 0x10059
+ MX6Q_PAD_SD2_DAT0__SD2_DATA0 0x17059
+ MX6Q_PAD_SD2_DAT1__SD2_DATA1 0x17059
+ MX6Q_PAD_SD2_DAT2__SD2_DATA2 0x17059
+ MX6Q_PAD_SD2_DAT3__SD2_DATA3 0x17059
+ >;
+ };
};
usdhc3 {
--
1.7.9.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v2 2/2] ARM: dts: Phytec imx6q pfla02 and pbab01 support
2013-06-11 17:48 [PATCH v2 0/2] Add Phytec imx6q module and carrier board Christian Hemp
2013-06-11 17:48 ` [PATCH v2 1/2] ARM: dts: imx6q: Add pinctrl for usdhc2 and enet Christian Hemp
@ 2013-06-11 17:48 ` Christian Hemp
2013-06-14 3:25 ` [PATCH v2 0/2] Add Phytec imx6q module and carrier board Shawn Guo
2 siblings, 0 replies; 4+ messages in thread
From: Christian Hemp @ 2013-06-11 17:48 UTC (permalink / raw)
To: linux-arm-kernel
Add support for imx6q Phytec phyFLEX-i.MX6 Quad (aka pfla02 and pbab01).
- Module pfla02
- Carrier-Board pbab01
Signed-off-by: Christian Hemp <c.hemp@phytec.de>
---
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/imx6q-phytec-pbab01.dts | 34 +++++++++++++
arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi | 75 ++++++++++++++++++++++++++++
3 files changed, 110 insertions(+)
create mode 100644 arch/arm/boot/dts/imx6q-phytec-pbab01.dts
create mode 100644 arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 314fb9d..e0dd08b 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -119,6 +119,7 @@ dtb-$(CONFIG_ARCH_MXC) += \
imx6dl-sabresd.dtb \
imx6dl-wandboard.dtb \
imx6q-arm2.dtb \
+ imx6q-phytec-pbab01.dtb \
imx6q-sabreauto.dtb \
imx6q-sabrelite.dtb \
imx6q-sabresd.dtb \
diff --git a/arch/arm/boot/dts/imx6q-phytec-pbab01.dts b/arch/arm/boot/dts/imx6q-phytec-pbab01.dts
new file mode 100644
index 0000000..7d37ec6
--- /dev/null
+++ b/arch/arm/boot/dts/imx6q-phytec-pbab01.dts
@@ -0,0 +1,34 @@
+/*
+ * Copyright 2013 Christian Hemp, Phytec Messtechnik GmbH
+ *
+ * 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
+ */
+
+/dts-v1/;
+#include "imx6q-phytec-pfla02.dtsi"
+
+/ {
+ model = "Phytec phyFLEX-i.MX6 Quad Carrier-Board";
+ compatible = "phytec,imx6q-pbab01", "phytec,imx6q-pfla02", "fsl,imx6q";
+};
+
+&fec {
+ status = "okay";
+};
+
+&uart4 {
+ status = "okay";
+};
+
+&usdhc2 {
+ status = "okay";
+};
+
+&usdhc3 {
+ status = "okay";
+};
diff --git a/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi b/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi
new file mode 100644
index 0000000..0ea1af4
--- /dev/null
+++ b/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi
@@ -0,0 +1,75 @@
+/*
+ * Copyright 2013 Christian Hemp, Phytec Messtechnik GmbH
+ *
+ * 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 "imx6q.dtsi"
+
+/ {
+ model = "Phytec phyFLEX-i.MX6 Ouad";
+ compatible = "phytec,imx6q-pfla02", "fsl,imx6q";
+
+ memory {
+ reg = <0x10000000 0x80000000>;
+ };
+};
+
+&iomuxc {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_hog>;
+
+ hog {
+ pinctrl_hog: hoggrp {
+ fsl,pins = <
+ MX6Q_PAD_EIM_D23__GPIO3_IO23 0x80000000
+ >;
+ };
+ };
+
+ pfla02 {
+ pinctrl_usdhc3_pfla02: usdhc3grp-pfla02 {
+ fsl,pins = <
+ MX6Q_PAD_ENET_RXD0__GPIO1_IO27 0x80000000
+ MX6Q_PAD_ENET_TXD1__GPIO1_IO29 0x80000000
+ >;
+ };
+ };
+};
+
+&fec {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_enet_3>;
+ phy-mode = "rgmii";
+ phy-reset-gpios = <&gpio3 23 0>;
+ status = "disabled";
+};
+
+&uart4 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_uart4_1>;
+ status = "disabled";
+};
+
+&usdhc2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_usdhc2_2>;
+ cd-gpios = <&gpio1 4 0>;
+ wp-gpios = <&gpio1 2 0>;
+ status = "disabled";
+};
+
+&usdhc3 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_usdhc3_2
+ &pinctrl_usdhc3_pfla02>;
+ cd-gpios = <&gpio1 27 0>;
+ wp-gpios = <&gpio1 29 0>;
+ status = "disabled";
+};
+
--
1.7.9.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v2 0/2] Add Phytec imx6q module and carrier board
2013-06-11 17:48 [PATCH v2 0/2] Add Phytec imx6q module and carrier board Christian Hemp
2013-06-11 17:48 ` [PATCH v2 1/2] ARM: dts: imx6q: Add pinctrl for usdhc2 and enet Christian Hemp
2013-06-11 17:48 ` [PATCH v2 2/2] ARM: dts: Phytec imx6q pfla02 and pbab01 support Christian Hemp
@ 2013-06-14 3:25 ` Shawn Guo
2 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2013-06-14 3:25 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Jun 11, 2013 at 07:48:20PM +0200, Christian Hemp wrote:
> Christian Hemp (2):
> ARM: dts: imx6q: Add pinctrl for usdhc2 and enet
> ARM: dts: Phytec imx6q pfla02 and pbab01 support
Applied both, thanks.
Shawn
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-06-14 3:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-11 17:48 [PATCH v2 0/2] Add Phytec imx6q module and carrier board Christian Hemp
2013-06-11 17:48 ` [PATCH v2 1/2] ARM: dts: imx6q: Add pinctrl for usdhc2 and enet Christian Hemp
2013-06-11 17:48 ` [PATCH v2 2/2] ARM: dts: Phytec imx6q pfla02 and pbab01 support Christian Hemp
2013-06-14 3:25 ` [PATCH v2 0/2] Add Phytec imx6q module and carrier board Shawn Guo
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.