]> git.ipfire.org Git - ipfire-3.x.git/blame - kernel/patches/linux-3.12-imx6-utilite.patch
iproute2: Update to 3.14.0.
[ipfire-3.x.git] / kernel / patches / linux-3.12-imx6-utilite.patch
CommitLineData
b1cbc577
MT
1Add initial support for cm-fx6 module.
2
3cm-fx6 is a module based on mx6q SoC with the following features:
4- Up to 4GB of DDR3
5- 1 LCD/DVI output port
6- 1 HDMI output port
7- 2 LVDS LCD ports
8- Gigabit Ethernet
9- Analog Audio
10- CAN
11- SATA
12- NAND
13- PCIE
14
15This patch allows to boot up the module, configures the serial console,
16the Ethernet adapter and the hearbeat led.
17
18Signed-off-by: Valentin Raevsky <valentin@xxxxxxxxxxxxxx>
19Acked-by: Igor Grinberg <grinberg@xxxxxxxxxxxxxx>
20---
21 arch/arm/boot/dts/imx6q-cm-fx6.dts | 51 ++++++++++++++++++++++++++++++++++++++++++
22 1 file changed, 51 insertions(+)
23 create mode 100644 arch/arm/boot/dts/imx6q-cm-fx6.dts
24
25diff --git a/arch/arm/boot/dts/imx6q-cm-fx6.dts b/arch/arm/boot/dts/imx6q-cm-fx6.dts
26new file mode 100644
27index 0000000..1080215
28--- /dev/null
29+++ b/arch/arm/boot/dts/imx6q-cm-fx6.dts
30@@ -0,0 +1,51 @@
31+/*
32+ * Copyright 2013 CompuLab Ltd.
33+ *
34+ * The code contained herein is licensed under the GNU General Public
35+ * License. You may obtain a copy of the GNU General Public License
36+ * Version 2 or later at the following locations:
37+ *
38+ * http://www.opensource.org/licenses/gpl-license.html
39+ * http://www.gnu.org/copyleft/gpl.html
40+ */
41+
42+/dts-v1/;
43+#include "imx6q.dtsi"
44+
45+/ {
46+ model = "CompuLab CM-FX6";
47+ compatible = "compulab,cm-fx6", "fsl,imx6q";
48+
49+ memory {
50+ reg = <0x10000000 0x80000000>;
51+ };
52+
53+ leds {
54+ compatible = "gpio-leds";
55+
56+ debug-led {
57+ label = "Heartbeat";
58+ gpios = <&gpio2 31 0>;
59+ linux,default-trigger = "heartbeat";
60+ };
61+ };
62+};
63+
64+&gpmi {
65+ pinctrl-names = "default";
66+ pinctrl-0 = <&pinctrl_gpmi_nand_1>;
67+ status = "okay";
68+};
69+
70+&fec {
71+ pinctrl-names = "default";
72+ pinctrl-0 = <&pinctrl_enet_1>;
73+ phy-mode = "rgmii";
74+ status = "okay";
75+};
76+
77+&uart4 {
78+ pinctrl-names = "default";
79+ pinctrl-0 = <&pinctrl_uart4_1>;
80+ status = "okay";
81+};
82diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
83--- a/arch/arm/boot/dts/Makefile
84+++ b/arch/arm/boot/dts/Makefile
85@@ -137,6 +137,7 @@
86 imx6dl-sabresd.dtb \
87 imx6dl-wandboard.dtb \
88 imx6q-arm2.dtb \
89+ imx6q-cm-fx6.dtb \
90 imx6q-phytec-pbab01.dtb \
91 imx6q-sabreauto.dtb \
92 imx6q-sabrelite.dtb \
93--
941.7.9.5
95