Skip to content

Commit

Permalink
ARM: dts: keystone-evm: add spi nor flash support
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
grygoriyS authored and Santosh Shilimkar committed May 12, 2014
1 parent 29a61d8 commit 18131ae
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 0 deletions.
22 changes: 22 additions & 0 deletions arch/arm/boot/dts/k2e-evm.dts
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,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>;
};
};
};
22 changes: 22 additions & 0 deletions arch/arm/boot/dts/k2hk-evm.dts
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,25 @@
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>;
};
};
};
22 changes: 22 additions & 0 deletions arch/arm/boot/dts/k2l-evm.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
};
};
};

0 comments on commit 18131ae

Please sign in to comment.