1354d7675SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2354d7675SEmmanuel Vadot%YAML 1.2 3354d7675SEmmanuel Vadot--- 4*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/pci/intel,keembay-pcie-ep.yaml# 5*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6354d7675SEmmanuel Vadot 7354d7675SEmmanuel Vadottitle: Intel Keem Bay PCIe controller Endpoint mode 8354d7675SEmmanuel Vadot 9354d7675SEmmanuel Vadotmaintainers: 10354d7675SEmmanuel Vadot - Wan Ahmad Zainie <wan.ahmad.zainie.wan.mohamad@intel.com> 11354d7675SEmmanuel Vadot - Srikanth Thokala <srikanth.thokala@intel.com> 12354d7675SEmmanuel Vadot 13354d7675SEmmanuel Vadotproperties: 14354d7675SEmmanuel Vadot compatible: 15354d7675SEmmanuel Vadot const: intel,keembay-pcie-ep 16354d7675SEmmanuel Vadot 17354d7675SEmmanuel Vadot reg: 18354d7675SEmmanuel Vadot maxItems: 5 19354d7675SEmmanuel Vadot 20354d7675SEmmanuel Vadot reg-names: 21354d7675SEmmanuel Vadot items: 22354d7675SEmmanuel Vadot - const: dbi 23354d7675SEmmanuel Vadot - const: dbi2 24354d7675SEmmanuel Vadot - const: atu 25354d7675SEmmanuel Vadot - const: addr_space 26354d7675SEmmanuel Vadot - const: apb 27354d7675SEmmanuel Vadot 28354d7675SEmmanuel Vadot interrupts: 29354d7675SEmmanuel Vadot maxItems: 4 30354d7675SEmmanuel Vadot 31354d7675SEmmanuel Vadot interrupt-names: 32354d7675SEmmanuel Vadot items: 33354d7675SEmmanuel Vadot - const: pcie 34354d7675SEmmanuel Vadot - const: pcie_ev 35354d7675SEmmanuel Vadot - const: pcie_err 36354d7675SEmmanuel Vadot - const: pcie_mem_access 37354d7675SEmmanuel Vadot 38354d7675SEmmanuel Vadot num-lanes: 39354d7675SEmmanuel Vadot description: Number of lanes to use. 40354d7675SEmmanuel Vadot enum: [ 1, 2 ] 41354d7675SEmmanuel Vadot 42354d7675SEmmanuel Vadotrequired: 43354d7675SEmmanuel Vadot - compatible 44354d7675SEmmanuel Vadot - reg 45354d7675SEmmanuel Vadot - reg-names 46354d7675SEmmanuel Vadot - interrupts 47354d7675SEmmanuel Vadot - interrupt-names 48354d7675SEmmanuel Vadot 49354d7675SEmmanuel VadotadditionalProperties: false 50354d7675SEmmanuel Vadot 51354d7675SEmmanuel Vadotexamples: 52354d7675SEmmanuel Vadot - | 53354d7675SEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 54354d7675SEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 55354d7675SEmmanuel Vadot pcie-ep@37000000 { 56354d7675SEmmanuel Vadot compatible = "intel,keembay-pcie-ep"; 57354d7675SEmmanuel Vadot reg = <0x37000000 0x00001000>, 58354d7675SEmmanuel Vadot <0x37100000 0x00001000>, 59354d7675SEmmanuel Vadot <0x37300000 0x00001000>, 60354d7675SEmmanuel Vadot <0x36000000 0x01000000>, 61354d7675SEmmanuel Vadot <0x37800000 0x00000200>; 62354d7675SEmmanuel Vadot reg-names = "dbi", "dbi2", "atu", "addr_space", "apb"; 63354d7675SEmmanuel Vadot interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>, 64354d7675SEmmanuel Vadot <GIC_SPI 108 IRQ_TYPE_EDGE_RISING>, 65354d7675SEmmanuel Vadot <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>, 66354d7675SEmmanuel Vadot <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; 67354d7675SEmmanuel Vadot interrupt-names = "pcie", "pcie_ev", "pcie_err", "pcie_mem_access"; 68354d7675SEmmanuel Vadot num-lanes = <2>; 69354d7675SEmmanuel Vadot }; 70