Path: blob/master/Documentation/devicetree/bindings/fpga/altr,fpga-passive-serial.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/fpga/altr,fpga-passive-serial.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Altera Passive Serial SPI FPGA Manager78maintainers:9- Fabio Estevam <festevam@denx.de>1011description: |12Altera FPGAs support a method of loading the bitstream over what is13referred to as "passive serial".14The passive serial link is not technically SPI, and might require extra15circuits in order to play nicely with other SPI slaves on the same bus.1617See https://www.altera.com/literature/hb/cyc/cyc_c51013.pdf1819allOf:20- $ref: /schemas/spi/spi-peripheral-props.yaml#2122properties:23compatible:24enum:25- altr,fpga-passive-serial26- altr,fpga-arria10-passive-serial2728spi-max-frequency:29maximum: 200000003031reg:32maxItems: 13334nconfig-gpios:35description:36Config pin (referred to as nCONFIG in the manual).37maxItems: 13839nstat-gpios:40description:41Status pin (referred to as nSTATUS in the manual).42maxItems: 14344confd-gpios:45description:46confd pin (referred to as CONF_DONE in the manual)47maxItems: 14849required:50- compatible51- reg52- nconfig-gpios53- nstat-gpios5455additionalProperties: false5657examples:58- |59#include <dt-bindings/gpio/gpio.h>6061spi {62#address-cells = <1>;63#size-cells = <0>;6465fpga@0 {66compatible = "altr,fpga-passive-serial";67reg = <0>;68nconfig-gpios = <&gpio4 18 GPIO_ACTIVE_LOW>;69nstat-gpios = <&gpio4 19 GPIO_ACTIVE_LOW>;70confd-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;71};72};73...747576