Based on kernel version 6.12.4
. Page generated on 2024-12-12 21:01 EST
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) # Copyright (C) 2015, 2019, 2024, Intel Corporation %YAML 1.2 --- $id: http://devicetree.org/schemas/altr,pcie-root-port.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: Altera PCIe Root Port maintainers: - Matthew Gerlach <matthew.gerlach@linux.intel.com> properties: compatible: enum: - altr,pcie-root-port-1.0 - altr,pcie-root-port-2.0 reg: items: - description: TX slave port region - description: Control register access region - description: Hard IP region minItems: 2 reg-names: items: - const: Txs - const: Cra - const: Hip minItems: 2 interrupts: maxItems: 1 interrupt-controller: true interrupt-map-mask: items: - const: 0 - const: 0 - const: 0 - const: 7 interrupt-map: maxItems: 4 "#interrupt-cells": const: 1 msi-parent: true required: - compatible - reg - reg-names - interrupts - "#interrupt-cells" - interrupt-controller - interrupt-map - interrupt-map-mask allOf: - $ref: /schemas/pci/pci-host-bridge.yaml# - if: properties: compatible: enum: - altr,pcie-root-port-1.0 then: properties: reg: maxItems: 2 reg-names: maxItems: 2 else: properties: reg: minItems: 3 reg-names: minItems: 3 unevaluatedProperties: false examples: - | #include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/interrupt-controller/irq.h> pcie_0: pcie@c00000000 { compatible = "altr,pcie-root-port-1.0"; reg = <0xc0000000 0x20000000>, <0xff220000 0x00004000>; reg-names = "Txs", "Cra"; interrupt-parent = <&hps_0_arm_gic_0>; interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; interrupt-controller; #interrupt-cells = <1>; bus-range = <0x0 0xff>; device_type = "pci"; msi-parent = <&msi_to_gic_gen_0>; #address-cells = <3>; #size-cells = <2>; interrupt-map-mask = <0 0 0 7>; interrupt-map = <0 0 0 1 &pcie_0 0 0 0 1>, <0 0 0 2 &pcie_0 0 0 0 2>, <0 0 0 3 &pcie_0 0 0 0 3>, <0 0 0 4 &pcie_0 0 0 0 4>; ranges = <0x82000000 0x00000000 0x00000000 0xc0000000 0x00000000 0x10000000>, <0x82000000 0x00000000 0x10000000 0xd0000000 0x00000000 0x10000000>; }; |