diff options
author | Vignesh R <vigneshr@ti.com> | 2016-07-06 09:59:05 +0530 |
---|---|---|
committer | Jagan Teki <jteki@openedev.com> | 2016-07-09 20:16:32 +0530 |
commit | c8e750473a8b81f38e1ece0a2a99572d36ebda53 (patch) | |
tree | c9566318ef2fe2f541174dd6ec26543c1770b297 /arch/arm/dts/k2g-evm.dts | |
parent | c48f879c38afdfe746c2a39de6214d8c80a9ba4c (diff) |
ARM: dts: k2g: add support for Davinci SPI controller
K2G SoC has 4 SPI instances that are compatible with davinci_spi
controller(present on previous generation of Keystone2 devices). Add DT
nodes for the same. K2G EVM has a N25Q128A13 SPI NOR flash connected on
SPI-1. Add DT bindings for the same.
Signed-off-by: Vignesh R <vigneshr@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'arch/arm/dts/k2g-evm.dts')
-rw-r--r-- | arch/arm/dts/k2g-evm.dts | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/dts/k2g-evm.dts b/arch/arm/dts/k2g-evm.dts index 0ca36ef39a..38ca7ae1b6 100644 --- a/arch/arm/dts/k2g-evm.dts +++ b/arch/arm/dts/k2g-evm.dts @@ -31,3 +31,27 @@ &gbe0 { phy-handle = <ðphy0>; }; + +&spi1 { + status = "okay"; + + spi_nor: flash@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "spi-flash"; + spi-max-frequency = <50000000>; + m25p,fast-read; + reg = <0>; + + partition@0 { + label = "u-boot-spl"; + reg = <0x0 0x80000>; + read-only; + }; + + partition@1 { + label = "misc"; + reg = <0x80000 0xf80000>; + }; + }; +}; |