diff options
author | Tom Rini <trini@konsulko.com> | 2015-07-14 14:13:23 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-07-14 14:13:23 -0400 |
commit | 4905dfc65d9a17083727865302d2cf633c15c911 (patch) | |
tree | 1f75e2faf8005151705219226916a571467208ca /arch/arm/dts | |
parent | f4815763b410d8657f6f617067a1d53024b05220 (diff) | |
parent | 8097cba809d8c40d8fe72f792c7dc0644c845a32 (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-spi
Diffstat (limited to 'arch/arm/dts')
-rw-r--r-- | arch/arm/dts/socfpga.dtsi | 1 | ||||
-rw-r--r-- | arch/arm/dts/stv0991.dts | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm/dts/socfpga.dtsi b/arch/arm/dts/socfpga.dtsi index bf791c5dde..9b1242025d 100644 --- a/arch/arm/dts/socfpga.dtsi +++ b/arch/arm/dts/socfpga.dtsi @@ -639,6 +639,7 @@ ext-decoder = <0>; /* external decoder */ num-cs = <4>; fifo-depth = <128>; + sram-size = <128>; bus-num = <2>; status = "disabled"; }; diff --git a/arch/arm/dts/stv0991.dts b/arch/arm/dts/stv0991.dts index b25c48bcec..fa3fd641b2 100644 --- a/arch/arm/dts/stv0991.dts +++ b/arch/arm/dts/stv0991.dts @@ -20,4 +20,34 @@ reg = <0x80406000 0x1000>; clock = <2700000>; }; + + aliases { + spi0 = "/spi@80203000"; /* QSPI */ + }; + + qspi: spi@80203000 { + compatible = "cadence,qspi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x80203000 0x100>, + <0x40000000 0x1000000>; + clocks = <3750000>; + sram-size = <256>; + status = "okay"; + + flash0: n25q32@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "spi-flash"; + reg = <0>; /* chip select */ + spi-max-frequency = <50000000>; + m25p,fast-read; + page-size = <256>; + block-size = <16>; /* 2^16, 64KB */ + tshsl-ns = <50>; + tsd2d-ns = <50>; + tchsh-ns = <4>; + tslch-ns = <4>; + }; + }; }; |