ARM: dts: Add basic support for imx6q-sabresd
authorFabio Estevam <festevam@gmail.com>
Sat, 21 Apr 2012 17:07:08 +0000 (14:07 -0300)
committerShawn Guo <shawn.guo@linaro.org>
Fri, 11 May 2012 07:17:52 +0000 (15:17 +0800)
Add basic support for imx6q-sabresd.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Documentation/devicetree/bindings/arm/fsl.txt
arch/arm/boot/dts/imx6q-sabresd.dts [new file with mode: 0644]
arch/arm/mach-imx/Makefile.boot
arch/arm/mach-imx/mach-imx6q.c

index bfbc771a65f8937124089c238fe6ac0dcaa96142..2e86e4db6b2ba5f6827cc5284d9d9b2a312a37a8 100644 (file)
@@ -29,6 +29,10 @@ i.MX6 Quad SABRE Lite Board
 Required root node properties:
     - compatible = "fsl,imx6q-sabrelite", "fsl,imx6q";
 
+i.MX6 Quad SABRE Smart Device Board
+Required root node properties:
+    - compatible = "fsl,imx6q-sabresd", "fsl,imx6q";
+
 Generic i.MX boards
 -------------------
 
diff --git a/arch/arm/boot/dts/imx6q-sabresd.dts b/arch/arm/boot/dts/imx6q-sabresd.dts
new file mode 100644 (file)
index 0000000..07509a1
--- /dev/null
@@ -0,0 +1,53 @@
+/*
+ * Copyright 2012 Freescale Semiconductor, Inc.
+ * Copyright 2011 Linaro Ltd.
+ *
+ * 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.dtsi"
+
+/ {
+       model = "Freescale i.MX6Q SABRE Smart Device Board";
+       compatible = "fsl,imx6q-sabresd", "fsl,imx6q";
+
+       memory {
+               reg = <0x10000000 0x40000000>;
+       };
+
+       soc {
+
+               aips-bus@02000000 { /* AIPS1 */
+                       spba-bus@02000000 {
+                               uart1: serial@02020000 {
+                                       status = "okay";
+                               };
+                       };
+               };
+
+               aips-bus@02100000 { /* AIPS2 */
+                       ethernet@02188000 {
+                               phy-mode = "rgmii";
+                               status = "okay";
+                       };
+
+                       usdhc@02194000 { /* uSDHC2 */
+                               cd-gpios = <&gpio2 2 0>;
+                               wp-gpios = <&gpio2 3 0>;
+                               status = "okay";
+                       };
+
+                       usdhc@02198000 { /* uSDHC3 */
+                               cd-gpios = <&gpio2 0 0>;
+                               wp-gpios = <&gpio2 1 0>;
+                               status = "okay";
+                       };
+               };
+       };
+};
index 3851d8a27875996ac55946bda8d93d11af9f54c2..05541cf4a87873968064bab7ba90a2cb875bc7dc 100644 (file)
@@ -42,4 +42,5 @@ dtb-$(CONFIG_MACH_IMX51_DT) += imx51-babbage.dtb
 dtb-$(CONFIG_MACH_IMX53_DT) += imx53-ard.dtb imx53-evk.dtb \
                               imx53-qsb.dtb imx53-smd.dtb
 dtb-$(CONFIG_SOC_IMX6Q)        += imx6q-arm2.dtb \
-                          imx6q-sabrelite.dtb
+                          imx6q-sabrelite.dtb \
+                          imx6q-sabresd.dtb \
index da6c1d9af7686868a8a7308310b59fd1dff5db00..512c18da6b9c0dbd7ff9f9b36ad503185e992f19 100644 (file)
@@ -132,6 +132,7 @@ static struct sys_timer imx6q_timer = {
 static const char *imx6q_dt_compat[] __initdata = {
        "fsl,imx6q-arm2",
        "fsl,imx6q-sabrelite",
+       "fsl,imx6q-sabresd",
        "fsl,imx6q",
        NULL,
 };