From: Huang Shijie Date: Fri, 18 Oct 2013 02:32:53 +0000 (+0800) Subject: ARM: dts: imx6sl-evk: enable the SPI NOR X-Git-Tag: firefly_0821_release~176^2~5043^2~9^2~1 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d1b539758ab228bff379ff3049304b0eff15fea9;p=firefly-linux-kernel-4.4.55.git ARM: dts: imx6sl-evk: enable the SPI NOR enable the spi nor for imx6sl-evk boards. Signed-off-by: Huang Shijie Signed-off-by: Shawn Guo --- diff --git a/arch/arm/boot/dts/imx6sl-evk.dts b/arch/arm/boot/dts/imx6sl-evk.dts index c14195f6c5f9..cc68e19c5163 100644 --- a/arch/arm/boot/dts/imx6sl-evk.dts +++ b/arch/arm/boot/dts/imx6sl-evk.dts @@ -41,6 +41,22 @@ }; }; +&ecspi1 { + fsl,spi-num-chipselects = <1>; + cs-gpios = <&gpio4 11 0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ecspi1_1>; + 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_fec_1>;