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