diff options
author | Stefan Roese <sr@denx.de> | 2016-02-12 14:24:07 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2016-03-24 09:48:34 +0100 |
commit | aea02abec59e8ea8e78c7926162c2b0f6073f32c (patch) | |
tree | 7b8a7d01b37991b2b64bb246fc917fc4fbde7c6a /arch/arm/dts | |
parent | 84d6919118042cba56fe50ee57b1b6351e740cf4 (diff) | |
download | blackbird-obmc-uboot-aea02abec59e8ea8e78c7926162c2b0f6073f32c.tar.gz blackbird-obmc-uboot-aea02abec59e8ea8e78c7926162c2b0f6073f32c.zip |
arm: mvebu: theadorable: Add StratixV FPGA programming support
This patch adds support for Altera StratixV bitstream programming. 2 FPGAs
are connected to the SPI busses. This patch uses board specific write
code to program the bitstream via SPI direct write mode.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Luka Perkov <luka.perkov@sartura.hr>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/arm/dts')
-rw-r--r-- | arch/arm/dts/armada-xp-theadorable.dts | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/dts/armada-xp-theadorable.dts b/arch/arm/dts/armada-xp-theadorable.dts index cf1be2a3d4..7087ccfc2f 100644 --- a/arch/arm/dts/armada-xp-theadorable.dts +++ b/arch/arm/dts/armada-xp-theadorable.dts @@ -69,6 +69,7 @@ aliases { spi0 = &spi0; + spi1 = &spi1; ethernet0 = ð0; }; @@ -137,6 +138,26 @@ reg = <0>; /* Chip select 0 */ spi-max-frequency = <27777777>; }; + + fpga@1 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "spi-generic-device"; + reg = <1>; /* Chip select 1 */ + spi-max-frequency = <27777777>; + }; + }; + + spi1: spi@10680 { + status = "okay"; + + fpga@2 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "spi-generic-device"; + reg = <2>; /* Chip select 2 */ + spi-max-frequency = <27777777>; + }; }; }; }; |