aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Hemp <c.hemp@phytec.de>2013-06-11 13:48:22 -0400
committerShawn Guo <shawn.guo@linaro.org>2013-06-17 04:04:31 -0400
commit3180f956668ee04d35d77b32a6a1be10fb251d9d (patch)
treeebc739776ffbc67d70da014bb6546420d191815d
parenta5770904d7220a31a4a160ca793a029d6382a8da (diff)
ARM: dts: Phytec imx6q pfla02 and pbab01 support
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> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
-rw-r--r--arch/arm/boot/dts/Makefile1
-rw-r--r--arch/arm/boot/dts/imx6q-phytec-pbab01.dts34
-rw-r--r--arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi74
3 files changed, 109 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 4ed1b1106967..b3a86613c602 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -119,6 +119,7 @@ dtb-$(CONFIG_ARCH_MXC) += \
119 imx6dl-sabresd.dtb \ 119 imx6dl-sabresd.dtb \
120 imx6dl-wandboard.dtb \ 120 imx6dl-wandboard.dtb \
121 imx6q-arm2.dtb \ 121 imx6q-arm2.dtb \
122 imx6q-phytec-pbab01.dtb \
122 imx6q-sabreauto.dtb \ 123 imx6q-sabreauto.dtb \
123 imx6q-sabrelite.dtb \ 124 imx6q-sabrelite.dtb \
124 imx6q-sabresd.dtb \ 125 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 000000000000..7d37ec60d58d
--- /dev/null
+++ b/arch/arm/boot/dts/imx6q-phytec-pbab01.dts
@@ -0,0 +1,34 @@
1/*
2 * Copyright 2013 Christian Hemp, Phytec Messtechnik GmbH
3 *
4 * The code contained herein is licensed under the GNU General Public
5 * License. You may obtain a copy of the GNU General Public License
6 * Version 2 or later at the following locations:
7 *
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
10 */
11
12/dts-v1/;
13#include "imx6q-phytec-pfla02.dtsi"
14
15/ {
16 model = "Phytec phyFLEX-i.MX6 Quad Carrier-Board";
17 compatible = "phytec,imx6q-pbab01", "phytec,imx6q-pfla02", "fsl,imx6q";
18};
19
20&fec {
21 status = "okay";
22};
23
24&uart4 {
25 status = "okay";
26};
27
28&usdhc2 {
29 status = "okay";
30};
31
32&usdhc3 {
33 status = "okay";
34};
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 000000000000..f5e1981025ed
--- /dev/null
+++ b/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi
@@ -0,0 +1,74 @@
1/*
2 * Copyright 2013 Christian Hemp, Phytec Messtechnik GmbH
3 *
4 * The code contained herein is licensed under the GNU General Public
5 * License. You may obtain a copy of the GNU General Public License
6 * Version 2 or later at the following locations:
7 *
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
10 */
11
12#include "imx6q.dtsi"
13
14/ {
15 model = "Phytec phyFLEX-i.MX6 Ouad";
16 compatible = "phytec,imx6q-pfla02", "fsl,imx6q";
17
18 memory {
19 reg = <0x10000000 0x80000000>;
20 };
21};
22
23&iomuxc {
24 pinctrl-names = "default";
25 pinctrl-0 = <&pinctrl_hog>;
26
27 hog {
28 pinctrl_hog: hoggrp {
29 fsl,pins = <
30 MX6Q_PAD_EIM_D23__GPIO3_IO23 0x80000000
31 >;
32 };
33 };
34
35 pfla02 {
36 pinctrl_usdhc3_pfla02: usdhc3grp-pfla02 {
37 fsl,pins = <
38 MX6Q_PAD_ENET_RXD0__GPIO1_IO27 0x80000000
39 MX6Q_PAD_ENET_TXD1__GPIO1_IO29 0x80000000
40 >;
41 };
42 };
43};
44
45&fec {
46 pinctrl-names = "default";
47 pinctrl-0 = <&pinctrl_enet_3>;
48 phy-mode = "rgmii";
49 phy-reset-gpios = <&gpio3 23 0>;
50 status = "disabled";
51};
52
53&uart4 {
54 pinctrl-names = "default";
55 pinctrl-0 = <&pinctrl_uart4_1>;
56 status = "disabled";
57};
58
59&usdhc2 {
60 pinctrl-names = "default";
61 pinctrl-0 = <&pinctrl_usdhc2_2>;
62 cd-gpios = <&gpio1 4 0>;
63 wp-gpios = <&gpio1 2 0>;
64 status = "disabled";
65};
66
67&usdhc3 {
68 pinctrl-names = "default";
69 pinctrl-0 = <&pinctrl_usdhc3_2
70 &pinctrl_usdhc3_pfla02>;
71 cd-gpios = <&gpio1 27 0>;
72 wp-gpios = <&gpio1 29 0>;
73 status = "disabled";
74};