]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: imx27-phytec-phycore-som: Add WEIM node
authorAlexander Shiyan <shc_work@mail.ru>
Tue, 2 Jul 2013 16:02:26 +0000 (20:02 +0400)
committerShawn Guo <shawn.guo@linaro.org>
Thu, 22 Aug 2013 15:28:54 +0000 (23:28 +0800)
This patch adds WEIM node for Phytec PCM-038 module.
Migrate existing on-module NOR-flash as children of WEIM CS0.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx27-phytec-phycore-som.dts

index 76edf598b2df7785b735fc484ebf8a6697af9383..92765ee696147c50b0ecd50460a0c2aeb8cb7a6e 100644 (file)
                        };
                };
        };
-
-       nor_flash@c0000000 {
-               compatible = "cfi-flash";
-               bank-width = <2>;
-               reg = <0xc0000000 0x02000000>;
-               linux,mtd-name = "physmap-flash.0";
-               #address-cells = <1>;
-               #size-cells = <1>;
-       };
 };
 
 &cspi1 {
        nand-ecc-mode = "hw";
        status = "okay";
 };
+
+&weim {
+       status = "okay";
+
+       nor: nor@c0000000 {
+               compatible = "cfi-flash";
+               reg = <0 0x00000000 0x02000000>;
+               bank-width = <2>;
+               linux,mtd-name = "physmap-flash.0";
+               fsl,weim-cs-timing = <0x22c2cf00 0x75000d01 0x00000900>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+       };
+};