Browse Source

ARM: dts: imx6qdl-sabresd: enable the SPI NOR

enable the spi nor for imx6q{dl}-sabresd boards.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Huang Shijie 12 years ago
parent
commit
9110ede4e0
1 changed files with 16 additions and 0 deletions
  1. 16 0
      arch/arm/boot/dts/imx6qdl-sabresd.dtsi

+ 16 - 0
arch/arm/boot/dts/imx6qdl-sabresd.dtsi

@@ -77,6 +77,22 @@
 	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>;