1e22fadb1SBharat Kumar Gogada# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2e22fadb1SBharat Kumar Gogada%YAML 1.2 3e22fadb1SBharat Kumar Gogada--- 4e22fadb1SBharat Kumar Gogada$id: http://devicetree.org/schemas/pci/xilinx-versal-cpm.yaml# 5e22fadb1SBharat Kumar Gogada$schema: http://devicetree.org/meta-schemas/core.yaml# 6e22fadb1SBharat Kumar Gogada 7e22fadb1SBharat Kumar Gogadatitle: CPM Host Controller device tree for Xilinx Versal SoCs 8e22fadb1SBharat Kumar Gogada 9e22fadb1SBharat Kumar Gogadamaintainers: 10e22fadb1SBharat Kumar Gogada - Bharat Kumar Gogada <bharat.kumar.gogada@xilinx.com> 11e22fadb1SBharat Kumar Gogada 12e22fadb1SBharat Kumar GogadaallOf: 13e22fadb1SBharat Kumar Gogada - $ref: /schemas/pci/pci-bus.yaml# 14e22fadb1SBharat Kumar Gogada 15e22fadb1SBharat Kumar Gogadaproperties: 16e22fadb1SBharat Kumar Gogada compatible: 17e22fadb1SBharat Kumar Gogada const: xlnx,versal-cpm-host-1.00 18e22fadb1SBharat Kumar Gogada 19e22fadb1SBharat Kumar Gogada reg: 20e22fadb1SBharat Kumar Gogada items: 21e22fadb1SBharat Kumar Gogada - description: CPM system level control and status registers. 22*e2c6170aSBharat Kumar Gogada - description: Configuration space region and bridge registers. 23e22fadb1SBharat Kumar Gogada 24e22fadb1SBharat Kumar Gogada reg-names: 25e22fadb1SBharat Kumar Gogada items: 26e22fadb1SBharat Kumar Gogada - const: cpm_slcr 27*e2c6170aSBharat Kumar Gogada - const: cfg 28e22fadb1SBharat Kumar Gogada 29e22fadb1SBharat Kumar Gogada interrupts: 30e22fadb1SBharat Kumar Gogada maxItems: 1 31e22fadb1SBharat Kumar Gogada 32e22fadb1SBharat Kumar Gogada msi-map: 33e22fadb1SBharat Kumar Gogada description: 34e22fadb1SBharat Kumar Gogada Maps a Requester ID to an MSI controller and associated MSI sideband data. 35e22fadb1SBharat Kumar Gogada 36e22fadb1SBharat Kumar Gogada ranges: 37e22fadb1SBharat Kumar Gogada maxItems: 2 38e22fadb1SBharat Kumar Gogada 39e22fadb1SBharat Kumar Gogada "#interrupt-cells": 40e22fadb1SBharat Kumar Gogada const: 1 41e22fadb1SBharat Kumar Gogada 42e22fadb1SBharat Kumar Gogada interrupt-controller: 43e22fadb1SBharat Kumar Gogada description: Interrupt controller node for handling legacy PCI interrupts. 44e22fadb1SBharat Kumar Gogada type: object 45e22fadb1SBharat Kumar Gogada properties: 46e22fadb1SBharat Kumar Gogada "#address-cells": 47e22fadb1SBharat Kumar Gogada const: 0 48e22fadb1SBharat Kumar Gogada "#interrupt-cells": 49e22fadb1SBharat Kumar Gogada const: 1 50e22fadb1SBharat Kumar Gogada "interrupt-controller": true 51e22fadb1SBharat Kumar Gogada additionalProperties: false 52e22fadb1SBharat Kumar Gogada 53e22fadb1SBharat Kumar Gogadarequired: 54e22fadb1SBharat Kumar Gogada - reg 55e22fadb1SBharat Kumar Gogada - reg-names 56e22fadb1SBharat Kumar Gogada - "#interrupt-cells" 57e22fadb1SBharat Kumar Gogada - interrupts 58e22fadb1SBharat Kumar Gogada - interrupt-map 59e22fadb1SBharat Kumar Gogada - interrupt-map-mask 60e22fadb1SBharat Kumar Gogada - bus-range 61e22fadb1SBharat Kumar Gogada - msi-map 62e22fadb1SBharat Kumar Gogada - interrupt-controller 63e22fadb1SBharat Kumar Gogada 64e22fadb1SBharat Kumar GogadaunevaluatedProperties: false 65e22fadb1SBharat Kumar Gogada 66e22fadb1SBharat Kumar Gogadaexamples: 67e22fadb1SBharat Kumar Gogada - | 68e22fadb1SBharat Kumar Gogada 69e22fadb1SBharat Kumar Gogada versal { 70e22fadb1SBharat Kumar Gogada #address-cells = <2>; 71e22fadb1SBharat Kumar Gogada #size-cells = <2>; 72e22fadb1SBharat Kumar Gogada cpm_pcie: pcie@fca10000 { 73e22fadb1SBharat Kumar Gogada compatible = "xlnx,versal-cpm-host-1.00"; 74e22fadb1SBharat Kumar Gogada device_type = "pci"; 75e22fadb1SBharat Kumar Gogada #address-cells = <3>; 76e22fadb1SBharat Kumar Gogada #interrupt-cells = <1>; 77e22fadb1SBharat Kumar Gogada #size-cells = <2>; 78e22fadb1SBharat Kumar Gogada interrupts = <0 72 4>; 79e22fadb1SBharat Kumar Gogada interrupt-parent = <&gic>; 80e22fadb1SBharat Kumar Gogada interrupt-map-mask = <0 0 0 7>; 81e22fadb1SBharat Kumar Gogada interrupt-map = <0 0 0 1 &pcie_intc_0 0>, 82e22fadb1SBharat Kumar Gogada <0 0 0 2 &pcie_intc_0 1>, 83e22fadb1SBharat Kumar Gogada <0 0 0 3 &pcie_intc_0 2>, 84e22fadb1SBharat Kumar Gogada <0 0 0 4 &pcie_intc_0 3>; 85e22fadb1SBharat Kumar Gogada bus-range = <0x00 0xff>; 86e22fadb1SBharat Kumar Gogada ranges = <0x02000000 0x0 0xe0000000 0x0 0xe0000000 0x0 0x10000000>, 87e22fadb1SBharat Kumar Gogada <0x43000000 0x80 0x00000000 0x80 0x00000000 0x0 0x80000000>; 88e22fadb1SBharat Kumar Gogada msi-map = <0x0 &its_gic 0x0 0x10000>; 89*e2c6170aSBharat Kumar Gogada reg = <0x0 0xfca10000 0x0 0x1000>, 90*e2c6170aSBharat Kumar Gogada <0x6 0x00000000 0x0 0x10000000>; 91*e2c6170aSBharat Kumar Gogada reg-names = "cpm_slcr", "cfg"; 92e22fadb1SBharat Kumar Gogada pcie_intc_0: interrupt-controller { 93e22fadb1SBharat Kumar Gogada #address-cells = <0>; 94e22fadb1SBharat Kumar Gogada #interrupt-cells = <1>; 95e22fadb1SBharat Kumar Gogada interrupt-controller; 96e22fadb1SBharat Kumar Gogada }; 97e22fadb1SBharat Kumar Gogada }; 98e22fadb1SBharat Kumar Gogada }; 99