]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: mx25pdk: Add device tree support
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 3 Jan 2013 16:27:35 +0000 (14:27 -0200)
committerShawn Guo <shawn.guo@linaro.org>
Sun, 10 Feb 2013 15:25:42 +0000 (23:25 +0800)
Add basic device tree support for mx25pdk board.

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/Makefile
arch/arm/boot/dts/imx25-pdk.dts [new file with mode: 0644]

index 4c25c987c75e364e70261556dbf6715d2a37b05e..e935d7d4ac432fa0f20665d45758bb50500054b2 100644 (file)
@@ -5,6 +5,10 @@ i.MX23 Evaluation Kit
 Required root node properties:
     - compatible = "fsl,imx23-evk", "fsl,imx23";
 
+i.MX25 Product Development Kit
+Required root node properties:
+    - compatible = "fsl,imx25-pdk", "fsl,imx25";
+
 i.MX27 Product Development Kit
 Required root node properties:
     - compatible = "fsl,imx27-pdk", "fsl,imx27";
index f38304abcee8780b27a97ee688a2a0e5c0e7348c..7a414358b35ea9d7cb6dfeeec56e395da761352c 100644 (file)
@@ -81,6 +81,7 @@ dtb-$(CONFIG_ARCH_MVEBU) += armada-370-db.dtb \
        armada-xp-openblocks-ax3-4.dtb
 dtb-$(CONFIG_ARCH_MXC) += \
        imx25-karo-tx25.dtb \
+       imx25-pdk.dtb \
        imx27-apf27.dtb \
        imx27-pdk.dtb \
        imx31-bug.dtb \
diff --git a/arch/arm/boot/dts/imx25-pdk.dts b/arch/arm/boot/dts/imx25-pdk.dts
new file mode 100644 (file)
index 0000000..a02a860
--- /dev/null
@@ -0,0 +1,36 @@
+/*
+ * Copyright 2013 Freescale Semiconductor, Inc.
+ *
+ * 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/ "imx25.dtsi"
+
+/ {
+       model = "Freescale i.MX25 Product Development Kit";
+       compatible = "fsl,imx25-pdk", "fsl,imx25";
+
+       memory {
+               reg = <0x80000000 0x4000000>;
+       };
+};
+
+&uart1 {
+       status = "okay";
+};
+
+&fec {
+       phy-mode = "rmii";
+       status = "okay";
+};
+
+&nfc {
+       nand-on-flash-bbt;
+       status = "okay";
+};