Path: blob/master/Documentation/devicetree/bindings/fpga/xlnx,fpga-selectmap.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/xlnx,fpga-selectmap.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Xilinx SelectMAP FPGA interface78maintainers:9- Charles Perry <charles.perry@savoirfairelinux.com>1011description: |12Xilinx 7 Series FPGAs support a method of loading the bitstream over a13parallel port named the SelectMAP interface in the documentation. Only14the x8 mode is supported where data is loaded at one byte per rising edge of15the clock, with the MSB of each byte presented to the D0 pin.1617Datasheets:18https://www.xilinx.com/support/documentation/user_guides/ug470_7Series_Config.pdf1920allOf:21- $ref: /schemas/memory-controllers/mc-peripheral-props.yaml#2223properties:24compatible:25enum:26- xlnx,fpga-xc7s-selectmap27- xlnx,fpga-xc7a-selectmap28- xlnx,fpga-xc7k-selectmap29- xlnx,fpga-xc7v-selectmap3031reg:32description:33At least 1 byte of memory mapped IO34maxItems: 13536prog-gpios:37description:38config pin (referred to as PROGRAM_B in the manual)39maxItems: 14041done-gpios:42description:43config status pin (referred to as DONE in the manual)44maxItems: 14546init-gpios:47description:48initialization status and configuration error pin49(referred to as INIT_B in the manual)50maxItems: 15152csi-gpios:53description:54chip select pin (referred to as CSI_B in the manual)55Optional gpio for if the bus controller does not provide a chip select.56maxItems: 15758rdwr-gpios:59description:60read/write select pin (referred to as RDWR_B in the manual)61Optional gpio for if the bus controller does not provide this pin.62maxItems: 16364required:65- compatible66- reg67- prog-gpios68- done-gpios69- init-gpios7071unevaluatedProperties: false7273examples:74- |75#include <dt-bindings/gpio/gpio.h>76fpga-mgr@8000000 {77compatible = "xlnx,fpga-xc7s-selectmap";78reg = <0x8000000 0x4>;79prog-gpios = <&gpio5 5 GPIO_ACTIVE_LOW>;80init-gpios = <&gpio5 8 GPIO_ACTIVE_LOW>;81done-gpios = <&gpio2 30 GPIO_ACTIVE_HIGH>;82csi-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;83rdwr-gpios = <&gpio3 10 GPIO_ACTIVE_LOW>;84};85...868788