[PATCH v3 2/4] Firmware: provide a handler to program Altera FPGAs

Sascha Hauer s.hauer at pengutronix.de
Sun Sep 7 23:08:07 PDT 2014


On Mon, Sep 08, 2014 at 08:03:48AM +0200, Sascha Hauer wrote:
> On Thu, Sep 04, 2014 at 03:47:15PM +0200, Steffen Trumtrar wrote:
> > +/*
> > + * Physical requirements:
> > + * - three free GPIOs for the signals nCONFIG, CONFIGURE_DONE, nSTATUS
> > + * - 32 bit per word, LSB first capable SPI master (MOSI + clock)
> > + *
> > + * Example how to configure this driver via device tree
> > + *
> > + *	fpga at 0 {
> > + *		compatible = "altr,fpga-passive-serial";
> > + *		nstat-gpio = <&gpio4 18 0>;
> > + *		confd-gpio = <&gpio4 19 0>;
> > + *		nconfig-gpio = <&gpio4 20 0>;
> > + *		spi-max-frequency = <10000000>;
> > + *		reg = <0>;
> > + *	};
> 
> We have Documentation/devicetree/bindings/. Please add a document there.

Oh, you did in 3/4.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list