Re: [PATCH] mtd/m25p80: add device tree probe support

Shawn Guo
2012-06-26T08:15:49Z

On Mon, Jun 25, 2012 at 06:50:10PM +0200, Marek Vasut wrote:
> 116 ssp2: ssp@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@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