/openbmc/linux/arch/arm64/boot/dts/xilinx/ |
H A D | zynqmp.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * dts file for Xilinx ZynqMP 5 * (C) Copyright 2014 - 2021, Xilinx, Inc. 15 #include <dt-bindings/dma/xlnx-zynqmp-dpdma.h> 16 #include <dt-bindings/gpio/gpio.h> 17 #include <dt-bindings/interrupt-controller/arm-gic.h> 18 #include <dt-bindings/interrupt-controller/irq.h> 19 #include <dt-bindings/power/xlnx-zynqmp-power.h> 20 #include <dt-bindings/reset/xlnx-zynqmp-resets.h> 23 compatible = "xlnx,zynqmp"; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/dma/xilinx/ |
H A D | xlnx,zynqmp-dpdma.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/dma/xilinx/xlnx,zynqmp-dpdma.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Xilinx ZynqMP DisplayPort DMA Controller 10 These bindings describe the DMA engine included in the Xilinx ZynqMP 11 DisplayPort Subsystem. The DMA engine supports up to 6 DMA channels (3 12 channels for a video stream, 1 channel for a graphics stream, and 2 channels 16 - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 19 - $ref: ../dma-controller.yaml# [all …]
|
H A D | xlnx,zynqmp-dma-1.0.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/dma/xilinx/xlnx,zynqmp-dma-1.0.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Xilinx ZynqMP DMA Engine 10 The Xilinx ZynqMP DMA engine supports memory to memory transfers, 12 control and rate control support for slave/peripheral dma access. 15 - Michael Tretter <m.tretter@pengutronix.de> 16 - Harini Katakam <harini.katakam@amd.com> 17 - Radhey Shyam Pandey <radhey.shyam.pandey@amd.com> [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | zynqmp.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * dts file for Xilinx ZynqMP 5 * (C) Copyright 2014 - 2015, Xilinx, Inc. 16 compatible = "xlnx,zynqmp"; 17 #address-cells = <2>; 18 #size-cells = <2>; 21 #address-cells = <1>; 22 #size-cells = <0>; 25 compatible = "arm,cortex-a53", "arm,armv8"; 27 enable-method = "psci"; [all …]
|
/openbmc/linux/drivers/dma/xilinx/ |
H A D | zynqmp_dma.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * DMA driver for Xilinx ZynqMP DMA Engine 9 #include <linux/dma-mapping.h> 19 #include <linux/io-64-nonatomic-lo-hi.h> 68 /* Control 1 register bit field definitions */ 141 #define ZYNQMP_DMA_DESC_SIZE(chan) (chan->desc_size) 149 * struct zynqmp_dma_desc_ll - Hw linked list descriptor 165 * struct zynqmp_dma_desc_sw - Per Transaction structure 166 * @src: Source address for simple mode dma 167 * @dst: Destination address for simple mode dma [all …]
|
H A D | xilinx_dpdma.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Xilinx ZynqMP DPDMA Engine driver 5 * Copyright (C) 2015 - 2020 Xilinx, Inc. 15 #include <linux/dma/xilinx_dpdma.h> 28 #include <dt-bindings/dma/xlnx-zynqmp-dpdma.h> 31 #include "../virt-dma.h" 63 #define XILINX_DPDMA_EINTR_RD_AXI_ERR(n) BIT((n) + 1) 64 #define XILINX_DPDMA_EINTR_RD_AXI_ERR_MASK GENMASK(6, 1) 107 #define XILINX_DPDMA_CH_CNTL_PAUSE BIT(1) 142 * struct xilinx_dpdma_hw_desc - DPDMA hardware descriptor [all …]
|
/openbmc/qemu/include/hw/arm/ |
H A D | xlnx-zynqmp.h | 24 #include "hw/net/xlnx-zynqmp-can.h" 25 #include "hw/ide/ahci-sysbus.h" 28 #include "hw/dma/xlnx_dpdma.h" 29 #include "hw/dma/xlnx-zdma.h" 31 #include "hw/intc/xlnx-zynqmp-ipi.h" 32 #include "hw/rtc/xlnx-zynqmp-rtc.h" 37 #include "hw/dma/xlnx_csu_dma.h" 38 #include "hw/nvram/xlnx-bbram.h" 39 #include "hw/nvram/xlnx-zynqmp-efuse.h" 40 #include "hw/or-irq.h" [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | dwc3-xilinx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/dwc3-xilinx.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Piyush Mehta <piyush.mehta@amd.com> 15 - enum: 16 - xlnx,zynqmp-dwc3 17 - xlnx,versal-dwc3 19 maxItems: 1 21 "#address-cells": [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/display/xlnx/ |
H A D | xlnx,zynqmp-dpsub.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/xlnx/xlnx,zynqmp-dpsub.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Xilinx ZynqMP DisplayPort Subsystem 10 The DisplayPort subsystem of Xilinx ZynqMP (Zynq UltraScale+ MPSoC) 14 +------------------------------------------------------------+ 15 +--------+ | +----------------+ +-----------+ | 16 | DPDMA | --->| | --> | Video | Video +-------------+ | 17 | 4x vid | | | | | Rendering | -+--> | | | +------+ [all …]
|
/openbmc/linux/drivers/crypto/xilinx/ |
H A D | zynqmp-sha.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Xilinx ZynqMP SHA Driver. 12 #include <linux/dma-mapping.h> 13 #include <linux/firmware/xlnx-zynqmp.h> 24 ZYNQMP_SHA3_INIT = 1, 55 tfm_ctx->dev = drv_ctx->dev; in zynqmp_sha_init_tfm() 63 tfm_ctx->fbk_tfm = fallback_tfm; in zynqmp_sha_init_tfm() 64 hash->descsize += crypto_shash_descsize(tfm_ctx->fbk_tfm); in zynqmp_sha_init_tfm() 73 if (tfm_ctx->fbk_tfm) { in zynqmp_sha_exit_tfm() 74 crypto_free_shash(tfm_ctx->fbk_tfm); in zynqmp_sha_exit_tfm() [all …]
|
H A D | zynqmp-aes-gcm.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Xilinx ZynqMP AES Driver. 12 #include <linux/dma-mapping.h> 14 #include <linux/firmware/xlnx-zynqmp.h> 25 #define ZYNQMP_KEY_SRC_SEL_KEY_LEN 1U 26 #define ZYNQMP_AES_BLK_SIZE 1U 82 struct device *dev = tfm_ctx->dev; in zynqmp_aes_aead_cipher() 92 if (tfm_ctx->keysrc == ZYNQMP_AES_KUP_KEY) in zynqmp_aes_aead_cipher() 93 dma_size = req->cryptlen + ZYNQMP_AES_KEY_SIZE in zynqmp_aes_aead_cipher() 96 dma_size = req->cryptlen + GCM_AES_IV_SIZE; in zynqmp_aes_aead_cipher() [all …]
|
/openbmc/linux/drivers/dma/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # DMA engine configuration 7 bool "DMA Engine support" 10 DMA engines can do asynchronous data transfers without 14 DMA Device drivers supported by the configured arch, it may 18 bool "DMA Engine debugging" 22 say N here. This enables DMA engine core and driver debugging. 25 bool "DMA Engine verbose debugging" 30 the DMA engine core and drivers. 35 comment "DMA Devices" [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/ata/ |
H A D | ceva,ahci-1v84.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/ata/ceva,ahci-1v84.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Piyush Mehta <piyush.mehta@amd.com> 14 special extensions to add functionality, is a high-performance dual-port 21 const: ceva,ahci-1v84 24 maxItems: 1 27 maxItems: 1 29 dma-coherent: true [all …]
|
/openbmc/u-boot/drivers/net/ |
H A D | Kconfig | 11 This is currently implemented in net/eth-uclass.c 43 bool "Altera Triple-Speed Ethernet MAC support" 47 This driver supports the Altera Triple-Speed (TSE) Ethernet MAC. 48 Please find details on the "Triple-Speed Ethernet MegaCore Function 56 to MAC and DMA management for multiple Broadcom SoCs such as 78 select DMA 88 select DMA 134 U-Boot. 152 in U-Boot to the RAW AF_PACKET API in Linux. This allows real 162 100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-zynqmp-gqspi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Xilinx Zynq UltraScale+ MPSoC Quad-SPI (QSPI) controller driver 6 * Copyright (C) 2009 - 2015 Xilinx, Inc. 11 #include <linux/dma-mapping.h> 13 #include <linux/firmware/xlnx-zynqmp.h> 23 #include <linux/spi/spi-mem.h> 120 #define GQSPI_TX_FIFO_FILL (GQSPI_TXD_DEPTH -\ 136 #define GQSPI_DEFAULT_NUM_CS 1 /* Default number of chip selects */ 149 /* set to differentiate versal from zynqmp, 1=versal, 0=zynqmp */ 161 * struct qspi_platform_data - zynqmp qspi platform data structure [all …]
|
/openbmc/linux/drivers/gpu/drm/xlnx/ |
H A D | zynqmp_dpsub.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ZynqMP DisplayPort Subsystem Driver 5 * Copyright (C) 2017 - 2020 Xilinx, Inc. 8 * - Hyun Woo Kwon <hyun.kwon@xilinx.com> 9 * - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 13 #include <linux/dma-mapping.h> 31 /* ----------------------------------------------------------------------------- 39 if (!dpsub->drm) in zynqmp_dpsub_suspend() 42 return drm_mode_config_helper_suspend(&dpsub->drm->dev); in zynqmp_dpsub_suspend() 49 if (!dpsub->drm) in zynqmp_dpsub_resume() [all …]
|
H A D | zynqmp_disp.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ZynqMP Display Controller Driver 5 * Copyright (C) 2017 - 2020 Xilinx, Inc. 8 * - Hyun Woo Kwon <hyun.kwon@xilinx.com> 9 * - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 18 #include <linux/dma/xilinx_dpdma.h> 19 #include <linux/dma-mapping.h> 33 * -------- 35 * The display controller part of ZynqMP DP subsystem, made of the Audio/Video 38 * +------------------------------------------------------------+ [all …]
|
H A D | zynqmp_kms.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ZynqMP DisplayPort Subsystem - KMS API 5 * Copyright (C) 2017 - 2021 Xilinx, Inc. 8 * - Hyun Woo Kwon <hyun.kwon@xilinx.com> 9 * - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 47 return container_of(drm, struct zynqmp_dpsub_drm, dev)->dpsub; in to_zynqmp_dpsub() 50 /* ----------------------------------------------------------------------------- 61 if (!new_plane_state->crtc) in zynqmp_dpsub_plane_atomic_check() 64 crtc_state = drm_atomic_get_crtc_state(state, new_plane_state->crtc); in zynqmp_dpsub_plane_atomic_check() 80 struct zynqmp_dpsub *dpsub = to_zynqmp_dpsub(plane->dev); in zynqmp_dpsub_plane_atomic_disable() [all …]
|
/openbmc/linux/drivers/usb/dwc3/ |
H A D | dwc3-xilinx.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * dwc3-xilinx.c - Xilinx DWC3 controller specific glue driver 15 #include <linux/dma-mapping.h> 22 #include <linux/firmware/xlnx-zynqmp.h> 39 #define PIPE_CLK_DESELECT 1 62 reg = readl(priv_data->regs + XLNX_USB_PHY_RST_EN); in dwc3_xlnx_mask_phy_rst() 69 writel(reg, priv_data->regs + XLNX_USB_PHY_RST_EN); in dwc3_xlnx_mask_phy_rst() 74 struct device *dev = priv_data->dev; in dwc3_xlnx_init_versal() 79 /* Assert and De-assert reset */ in dwc3_xlnx_init_versal() 90 dev_err_probe(dev, ret, "failed to De-assert Reset\n"); in dwc3_xlnx_init_versal() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/pci/ |
H A D | xlnx,nwl-pcie.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/xlnx,nwl-pcie.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thippeswamy Havalige <thippeswamy.havalige@amd.com> 13 - $ref: /schemas/pci/pci-bus.yaml# 14 - $ref: /schemas/interrupt-controller/msi-controller.yaml# 18 const: xlnx,nwl-pcie-2.11 22 - description: PCIe bridge registers location. 23 - description: PCIe Controller registers location. [all …]
|
/openbmc/linux/drivers/remoteproc/ |
H A D | xlnx_r5_remoteproc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ZynqMP R5 Remote Processor driver 7 #include <dt-bindings/power/xlnx-zynqmp-power.h> 8 #include <linux/dma-mapping.h> 9 #include <linux/firmware/xlnx-zynqmp.h> 12 #include <linux/mailbox/zynqmp-ipi-message.h> 30 * reflects possible values of xlnx,cluster-mode dt-property 34 LOCKSTEP_MODE = 1, /* cores execute same code in lockstep,clk-for-clk */ 39 * struct mem_bank_data - Memory Bank description 43 * @pm_domain_id: Power-domains id of memory bank for firmware to turn on/off [all …]
|
/openbmc/qemu/hw/arm/ |
H A D | xlnx-zynqmp.c | 21 #include "hw/arm/xlnx-zynqmp.h" 28 #include "target/arm/cpu-qom.h" 174 .region_index = 1, 180 .region_index = 1, 218 int num_rpus = MIN((int)(ms->smp.cpus - XLNX_ZYNQMP_NUM_APU_CPUS), in xlnx_zynqmp_create_rpu() 222 /* Don't create rpu-cluster object if there's nothing to put in it */ in xlnx_zynqmp_create_rpu() 226 object_initialize_child(OBJECT(s), "rpu-cluster", &s->rpu_cluster, in xlnx_zynqmp_create_rpu() 228 qdev_prop_set_uint32(DEVICE(&s->rpu_cluster), "cluster-id", 1); in xlnx_zynqmp_create_rpu() 233 object_initialize_child(OBJECT(&s->rpu_cluster), "rpu-cpu[*]", in xlnx_zynqmp_create_rpu() 234 &s->rpu_cpu[i], in xlnx_zynqmp_create_rpu() [all …]
|
H A D | xlnx-versal-virt.c | 13 #include "qemu/error-report.h" 20 #include "hw/qdev-properties.h" 21 #include "hw/arm/xlnx-versal.h" 26 #define TYPE_XLNX_VERSAL_VIRT_MACHINE MACHINE_TYPE_NAME("xlnx-versal-virt") 61 s->fdt = create_device_tree(&s->fdt_size); in fdt_create() 62 if (!s->fdt) { in fdt_create() 64 exit(1); in fdt_create() 68 s->phandle.gic = qemu_fdt_alloc_phandle(s->fdt); in fdt_create() 69 for (i = 0; i < ARRAY_SIZE(s->phandle.ethernet_phy); i++) { in fdt_create() 70 s->phandle.ethernet_phy[i] = qemu_fdt_alloc_phandle(s->fdt); in fdt_create() [all …]
|
/openbmc/linux/drivers/edac/ |
H A D | Kconfig | 16 EDAC is a subsystem along with hardware-specific drivers designed to 17 report hardware errors. These are low-level errors that are reported 22 The mailing list for the EDAC project is linux-edac@vger.kernel.org. 40 levels are 0-4 (from low to high) and by default it is set to 2. 44 tristate "Decode MCEs in human-readable form (only on AMD for now)" 49 occurring on your machine in human-readable form. 60 Not all machines support hardware-driven error report. Some of those 61 provide a BIOS-driven error report mechanism via ACPI, using the 65 When this option is enabled, it will disable the hardware-driven 69 It should be noticed that keeping both GHES and a hardware-driven [all …]
|
/openbmc/u-boot/drivers/spi/ |
H A D | zynqmp_gqspi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Xilinx ZynqMP Generic Quad-SPI(QSPI) controller driver(master mode only) 25 #define GQSPI_CONFIG_CPOL_MASK BIT(1) 68 #define GQSPI_DMA_DST_I_STS_DONE BIT(1) 73 #define GQSPI_FIFO_THRESHOLD 1 76 #define SPI_XFER_ON_LOWER 1 171 unsigned int cs_change:1; 176 struct zynqmp_qspi_platdata *plat = bus->platdata; in zynqmp_qspi_ofdata_to_platdata() 180 plat->regs = (struct zynqmp_qspi_regs *)(devfdt_get_addr(bus) + in zynqmp_qspi_ofdata_to_platdata() 182 plat->dma_regs = (struct zynqmp_qspi_dma_regs *) in zynqmp_qspi_ofdata_to_platdata() [all …]
|