ARM: dts: keystone-evm: add spi nor flash support
authorGrygorii Strashko <grygorii.strashko@ti.com>
Mon, 12 May 2014 15:43:59 +0000 (11:43 -0400)
committerSantosh Shilimkar <santosh.shilimkar@ti.com>
Mon, 12 May 2014 15:43:59 +0000 (11:43 -0400)
k2hk, k2e, k2l EVM board have the same Micron N25Q128A11
SPI NOR Flash installed on SPI0 bus.

The NOR Flash is splitted on two partistions:
partition@0
label = "u-boot-spl";
reg = <0x0 0x80000>;
partition@1
label = "misc";
reg = <0x80000 0xf80000>;

Hence, add SPI NOR Flash nodes to all k2hk, k2e, k2l EVM boards.

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
arch/arm/boot/dts/k2e-evm.dts
arch/arm/boot/dts/k2hk-evm.dts
arch/arm/boot/dts/k2l-evm.dts

index fb7afab7eed54da4442a2ef552eae9eefcb01104..c568f067604d91c72a432de366b80b922570e7ba 100644 (file)
                };
        };
 };
+
+&spi0 {
+       nor_flash: n25q128a11@0 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "Micron,n25q128a11";
+               spi-max-frequency = <54000000>;
+               m25p,fast-read;
+               reg = <0>;
+
+               partition@0 {
+                       label = "u-boot-spl";
+                       reg = <0x0 0x80000>;
+                       read-only;
+               };
+
+               partition@1 {
+                       label = "misc";
+                       reg = <0x80000 0xf80000>;
+               };
+       };
+};
index d2aa1024ce32b7134a27789b7a7af26f2138dbed..1f90cbf27fd7f73e9cff64ece88f1136b8071fbd 100644 (file)
                reg = <0x50>;
        };
 };
+
+&spi0 {
+       nor_flash: n25q128a11@0 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "Micron,n25q128a11";
+               spi-max-frequency = <54000000>;
+               m25p,fast-read;
+               reg = <0>;
+
+               partition@0 {
+                       label = "u-boot-spl";
+                       reg = <0x0 0x80000>;
+                       read-only;
+               };
+
+               partition@1 {
+                       label = "misc";
+                       reg = <0x80000 0xf80000>;
+               };
+       };
+};
index 8ff2d330c2c51cb3c9988cbaa12da8783e57197e..fec43128a2e0f946dabf80e18e287269571c4854 100644 (file)
                };
        };
 };
+
+&spi0 {
+       nor_flash: n25q128a11@0 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "Micron,n25q128a11";
+               spi-max-frequency = <54000000>;
+               m25p,fast-read;
+               reg = <0>;
+
+               partition@0 {
+                       label = "u-boot-spl";
+                       reg = <0x0 0x80000>;
+                       read-only;
+               };
+
+               partition@1 {
+                       label = "misc";
+                       reg = <0x80000 0xf80000>;
+               };
+       };
+};