summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/firmware/altr,passive-serial.txt
blob: d357dd39cf67f0decb2de08a319e6ab9bac309aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Altera FPGAs in passive serial mode
-----------------------------------

This binding defines the control interface to Altera FPGAs in
passive serial mode. This is used to upload the firmware and
to start the FPGA.

Required properties:
- compatible: shall be "altr,fpga-passive-serial"
- reg: SPI chip select
- nstat-gpios: Specify GPIO for controlling the nstat pin
- confd-gpios: Specify GPIO for controlling the confd pin
- nconfig-gpios: Specify GPIO for controlling the nconfig pin

Example:

	fpga@0 {
		compatible = "altr,fpga-passive-serial";
		nstat-gpios = <&gpio4 18 0>;
		confd-gpios = <&gpio4 19 0>;
		nconfig-gpios = <&gpio4 20 0>;
		spi-max-frequency = <10000000>;
		reg = <0>;
	};