/openbmc/u-boot/drivers/pci/ |
H A D | pci_tegra.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Based on NVIDIA PCIe driver 7 * Copyright (c) 2008-2009, NVIDIA Corporation. 9 * Copyright (c) 2013-2014, NVIDIA Corporation. 12 #define pr_fmt(fmt) "tegra-pcie: " fmt 21 #include <power-domain.h> 33 #include <asm/arch-tegra/xusb-padctl.h> 34 #include <dt-bindings/pinctrl/pinctrl-tegra-xusb.h> 41 * a custom Tegra-specific API. ASAP the older Tegra SoCs' code should be 113 #define AFI_PCIE_CONFIG_SM2TMS0_XBAR_CONFIG_DUAL (0x1 << 20) [all …]
|
H A D | pcie_dw_mvebu.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * - drivers/pci/pcie_imx.c 9 * - drivers/pci/pci_mvebu.c 10 * - drivers/pci/pcie_xilinx.c 17 #include <asm-generic/gpio.h> 36 #define PCIE_ATU_REGION_INBOUND (0x1 << 31) 38 #define PCIE_ATU_REGION_INDEX1 (0x1 << 0) 46 #define PCIE_ATU_ENABLE (0x1 << 31) 47 #define PCIE_ATU_BAR_MODE_ENABLE (0x1 << 30) 60 #define LINK_SPEED_GEN_1 0x1 [all …]
|
H A D | pcie_imx.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Freescale i.MX6 PCI Express Root-Complex driver 8 * pci-imx6.c: Sean Cross <xobs@kosagi.com> 9 * pcie-designware.c: Jingoo Han <jg1.han@samsung.com> 42 /* PCIe Port Logic registers (memory-mapped) */ 63 /* PHY registers (not memory-mapped) */ 74 #define PCIE_ATU_REGION_INBOUND (0x1 << 31) 76 #define PCIE_ATU_REGION_INDEX1 (0x1 << 0) 84 #define PCIE_ATU_ENABLE (0x1 << 31) 85 #define PCIE_ATU_BAR_MODE_ENABLE (0x1 << 30) [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | armada-385.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 * Gregory CLEMENT <gregory.clement@free-electrons.com> 9 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 12 #include "armada-38x.dtsi" 19 #address-cells = <1>; 20 #size-cells = <0>; 21 enable-method = "marvell,armada-380-smp"; 25 compatible = "arm,cortex-a9"; 30 compatible = "arm,cortex-a9"; 36 pciec: pcie { [all …]
|
H A D | armada-380.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 * Gregory CLEMENT <gregory.clement@free-electrons.com> 9 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 12 #include "armada-38x.dtsi" 19 #address-cells = <1>; 20 #size-cells = <0>; 21 enable-method = "marvell,armada-380-smp"; 25 compatible = "arm,cortex-a9"; 31 internal-regs { 33 compatible = "marvell,mv88f6810-pinctrl"; [all …]
|
H A D | kirkwood-98dx4122.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 pciec: pcie@82000000 { 5 compatible = "marvell,kirkwood-pcie"; 9 #address-cells = <3>; 10 #size-cells = <2>; 12 bus-range = <0x00 0xff>; 16 0x82000000 0x1 0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 0.0 MEM */ 17 0x81000000 0x1 0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 0.0 IO */>; 19 pcie0: pcie@1,0 { 21 assigned-addresses = <0x82000800 0 0x00040000 0 0x2000>; [all …]
|
H A D | armada-xp-mv78230.dtsi | 6 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 8 * This file is dual-licensed: you can use it either under the terms 50 #include "armada-xp.dtsi" 54 compatible = "marvell,armadaxp-mv78230", "marvell,armadaxp", "marvell,armada-370-xp"; 62 #address-cells = <1>; 63 #size-cells = <0>; 64 enable-method = "marvell,armada-xp-smp"; 68 compatible = "marvell,sheeva-v7"; 71 clock-latency = <1000000>; 76 compatible = "marvell,sheeva-v7"; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/pci/ |
H A D | host-generic-pci.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/host-generic-pci.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Will Deacon <will@kernel.org> 13 Firmware-initialised PCI host controllers and PCI emulations, such as the 14 virtio-pci implementations found in kvmtool and other para-virtualised 21 Configuration Space is assumed to be memory-mapped (as opposed to being 26 For CAM, this 24-bit offset is: 41 - description: [all …]
|
H A D | cdns,cdns-pcie-host.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/pci/cdns,cdns-pcie-host.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Cadence PCIe host controller 10 - Tom Joseph <tjoseph@cadence.com> 13 - $ref: /schemas/pci/pci-bus.yaml# 14 - $ref: cdns-pcie-host.yaml# 18 const: cdns,cdns-pcie-host 23 reg-names: [all …]
|
H A D | xgene-pci.txt | 1 * AppliedMicro X-Gene PCIe interface 4 - device_type: set to "pci" 5 - compatible: should contain "apm,xgene-pcie" to identify the core. 6 - reg: A list of physical base address and length for each set of controller 7 registers. Must contain an entry for each entry in the reg-names 9 - reg-names: Must include the following entries: 11 "cfg": PCIe configuration space registers. 12 - #address-cells: set to <3> 13 - #size-cells: set to <2> 14 - ranges: ranges for the outbound memory, I/O regions. [all …]
|
H A D | xgene-pci-msi.txt | 1 * AppliedMicro X-Gene v1 PCIe MSI controller 5 - compatible: should be "apm,xgene1-msi" to identify 6 X-Gene v1 PCIe MSI controller block. 7 - msi-controller: indicates that this is an X-Gene v1 PCIe MSI controller node 8 - reg: physical base address (0x79000000) and length (0x900000) for controller 11 - reg-names: not required 12 - interrupts: A list of 16 interrupt outputs of the controller, starting from 14 - interrupt-names: not required 16 Each PCIe node needs to have property msi-parent that points to an MSI 25 compatible = "apm,xgene1-msi"; [all …]
|
/openbmc/linux/arch/arm/boot/dts/marvell/ |
H A D | armada-385.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 * Gregory CLEMENT <gregory.clement@free-electrons.com> 9 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 12 #include "armada-38x.dtsi" 19 #address-cells = <1>; 20 #size-cells = <0>; 21 enable-method = "marvell,armada-380-smp"; 25 compatible = "arm,cortex-a9"; 30 compatible = "arm,cortex-a9"; 36 pciec: pcie { [all …]
|
H A D | armada-380.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 * Gregory CLEMENT <gregory.clement@free-electrons.com> 9 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 12 #include "armada-38x.dtsi" 19 #address-cells = <1>; 20 #size-cells = <0>; 21 enable-method = "marvell,armada-380-smp"; 25 compatible = "arm,cortex-a9"; 31 internal-regs { 33 compatible = "marvell,mv88f6810-pinctrl"; [all …]
|
H A D | kirkwood-98dx4122.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 pciec: pcie@82000000 { 5 compatible = "marvell,kirkwood-pcie"; 9 #address-cells = <3>; 10 #size-cells = <2>; 12 bus-range = <0x00 0xff>; 16 0x82000000 0x1 0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 0.0 MEM */ 17 0x81000000 0x1 0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 0.0 IO */>; 19 pcie0: pcie@1,0 { 21 assigned-addresses = <0x82000800 0 0x00040000 0 0x2000>; [all …]
|
H A D | armada-xp-mv78230.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 13 #include "armada-xp.dtsi" 17 compatible = "marvell,armadaxp-mv78230", "marvell,armadaxp", "marvell,armada-370-xp"; 25 #address-cells = <1>; 26 #size-cells = <0>; 27 enable-method = "marvell,armada-xp-smp"; 31 compatible = "marvell,sheeva-v7"; 34 clock-latency = <1000000>; 39 compatible = "marvell,sheeva-v7"; [all …]
|
/openbmc/linux/arch/powerpc/boot/dts/fsl/ |
H A D | mpc8544ds.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 /include/ "mpc8544si-pre.dtsi" 16 reg = <0 0 0 0>; // Filled by U-Boot 33 clock-frequency = <66666666>; 34 interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 35 interrupt-map = < 38 0x8800 0x0 0x0 0x1 &mpic 0x2 0x1 0 0 39 0x8800 0x0 0x0 0x2 &mpic 0x3 0x1 0 0 40 0x8800 0x0 0x0 0x3 &mpic 0x4 0x1 0 0 41 0x8800 0x0 0x0 0x4 &mpic 0x1 0x1 0 0 [all …]
|
H A D | mpc8572si-post.dtsi | 36 #address-cells = <2>; 37 #size-cells = <1>; 38 compatible = "fsl,mpc8572-elbc", "fsl,elbc", "simple-bus"; 44 compatible = "fsl,mpc8548-pcie"; 46 #size-cells = <2>; 47 #address-cells = <3>; 48 bus-range = <0 255>; 49 clock-frequency = <33333333>; 52 pcie@0 { 54 #interrupt-cells = <1>; [all …]
|
H A D | mpc8544si-post.dtsi | 36 #address-cells = <2>; 37 #size-cells = <1>; 38 compatible = "fsl,mpc8544-lbc", "fsl,pq3-localbus", "simple-bus"; 44 compatible = "fsl,mpc8540-pci"; 47 bus-range = <0 0xff>; 48 #interrupt-cells = <1>; 49 #size-cells = <2>; 50 #address-cells = <3>; 55 compatible = "fsl,mpc8548-pcie"; 57 #size-cells = <2>; [all …]
|
H A D | p2020si-post.dtsi | 36 #address-cells = <2>; 37 #size-cells = <1>; 38 compatible = "fsl,p2020-elbc", "fsl,elbc", "simple-bus"; 44 compatible = "fsl,mpc8548-pcie"; 46 #size-cells = <2>; 47 #address-cells = <3>; 48 bus-range = <0 255>; 49 clock-frequency = <33333333>; 53 pcie@0 { 55 #interrupt-cells = <1>; [all …]
|
/openbmc/linux/drivers/pci/controller/ |
H A D | pcie-rcar-host.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * PCIe driver for Renesas R-Car SoCs 4 * Copyright (C) 2014-2020 Renesas Electronics Europe Ltd 7 * arch/sh/drivers/pci/pcie-sh7786.c 8 * arch/sh/drivers/pci/ops-sh7786.c 9 * Copyright (C) 2009 - 2011 Paul Mundt 16 #include <linux/clk-provider.h> 33 #include "pcie-rcar.h" 44 /* Structure representing the PCIe interface */ 46 struct rcar_pcie pcie; member [all …]
|
H A D | pci-tegra.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * PCIe host controller driver for Tegra SoCs 8 * Based on NVIDIA PCIe driver 9 * Copyright (c) 2008-2009, NVIDIA Corporation. 11 * Bits taken from arch/arm/mach-dove/pcie.c 145 #define AFI_PCIE_CONFIG_SM2TMS0_XBAR_CONFIG_DUAL (0x1 << 20) 146 #define AFI_PCIE_CONFIG_SM2TMS0_XBAR_CONFIG_222 (0x1 << 20) 147 #define AFI_PCIE_CONFIG_SM2TMS0_XBAR_CONFIG_X4_X1 (0x1 << 20) 148 #define AFI_PCIE_CONFIG_SM2TMS0_XBAR_CONFIG_211 (0x1 << 20) 246 #define PADS_PLL_CTL_TXCLKREF_MASK (0x1 << 20) [all …]
|
/openbmc/linux/arch/arm64/boot/dts/broadcom/stingray/ |
H A D | stingray-pcie.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 6 pcie8: pcie@60400000 { 7 compatible = "brcm,iproc-pcie-paxc-v2"; 9 linux,pci-domain = <8>; 11 bus-range = <0x0 0x1>; 13 #address-cells = <3>; 14 #size-cells = <2>; 18 dma-coherent; 20 msi-map = <0x100 &gic_its 0x2000 0x1>, /* PF0 */ 21 <0x108 &gic_its 0x2040 0x8>, /* PF0-VF0-7 */ [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/cascadelakex/ |
H A D | uncore-io.json | 12 …PCIe card of any size (x16,x8,x4) that is plugged directly into one of the PCIe slots. Part0 could… 27 …PCIe card of any size (x16,x8,x4) that is plugged directly into one of the PCIe slots. Part0 could… 29 "UMask": "0x1", 34 "EventCode": "0x1", 41 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 0-3", 51 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 0", 61 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 1", 71 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 2", 81 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 3", 91 "BriefDescription": "PCIe Completion Buffer Inserts; Port 0", [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/skylakex/ |
H A D | uncore-io.json | 12 …PCIe card of any size (x16,x8,x4) that is plugged directly into one of the PCIe slots. Part0 could… 27 …PCIe card of any size (x16,x8,x4) that is plugged directly into one of the PCIe slots. Part0 could… 29 "UMask": "0x1", 34 "EventCode": "0x1", 41 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 0-3", 51 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 0", 61 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 1", 71 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 2", 81 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 3", 91 "BriefDescription": "PCIe Completion Buffer Inserts; Port 0", [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
H A D | g84.c | 38 struct nvkm_device *device = pci->subdev.device; in g84_pcie_version() 39 return (nvkm_rd32(device, 0x00154c) & 0x1) + 1; in g84_pcie_version() 45 struct nvkm_device *device = pci->subdev.device; in g84_pcie_set_version() 46 nvkm_mask(device, 0x00154c, 0x1, (ver >= 2 ? 0x1 : 0x0)); in g84_pcie_set_version() 52 struct nvkm_device *device = pci->subdev.device; in g84_pcie_set_cap_speed() 91 nvkm_pci_mask(pci, 0x460, 0x1, 0x1); in g84_pcie_set_link_speed() 105 /* The following only concerns PCIe cards. */ in g84_pci_init() 106 if (!pci_is_pcie(pci->pdev)) in g84_pci_init() 109 /* Tag field is 8-bit long, regardless of EXT_TAG. in g84_pci_init() 141 .pcie.init = g84_pcie_init, [all …]
|