[PATCH] ARM: SoCFPGA: add Terasic DE10-Nano board support
Sascha Hauer
sha at pengutronix.de
Mon May 31 01:47:03 PDT 2021
On Mon, May 31, 2021 at 10:17:30AM +0200, Ahmad Fatoum wrote:
> Hello,
>
> On 27.05.21 21:36, Gwenhael Goavec-Merou wrote:
> > From: Gwenhael Goavec-Merou <gwenhael.goavec-merou at trabucayre.com>
> >
> > The Terasic DE10-Nano board is based on CycloneV SoCFPGA (5CSEBA6) with
> >
> > What has been tested to work:
> > - SD card
> > - Gigabit network
> >
> > Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou at trabucayre.com>
> > ---
> > arch/arm/boards/Makefile | 1 +
> > arch/arm/boards/terasic-de10-nano/Makefile | 2 +
> > arch/arm/boards/terasic-de10-nano/board.c | 35 +
> > .../terasic-de10-nano/iocsr_config_cyclone5.c | 678 ++++++++++++++++++
> > arch/arm/boards/terasic-de10-nano/lowlevel.c | 13 +
> > .../boards/terasic-de10-nano/pinmux_config.c | 241 +++++++
> > .../arm/boards/terasic-de10-nano/pll_config.h | 107 +++
> > .../boards/terasic-de10-nano/sdram_config.h | 112 +++
> > .../boards/terasic-de10-nano/sequencer_auto.h | 225 ++++++
> > .../sequencer_auto_ac_init.c | 67 ++
> > .../sequencer_auto_inst_init.c | 158 ++++
> > .../terasic-de10-nano/sequencer_defines.h | 165 +++++
> > arch/arm/configs/socfpga-xload-2_defconfig | 1 +
> > arch/arm/configs/socfpga_defconfig | 1 +
> > arch/arm/dts/Makefile | 1 +
> > arch/arm/dts/socfpga_cyclone5_de10_nano.dts | 34 +
> > arch/arm/mach-socfpga/Kconfig | 4 +
> > dts/src/arm/socfpga_cyclone5_de10_nano.dts | 117 +++
>
> Please place this file in arch/arm/dts. dts/ is synchronized
> with the upstream device tree repository from Linux.
>
> If you want to keep the device trees separate, you can make
> this one into a dtsi, which can then be dropped from arch/arm/dts
> as soon as the device tree is upstreamed and appears in barebox dts/
Indeed. I was about to merge dts/src/arm/socfpga_cyclone5_de10_nano.dts
into arch/arm/dts/socfpga_cyclone5_de10_nano.dts, but I stopped when I
realized that they are licensed differently. Please resend once again.
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list