From: Huang Shijie Date: Fri, 21 Jun 2013 02:19:11 +0000 (+0800) Subject: ARM: dts: imx6qdl-sabresd: enable the SPI NOR X-Git-Tag: firefly_0821_release~176^2~5403^2~5^2~89 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9110ede4e0240ba54633cde1c1eaf7da3523df78;p=firefly-linux-kernel-4.4.55.git ARM: dts: imx6qdl-sabresd: enable the SPI NOR enable the spi nor for imx6q{dl}-sabresd boards. Signed-off-by: Huang Shijie --- diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi index 6e5dfdb32416..4dec80c4f991 100644 --- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi +++ b/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>;