/linux/Documentation/devicetree/bindings/fpga/ |
H A D | fpga-region.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/fpga/fpga-region.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: FPGA Region 10 - Michal Simek <michal.simek@amd.com> 14 - Introduction 15 - Terminology 16 - Sequence 17 - FPGA Region [all …]
|
H A D | xlnx,fpga-slave-serial.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/fpga/xlnx,fpga-slave-serial.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Xilinx Slave Serial SPI FPGA 10 - Nava kishore Manne <nava.kishore.manne@amd.com> 13 Xilinx Spartan-6 and 7 Series FPGAs support a method of loading the bitstream 21 https://www.xilinx.com/support/documentation/application_notes/xapp583-fpga-configuration.pdf 24 - $ref: /schemas/spi/spi-peripheral-props.yaml# 29 - xlnx,fpga-slave-serial [all …]
|
H A D | microchip,mpf-spi-fpga-mgr.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/fpga/microchip,mpf-spi-fpga-mgr.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Microchip Polarfire FPGA manager. 10 - Vladimir Georgiev <v.georgiev@metrotek.ru> 13 Device Tree Bindings for Microchip Polarfire FPGA Manager using slave SPI to 19 - microchip,mpf-spi-fpga-mgr 23 maxItems: 1 26 - compatible [all …]
|
H A D | lattice,sysconfig.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/fpga/lattice,sysconfig.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Lattice Slave SPI sysCONFIG FPGA manager 10 - Vladimir Georgiev <v.georgiev@metrotek.ru> 13 Lattice sysCONFIG port, which is used for FPGA configuration, among others, 18 format into FPGA's SRAM configuration memory. 23 - lattice,sysconfig-ecp5 26 maxItems: 1 [all …]
|
/linux/Documentation/devicetree/bindings/board/ |
H A D | fsl,fpga-qixis.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/board/fsl,fpga-qixis.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Freescale on-board FPGA/CPLD 10 - Frank Li <Frank.Li@nxp.com> 15 - items: 16 - const: fsl,p1022ds-fpga 17 - const: fsl,fpga-ngpixis 18 - items: [all …]
|
H A D | fsl,fpga-qixis-i2c.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/board/fsl,fpga-qixis-i2c.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Freescale on-board FPGA connected on I2C bus 10 - Frank Li <Frank.Li@nxp.com> 15 - items: 16 - enum: 17 - fsl,bsc9132qds-fpga 18 - const: fsl,fpga-qixis-i2c [all …]
|
/linux/drivers/hwmon/ |
H A D | intel-m10-bmc-hwmon.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2018-2020 Intel Corporation. All rights reserved. 10 #include <linux/mfd/intel-m10-bmc.h> 40 { 0x110, 0x114, 0x118, 0x0, 0x0, 500, "FPGA Die Temperature" }, 50 { 0x128, 0x0, 0x0, 0x0, 0x0, 1, "QSFP0 Supply Voltage" }, 51 { 0x138, 0x0, 0x0, 0x0, 0x0, 1, "QSFP1 Supply Voltage" }, 52 { 0x13c, 0x0, 0x0, 0x0, 0x0, 1, "FPGA Core Voltage" }, 53 { 0x144, 0x0, 0x0, 0x0, 0x0, 1, "12V Backplane Voltage" }, 54 { 0x14c, 0x0, 0x0, 0x0, 0x0, 1, "1.2V Voltage" }, 55 { 0x150, 0x0, 0x0, 0x0, 0x0, 1, "12V AUX Voltage" }, [all …]
|
/linux/drivers/watchdog/ |
H A D | pika_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * PIKA FPGA based Watchdog Timer 29 #define DRV_NAME "PIKA-WDT" 50 void __iomem *fpga; member 71 /* -- FPGA: Reset Control Register (32bit R/W) (Offset: 0x14) -- in pikawdt_reset() 72 * Bit 7, WTCHDG_EN: When set to 1, the watchdog timer is enabled. in pikawdt_reset() 76 * Bit 8-11, WTCHDG_TIMEOUT_SEC: Sets the watchdog timeout value in in pikawdt_reset() 77 * seconds. Valid ranges are 1 to 15 seconds. The value can in pikawdt_reset() 80 unsigned reset = in_be32(pikawdt_private.fpga + 0x14); in pikawdt_reset() 81 /* enable with max timeout - 15 seconds */ in pikawdt_reset() [all …]
|
/linux/arch/powerpc/boot/dts/fsl/ |
H A D | gef_ppc9a.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 * Compiled with dtc -I dts -O dtb -o gef_ppc9a.dtb gef_ppc9a.dts 17 /include/ "mpc8641si-pre.dtsi" 32 1 0 0xe8000000 0x08000000 // Paged Flash 0 33 2 0 0xe0000000 0x08000000 // Paged Flash 1 35 4 0 0xfc000000 0x00008000 // FPGA 36 5 0 0xfc008000 0x00008000 // AFIX FPGA 37 6 0 0xfd000000 0x00800000 // IO FPGA (8-bit) 38 7 0 0xfd800000 0x00800000>; // IO FPGA (32-bit) 40 /* flash@0,0 is a mirror of part of the memory in flash@1,0 [all …]
|
H A D | gef_sbc310.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 * Compiled with dtc -I dts -O dtb -o gef_sbc310.dtb gef_sbc310.dts 17 /include/ "mpc8641si-pre.dtsi" 32 1 0 0xe0000000 0x08000000 // Paged Flash 0 33 2 0 0xe8000000 0x08000000 // Paged Flash 1 35 4 0 0xfc000000 0x00010000>; // FPGA 37 /* flash@0,0 is a mirror of part of the memory in flash@1,0 39 compatible = "gef,sbc310-firmware-mirror", "cfi-flash"; 41 bank-width = <2>; 42 device-width = <2>; [all …]
|
H A D | ge_imp3a.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2010-2011 GE Intelligent Platforms Embedded Systems, Inc. 11 /include/ "p2020si-pre.dtsi" 33 /* nor@0,0 is a mirror of part of the memory in nor@1,0 35 #address-cells = <1>; 36 #size-cells = <1>; 37 compatible = "ge,imp3a-firmware-mirror", "cfi-flash"; 39 bank-width = <2>; 40 device-width = <1>; 45 read-only; [all …]
|
H A D | gef_sbc610.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 * Compiled with dtc -I dts -O dtb -o gef_sbc610.dtb gef_sbc610.dts 17 /include/ "mpc8641si-pre.dtsi" 32 1 0 0xe8000000 0x08000000 // Paged Flash 0 33 2 0 0xe0000000 0x08000000 // Paged Flash 1 35 4 0 0xfc000000 0x00008000 // FPGA 36 5 0 0xfc008000 0x00008000 // AFIX FPGA 37 6 0 0xfd000000 0x00800000 // IO FPGA (8-bit) 38 7 0 0xfd800000 0x00800000>; // IO FPGA (32-bit) 40 /* flash@0,0 is a mirror of part of the memory in flash@1,0 [all …]
|
/linux/Documentation/fpga/ |
H A D | dfl.rst | 2 FPGA Device Feature List (DFL) Framework Overview 7 - Enno Luebbers <enno.luebbers@intel.com> 8 - Xiao Guangrong <guangrong.xiao@linux.intel.com> 9 - Wu Hao <hao.wu@intel.com> 10 - Xu Yilun <yilun.xu@intel.com> 12 The Device Feature List (DFL) FPGA framework (and drivers according to 15 configure, enumerate, open and access FPGA accelerators on platforms which 17 enables system level management functions such as FPGA reconfiguration. 24 walk through these predefined data structures to enumerate FPGA features: 25 FPGA Interface Unit (FIU), Accelerated Function Unit (AFU) and Private Features, [all …]
|
/linux/Documentation/devicetree/bindings/bus/ |
H A D | ts-nbus.txt | 4 Systems FPGA on the TS-4600 SoM. 7 - compatible : "technologic,ts-nbus" 8 - #address-cells : must be 1 9 - #size-cells : must be 0 10 - pwms : The PWM bound to the FPGA 11 - ts,data-gpios : The 8 GPIO pins connected to the data lines on the FPGA 12 - ts,csn-gpios : The GPIO pin connected to the csn line on the FPGA 13 - ts,txrx-gpios : The GPIO pin connected to the txrx line on the FPGA 14 - ts,strobe-gpios : The GPIO pin connected to the stobe line on the FPGA 15 - ts,ale-gpios : The GPIO pin connected to the ale line on the FPGA [all …]
|
/linux/drivers/fpga/tests/ |
H A D | fpga-region-test.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * KUnit test for the FPGA Region 12 #include <linux/fpga/fpga-bridge.h> 13 #include <linux/fpga/fpga-mgr.h> 14 #include <linux/fpga/fpga-region.h> 53 struct mgr_stats *stats = mgr->priv; in op_write() 55 stats->write_count++; in op_write() 61 * Fake FPGA manager that implements only the write op to count the number 72 struct bridge_stats *stats = bridge->priv; in op_enable_set() 74 if (!stats->enable && enable) in op_enable_set() [all …]
|
/linux/drivers/misc/ |
H A D | lattice-ecp3-config.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 #define FIRMWARE_NAME "lattice-ecp3.bit" 19 * The JTAG ID's of the supported FPGA's. The ID is 32bit wide 25 /* FPGA commands */ 41 #define FPGA_CLEAR_TIMEOUT 5000 /* max. 5000ms for FPGA clear */ 57 .name = "Lattice ECP3-17", 61 .name = "Lattice ECP3-35", 78 dev_err(&spi->dev, "Cannot load firmware, aborting\n"); in firmware_load() 82 if (fw->size == 0) { in firmware_load() 83 dev_err(&spi->dev, "Error: Firmware size is 0!\n"); in firmware_load() [all …]
|
/linux/Documentation/devicetree/bindings/firmware/xilinx/ |
H A D | xlnx,zynqmp-firmware.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/firmware/xilinx/xlnx,zynqmp-firmware.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Nava kishore Manne <nava.kishore.manne@amd.com> 12 description: The zynqmp-firmware node describes the interface to platform 17 power management service, FPGA service and other platform management 23 - description: For implementations complying for Zynq Ultrascale+ MPSoC. 24 const: xlnx,zynqmp-firmware 26 - description: For implementations complying for Versal. [all …]
|
/linux/arch/powerpc/platforms/44x/ |
H A D | warp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2008-2009 PIKA Technologies 58 void __iomem *fpga; in warp_post_info() local 62 np = of_find_compatible_node(NULL, NULL, "pika,fpga-sd"); in warp_post_info() 64 return -ENOENT; in warp_post_info() 66 fpga = of_iomap(np, 0); in warp_post_info() 68 if (fpga == NULL) in warp_post_info() 69 return -ENOENT; in warp_post_info() 71 post1 = in_be32(fpga + 0x40); in warp_post_info() 72 post2 = in_be32(fpga + 0x44); in warp_post_info() [all …]
|
/linux/drivers/fpga/ |
H A D | socfpga.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * FPGA Manager Driver for Altera SOCFPGA 5 * Copyright (C) 2013-2015 Altera Corporation 9 #include <linux/fpga/fpga-mgr.h> 96 /* In power-up order. Reverse for power-down. */ 98 "FPGA-1.5V", 99 "FPGA-1.1V", 100 "FPGA-2.5V", 120 [MSEL_PP16_FAST_NOAES_NODC] = { CFGWDTH_16 | CDRATIO_X1, 1 }, 121 [MSEL_PP16_FAST_AES_NODC] = { CFGWDTH_16 | CDRATIO_X2, 1 }, [all …]
|
H A D | ts73xx-fpga.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Technologic Systems TS-73xx SBC FPGA loader 7 * FPGA Manager Driver for the on-board Altera Cyclone II FPGA found on 8 * TS-7300, heavily based on load_fpga.c in their vendor tree. 17 #include <linux/fpga/fpga-mgr.h> 20 #define TS73XX_FPGA_CONFIG_REG 1 39 struct ts73xx_fpga_priv *priv = mgr->priv; in ts73xx_fpga_write_init() 41 /* Reset the FPGA */ in ts73xx_fpga_write_init() 42 writeb(0, priv->io_base + TS73XX_FPGA_CONFIG_REG); in ts73xx_fpga_write_init() 44 writeb(TS73XX_FPGA_RESET, priv->io_base + TS73XX_FPGA_CONFIG_REG); in ts73xx_fpga_write_init() [all …]
|
/linux/Documentation/devicetree/bindings/interrupt-controller/ |
H A D | arm,versatile-fpga-irq.txt | 1 * ARM Versatile FPGA interrupt controller 3 One or more FPGA IRQ controllers can be synthesized in an ARM reference board 9 - compatible: "arm,versatile-fpga-irq" 10 - interrupt-controller: Identifies the node as an interrupt controller 11 - #interrupt-cells: The number of cells to define the interrupts. Must be 1 12 as the FPGA IRQ controller has no configuration options for interrupt 14 - reg: The register bank for the FPGA interrupt controller. 15 - clear-mask: a u32 number representing the mask written to clear all IRQs 17 - valid-mask: a u32 number representing a bit mask determining which of 22 The "oxsemi,ox810se-rps-irq" compatible is deprecated. [all …]
|
/linux/arch/sh/boards/mach-sdk7786/ |
H A D | sram.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * SDK7786 FPGA SRAM Support. 14 #include <mach/fpga.h> 26 /* Enable FPGA SRAM */ in fpga_sram_init() 36 pr_err("FPGA memory unmapped.\n"); in fpga_sram_init() 37 return -ENXIO; in fpga_sram_init() 44 phys = (area << 26) + SZ_64M - SZ_4K; in fpga_sram_init() 47 * The FPGA SRAM resides in translatable physical space, so set in fpga_sram_init() 52 pr_err("Failed remapping FPGA memory.\n"); in fpga_sram_init() 53 return -ENXIO; in fpga_sram_init() [all …]
|
/linux/Documentation/driver-api/ |
H A D | xillybus.rst | 2 Xillybus driver for generic FPGA interface 10 - Introduction 11 -- Background 12 -- Xillybus Overview 14 - Usage 15 -- User interface 16 -- Synchronization 17 -- Seekable pipes 19 - Internals 20 -- Source code organization [all …]
|
/linux/include/uapi/linux/ |
H A D | fpga-dfl.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * Header File for FPGA DFL User API 5 * Copyright (C) 2017-2018 Intel Corporation, Inc. 23 * The IOCTL interface for DFL based FPGA is designed for extensibility by 38 * DFL_FPGA_GET_API_VERSION - _IO(DFL_FPGA_MAGIC, DFL_FPGA_BASE + 0) 47 * DFL_FPGA_CHECK_EXTENSION - _IO(DFL_FPGA_MAGIC, DFL_FPGA_BASE + 1) 53 #define DFL_FPGA_CHECK_EXTENSION _IO(DFL_FPGA_MAGIC, DFL_FPGA_BASE + 1) 58 * DFL_FPGA_PORT_RESET - _IO(DFL_FPGA_MAGIC, DFL_PORT_BASE + 0) 60 * Reset the FPGA Port and its AFU. No parameters are supported. 64 * Return: 0 on success, -errno of failure [all …]
|
/linux/arch/powerpc/boot/ |
H A D | ebony.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * Copyright 2002-2005 MontaVista Software Inc. 30 #define EBONY_FPGA_PATH "/plb/opb/ebc/fpga" 32 #define EBONY_SMALL_FLASH_PATH "/plb/opb/ebc/small-flash" 38 u8 *fpga; in ebony_flashsel_fixup() local 43 fatal("Couldn't locate FPGA node %s\n\r", EBONY_FPGA_PATH); in ebony_flashsel_fixup() 45 if (getprop(devp, "virtual-reg", &fpga, sizeof(fpga)) != sizeof(fpga)) in ebony_flashsel_fixup() 46 fatal("%s has missing or invalid virtual-reg property\n\r", in ebony_flashsel_fixup() 49 fpga_reg0 = in_8(fpga); in ebony_flashsel_fixup() 60 /* Invert address bit 14 (IBM-endian) if FLASH_SEL fpga bit is set */ in ebony_flashsel_fixup() [all …]
|