ARM: dts: vf610-twr: Enable DSPI0 devices and Flash at26df081a
authorChao Fu <B44548@freescale.com>
Fri, 30 Aug 2013 03:19:49 +0000 (11:19 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Thu, 26 Sep 2013 05:01:33 +0000 (13:01 +0800)
This patch enables DSPI0 and at26df081a flash device for Vybrid VF610
TOWER board.

Signed-off-by: Chao Fu <b44548@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/vf610-twr.dts

index 1a58678..c8047ca 100644 (file)
 
 };
 
+&dspi0 {
+       bus-num = <0>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_dspi0_1>;
+       status = "okay";
+
+       sflash: at26df081a@0 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "atmel,at26df081a";
+               spi-max-frequency = <16000000>;
+               spi-cpol;
+               spi-cpha;
+               reg = <0>;
+       };
+};
+
 &fec0 {
        phy-mode = "rmii";
        pinctrl-names = "default";