summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/k2l-evm.dts
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2014-05-12 17:43:59 +0200
committerSantosh Shilimkar <santosh.shilimkar@ti.com>2014-05-12 17:43:59 +0200
commit18131ae615cf20b06860a1b668e0625db714af2e (patch)
tree5b549cde9acb5bcf502737ba21bcfecc9500b3d5 /arch/arm/boot/dts/k2l-evm.dts
parentARM: dts: k2l-evm: add AEMIF/NAND device entry (diff)
downloadlinux-18131ae615cf20b06860a1b668e0625db714af2e.tar.xz
linux-18131ae615cf20b06860a1b668e0625db714af2e.zip
ARM: dts: keystone-evm: add spi nor flash support
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>
Diffstat (limited to 'arch/arm/boot/dts/k2l-evm.dts')
-rw-r--r--arch/arm/boot/dts/k2l-evm.dts22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/k2l-evm.dts b/arch/arm/boot/dts/k2l-evm.dts
index 8ff2d330c2c5..fec43128a2e0 100644
--- a/arch/arm/boot/dts/k2l-evm.dts
+++ b/arch/arm/boot/dts/k2l-evm.dts
@@ -94,3 +94,25 @@
};
};
};
+
+&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>;
+ };
+ };
+};