]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: dts: imx27-phytec-phycore-som: Add initial support for PCM970 RDK
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 1 Jun 2013 05:54:13 +0000 (09:54 +0400)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 17 Jun 2013 08:04:25 +0000 (16:04 +0800)
Patch adds initial dts for Phytec PCM970 Rapid development kit.
- Added definition for UART0 and UART1.
- Added additional SPI chipselect which used on RDK for ZegBee module.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/imx27-phytec-phycore-rdk.dts [new file with mode: 0644]

index 511e25dee0a132607ccd2afddc72ecf092f36023..4ed1b1106967b84b1b279030d051af35e1edca99 100644 (file)
@@ -104,6 +104,7 @@ dtb-$(CONFIG_ARCH_MXC) += \
        imx27-apf27dev.dtb \
        imx27-pdk.dtb \
        imx27-phytec-phycore-som.dtb \
+       imx27-phytec-phycore-rdk.dtb \
        imx31-bug.dtb \
        imx51-apf51.dtb \
        imx51-apf51dev.dtb \
diff --git a/arch/arm/boot/dts/imx27-phytec-phycore-rdk.dts b/arch/arm/boot/dts/imx27-phytec-phycore-rdk.dts
new file mode 100644 (file)
index 0000000..f8a7a49
--- /dev/null
@@ -0,0 +1,29 @@
+/*
+ * 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
+ */
+
+#include "imx27-phytec-phycore-som.dts"
+
+/ {
+       model = "Phytec pcm970";
+       compatible = "phytec,imx27-pcm970", "phytec,imx27-pcm038", "fsl,imx27";
+};
+
+&cspi1 {
+       fsl,spi-num-chipselects = <2>;
+       cs-gpios = <&gpio4 28 0>, <&gpio4 27 0>;
+};
+
+&uart1 {
+       fsl,uart-has-rtscts;
+};
+
+&uart2 {
+       fsl,uart-has-rtscts;
+       status = "okay";
+};