]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: dts: add SPI/NOR for mx6q{dl}-sabreauto boards
authorHuang Shijie <b32955@freescale.com>
Thu, 9 May 2013 03:29:03 +0000 (11:29 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 17 Jun 2013 08:04:20 +0000 (16:04 +0800)
Since the SPI/NOR has pin conflict with the WEIM NOR,
we disable the spi/nor by default.

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 7b561fbbfb03cb99ed1bef636c6e29fdb5ce4ecd..d6baa51dc83c7f2e187de1babba5f5e411914f73 100644 (file)
        };
 };
 
+&ecspi1 {
+       fsl,spi-num-chipselects = <1>;
+       cs-gpios = <&gpio3 19 0>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_ecspi1_1>;
+       status = "disabled"; /* pin conflict with WEIM NOR */
+
+       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_2>;