]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: imx6qdl-sabresd: enable the SPI NOR
authorHuang Shijie <b32955@freescale.com>
Fri, 21 Jun 2013 02:19:11 +0000 (10:19 +0800)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:54:13 +0000 (09:54 +0800)
enable the spi nor for imx6q{dl}-sabresd boards.

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

index 61b8959ece7289f17758653ab48df50c4a85bd8b..267ebe69e84bde3eb70370e596163ac7a12abdd9 100644 (file)
        status = "okay";
 };
 
+&ecspi1 {
+       fsl,spi-num-chipselects = <1>;
+       cs-gpios = <&gpio4 9 0>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_ecspi1_2>;
+       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_enet_1>;