]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: dts: imx6qdl-sabreauto: enable the WEIM NOR
authorHuang Shijie <b32955@freescale.com>
Tue, 28 May 2013 06:20:12 +0000 (14:20 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 17 Jun 2013 08:04:30 +0000 (16:04 +0800)
Enable the WEIM NOR for imx6q{dl}-sabreauto boards.

For the pin conflict with SPI NOR, its status is set to "disabled".

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx6qdl-sabreauto.dtsi

index a4466e6ebe33a1caa6c58681c6ce5fc4ff926d40..e994011220e779bf237be1a254bcd7ef9524cb25 100644 (file)
        wp-gpios = <&gpio1 13 0>;
        status = "okay";
 };
+
+&weim {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_weim_nor_1 &pinctrl_weim_cs0_1>;
+       #address-cells = <2>;
+       #size-cells = <1>;
+       ranges = <0 0 0x08000000 0x08000000>;
+       status = "disabled"; /* pin conflict with SPI NOR */
+
+       nor@0,0 {
+               compatible = "cfi-flash";
+               reg = <0 0 0x02000000>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               bank-width = <2>;
+               fsl,weim-cs-timing = <0x00620081 0x00000001 0x1c022000
+                               0x0000c000 0x1404a38e 0x00000000>;
+       };
+};