]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: k2hk: Enable Davinci SPI controller
authorVignesh R <vigneshr@ti.com>
Wed, 6 Jul 2016 04:28:59 +0000 (09:58 +0530)
committerJagan Teki <jteki@openedev.com>
Sat, 9 Jul 2016 14:46:31 +0000 (20:16 +0530)
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>
Reviewed-by: Jagan Teki <jteki@openedev.com>
arch/arm/dts/k2hk-evm.dts

index 660ebf58d547cf4f3f18396159fb7cd5ed7da550..c5cad2c9da80a6a826f2d55fadf2e2f382dc9596 100644 (file)
 };
 
 &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>;