]> Pileus Git - ~andy/linux/commitdiff
ARM: dts: add initial VF610 Cosmic/Cosmic+ board support
authorMatt Porter <matt.porter@linaro.org>
Mon, 23 Sep 2013 15:14:44 +0000 (11:14 -0400)
committerShawn Guo <shawn.guo@linaro.org>
Thu, 26 Sep 2013 05:01:38 +0000 (13:01 +0800)
Add initial PHYTEC VF610 Cosmic/Cosmic+ board support with
UART and FEC enabled.

Signed-off-by: Matt Porter <matt.porter@linaro.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/vf610-cosmic.dts [new file with mode: 0644]

index e95af3f5433bfc9a219818d928c511a964b9a247..c703da2581cff6a9088af2a120049534e4554ef8 100644 (file)
@@ -142,6 +142,7 @@ dtb-$(CONFIG_ARCH_MXC) += \
        imx6q-sbc6x.dtb \
        imx6q-wandboard.dtb \
        imx6sl-evk.dtb \
+       vf610-cosmic.dtb \
        vf610-twr.dtb
 dtb-$(CONFIG_ARCH_MXS) += imx23-evk.dtb \
        imx23-olinuxino.dtb \
diff --git a/arch/arm/boot/dts/vf610-cosmic.dts b/arch/arm/boot/dts/vf610-cosmic.dts
new file mode 100644 (file)
index 0000000..c42e4f9
--- /dev/null
@@ -0,0 +1,47 @@
+/*
+ * Copyright 2013 Freescale Semiconductor, Inc.
+ * Copyright 2013 Linaro Limited
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ */
+
+/dts-v1/;
+#include "vf610.dtsi"
+
+/ {
+       model = "PHYTEC Cosmic/Cosmic+ Board";
+       compatible = "phytec,vf610-cosmic", "fsl,vf610";
+
+       chosen {
+               bootargs = "console=ttyLP1,115200";
+       };
+
+       memory {
+               reg = <0x80000000 0x10000000>;
+       };
+
+       clocks {
+               enet_ext {
+                       compatible = "fixed-clock";
+                       #clock-cells = <0>;
+                       clock-frequency = <50000000>;
+               };
+       };
+
+};
+
+&fec1 {
+       phy-mode = "rmii";
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_fec1_1>;
+       status = "okay";
+};
+
+&uart1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_uart1_1>;
+       status = "okay";
+};