[PATCH] mtd/m25p80: add device tree probe support
Shawn Guo
shawn.guo at linaro.org
Tue Jun 26 04:15:49 EDT 2012
On Mon, Jun 25, 2012 at 06:50:10PM +0200, Marek Vasut wrote:
> 116 ssp2: ssp at 80014000 {
> 117 #address-cells = <1>;
> 118 #size-cells = <0>;
> 119 compatible = "fsl,imx28-spi";
> 120 pinctrl-names = "default";
> 121 pinctrl-0 = <&spi2_pins_a>;
> 122 status = "okay";
> 123
> 124 flash: m25p80 at 0 {
> 125 #address-cells = <1>;
> 126 #size-cells = <1>;
> 127 compatible = "m25p80";
> 128 spi-max-frequency = <25000000>;
> 129 reg = <0>;
> 130 };
> 131 };
>
> I use this + my SPI patches I submitted recently.
>
I do not have the flash on my imx28-evk board, but I just tested on
imx6q-sabrelite, and yes, it can be probed without the patch. I'm
fine then.
--
Regards,
Shawn
More information about the linux-mtd
mailing list