Message ID | 1346084609-31407-1-git-send-email-fabio.estevam@freescale.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Dear Fabio Estevam, > mx28evk has a free slot (J89) which can be used to populate an SPI NOR > Flash. > > Add support for it. > > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> > --- > arch/arm/boot/dts/imx28-evk.dts | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/arch/arm/boot/dts/imx28-evk.dts > b/arch/arm/boot/dts/imx28-evk.dts index ab78ee5..8a9a2f4 100644 > --- a/arch/arm/boot/dts/imx28-evk.dts > +++ b/arch/arm/boot/dts/imx28-evk.dts > @@ -46,6 +46,23 @@ > wp-gpios = <&gpio0 28 0>; > }; > > + ssp2: ssp@80014000 { > + #address-cells = <1>; > + #size-cells = <0>; > + compatible = "fsl,imx28-spi"; > + pinctrl-names = "default"; > + pinctrl-0 = <&spi2_pins_a>; > + status = "okay"; > + > + flash: m25p80@0 { Shouldn't this also be sst25vf016b@0 ? > + #address-cells = <1>; > + #size-cells = <1>; > + compatible = "sst,sst25vf016b"; > + spi-max-frequency = <40000000>; > + reg = <0>; > + }; > + }; > + > pinctrl@80018000 { > pinctrl-names = "default"; > pinctrl-0 = <&hog_pins_a>; Best regards, Marek Vasut
On Mon, Aug 27, 2012 at 1:58 PM, Marek Vasut <marex@denx.de> wrote: >> + ssp2: ssp@80014000 { >> + #address-cells = <1>; >> + #size-cells = <0>; >> + compatible = "fsl,imx28-spi"; >> + pinctrl-names = "default"; >> + pinctrl-0 = <&spi2_pins_a>; >> + status = "okay"; >> + >> + flash: m25p80@0 { > > Shouldn't this also be sst25vf016b@0 ? The alias is still m25p80 in this case. Regards, Fabio Estevam
On Mon, Aug 27, 2012 at 01:23:27PM -0300, Fabio Estevam wrote: > mx28evk has a free slot (J89) which can be used to populate an SPI NOR Flash. > > Add support for it. > > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Applied all three patches, thanks.
diff --git a/arch/arm/boot/dts/imx28-evk.dts b/arch/arm/boot/dts/imx28-evk.dts index ab78ee5..8a9a2f4 100644 --- a/arch/arm/boot/dts/imx28-evk.dts +++ b/arch/arm/boot/dts/imx28-evk.dts @@ -46,6 +46,23 @@ wp-gpios = <&gpio0 28 0>; }; + ssp2: ssp@80014000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "fsl,imx28-spi"; + pinctrl-names = "default"; + pinctrl-0 = <&spi2_pins_a>; + status = "okay"; + + flash: m25p80@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "sst,sst25vf016b"; + spi-max-frequency = <40000000>; + reg = <0>; + }; + }; + pinctrl@80018000 { pinctrl-names = "default"; pinctrl-0 = <&hog_pins_a>;
mx28evk has a free slot (J89) which can be used to populate an SPI NOR Flash. Add support for it. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> --- arch/arm/boot/dts/imx28-evk.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)