ARM: dts: imx6sl-evk: enable the SPI NOR
authorHuang Shijie <b32955@freescale.com>
Fri, 18 Oct 2013 02:32:53 +0000 (10:32 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Fri, 18 Oct 2013 08:27:45 +0000 (16:27 +0800)
enable the spi nor for imx6sl-evk boards.

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

index c14195f..cc68e19 100644 (file)
        };
 };
 
+&ecspi1 {
+       fsl,spi-num-chipselects = <1>;
+       cs-gpios = <&gpio4 11 0>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_ecspi1_1>;
+       status = "okay";
+
+       flash: m25p80@0 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "st,m25p32";
+               spi-max-frequency = <20000000>;
+               reg = <0>;
+       };
+};
+
 &fec {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_fec_1>;