ac67590
Add initial support for cm-fx6 module.
ac67590
ac67590
cm-fx6 is a module based on mx6q SoC with the following features:
ac67590
- Up to 4GB of DDR3
ac67590
- 1 LCD/DVI output port
ac67590
- 1 HDMI output port
ac67590
- 2 LVDS LCD ports
ac67590
- Gigabit Ethernet
ac67590
- Analog Audio
ac67590
- CAN
ac67590
- SATA
ac67590
- NAND
ac67590
- PCIE
ac67590
ac67590
This patch allows to boot up the module, configures the serial console,
ac67590
the Ethernet adapter and the hearbeat led.
ac67590
ac67590
Signed-off-by: Valentin Raevsky <valentin@xxxxxxxxxxxxxx>
ac67590
Acked-by: Igor Grinberg <grinberg@xxxxxxxxxxxxxx>
ac67590
---
c780fb3
 arch/arm/boot/dts/imx6q-cm-fx6.dts |   51 ++++++++++++++++++++++++++++++++++++++++++
ac67590
 1 file changed, 51 insertions(+)
c780fb3
 create mode 100644 arch/arm/boot/dts/imx6q-cm-fx6.dts
ac67590
c780fb3
diff --git a/arch/arm/boot/dts/imx6q-cm-fx6.dts b/arch/arm/boot/dts/imx6q-cm-fx6.dts
ac67590
new file mode 100644
ac67590
index 0000000..1080215
ac67590
--- /dev/null
c780fb3
+++ b/arch/arm/boot/dts/imx6q-cm-fx6.dts
ac67590
@@ -0,0 +1,51 @@
ac67590
+/*
ac67590
+ * Copyright 2013 CompuLab Ltd.
ac67590
+ *
ac67590
+ * The code contained herein is licensed under the GNU General Public
ac67590
+ * License. You may obtain a copy of the GNU General Public License
ac67590
+ * Version 2 or later at the following locations:
ac67590
+ *
ac67590
+ * http://www.opensource.org/licenses/gpl-license.html
ac67590
+ * http://www.gnu.org/copyleft/gpl.html
ac67590
+ */
ac67590
+
ac67590
+/dts-v1/;
ac67590
+#include "imx6q.dtsi"
ac67590
+
ac67590
+/ {
ac67590
+	model = "CompuLab CM-FX6";
ac67590
+	compatible = "compulab,cm-fx6", "fsl,imx6q";
ac67590
+
ac67590
+	memory {
ac67590
+		reg = <0x10000000 0x80000000>;
ac67590
+	};
ac67590
+
ac67590
+	leds {
ac67590
+		compatible = "gpio-leds";
ac67590
+
ac67590
+		debug-led {
ac67590
+			label = "Heartbeat";
ac67590
+			gpios = <&gpio2 31 0>;
ac67590
+			linux,default-trigger = "heartbeat";
ac67590
+		};
ac67590
+	};
ac67590
+};
ac67590
+
ac67590
+&gpmi {
ac67590
+	pinctrl-names = "default";
ac67590
+	pinctrl-0 = <&pinctrl_gpmi_nand_1>;
ac67590
+	status = "okay";
ac67590
+};
ac67590
+
ac67590
+&fec {
ac67590
+	pinctrl-names = "default";
ac67590
+	pinctrl-0 = <&pinctrl_enet_1>;
ac67590
+	phy-mode = "rgmii";
ac67590
+	status = "okay";
ac67590
+};
ac67590
+
ac67590
+&uart4 {
ac67590
+	pinctrl-names = "default";
ac67590
+	pinctrl-0 = <&pinctrl_uart4_1>;
ac67590
+	status = "okay";
ac67590
+};
c780fb3
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
c780fb3
--- a/arch/arm/boot/dts/Makefile
c780fb3
+++ b/arch/arm/boot/dts/Makefile
c780fb3
@@ -137,6 +137,7 @@
c780fb3
 	imx6dl-sabresd.dtb \
c780fb3
 	imx6dl-wandboard.dtb \
c780fb3
 	imx6q-arm2.dtb \
c780fb3
+	imx6q-cm-fx6.dtb \
c780fb3
 	imx6q-phytec-pbab01.dtb \
c780fb3
 	imx6q-sabreauto.dtb \
c780fb3
 	imx6q-sabrelite.dtb \
ac67590
-- 
ac67590
1.7.9.5
ac67590