Message ID | 1460460807-4461-7-git-send-email-vigneshr@ti.com |
---|---|
State | Accepted |
Commit | 2655f1625a97742e1de7db947811115e112d8fb5 |
Delegated to: | Jagannadha Sutradharudu Teki |
Headers | show |
On Tue, Apr 12, 2016 at 05:03:22PM +0530, Vignesh R wrote: > Now that davinci_spi driver has been converted to DM framework, enable > the same in DT. Also add "spi-flash" as compatible property to > n25q128a11 node as it is required for flash device to be probed in > U-Boot. > > Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
diff --git a/arch/arm/dts/k2e-evm.dts b/arch/arm/dts/k2e-evm.dts index 50c83c21d911..e2c3fb49102a 100644 --- a/arch/arm/dts/k2e-evm.dts +++ b/arch/arm/dts/k2e-evm.dts @@ -119,10 +119,11 @@ }; &spi0 { + status = "okay"; nor_flash: n25q128a11@0 { #address-cells = <1>; #size-cells = <1>; - compatible = "Micron,n25q128a11"; + compatible = "Micron,n25q128a11", "spi-flash"; spi-max-frequency = <54000000>; m25p,fast-read; reg = <0>;
Now that davinci_spi driver has been converted to DM framework, enable the same in DT. Also add "spi-flash" as compatible property to n25q128a11 node as it is required for flash device to be probed in U-Boot. Signed-off-by: Vignesh R <vigneshr@ti.com> --- arch/arm/dts/k2e-evm.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)