133d2f8e4SSrikanth Thokala# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 233d2f8e4SSrikanth Thokala%YAML 1.2 333d2f8e4SSrikanth Thokala--- 4f5501623SRob Herring$id: http://devicetree.org/schemas/pci/intel,keembay-pcie.yaml# 5f5501623SRob Herring$schema: http://devicetree.org/meta-schemas/core.yaml# 633d2f8e4SSrikanth Thokala 733d2f8e4SSrikanth Thokalatitle: Intel Keem Bay PCIe controller Root Complex mode 833d2f8e4SSrikanth Thokala 933d2f8e4SSrikanth Thokalamaintainers: 1033d2f8e4SSrikanth Thokala - Wan Ahmad Zainie <wan.ahmad.zainie.wan.mohamad@intel.com> 1133d2f8e4SSrikanth Thokala - Srikanth Thokala <srikanth.thokala@intel.com> 1233d2f8e4SSrikanth Thokala 1333d2f8e4SSrikanth ThokalaallOf: 14*5db62b7dSKrzysztof Kozlowski - $ref: /schemas/pci/pci-host-bridge.yaml# 1533d2f8e4SSrikanth Thokala 1633d2f8e4SSrikanth Thokalaproperties: 1733d2f8e4SSrikanth Thokala compatible: 1833d2f8e4SSrikanth Thokala const: intel,keembay-pcie 1933d2f8e4SSrikanth Thokala 2033d2f8e4SSrikanth Thokala ranges: 2133d2f8e4SSrikanth Thokala maxItems: 1 2233d2f8e4SSrikanth Thokala 2333d2f8e4SSrikanth Thokala reset-gpios: 2433d2f8e4SSrikanth Thokala maxItems: 1 2533d2f8e4SSrikanth Thokala 2633d2f8e4SSrikanth Thokala reg: 2733d2f8e4SSrikanth Thokala maxItems: 4 2833d2f8e4SSrikanth Thokala 2933d2f8e4SSrikanth Thokala reg-names: 3033d2f8e4SSrikanth Thokala items: 3133d2f8e4SSrikanth Thokala - const: dbi 3233d2f8e4SSrikanth Thokala - const: atu 3333d2f8e4SSrikanth Thokala - const: config 3433d2f8e4SSrikanth Thokala - const: apb 3533d2f8e4SSrikanth Thokala 3633d2f8e4SSrikanth Thokala clocks: 3733d2f8e4SSrikanth Thokala maxItems: 2 3833d2f8e4SSrikanth Thokala 3933d2f8e4SSrikanth Thokala clock-names: 4033d2f8e4SSrikanth Thokala items: 4133d2f8e4SSrikanth Thokala - const: master 4233d2f8e4SSrikanth Thokala - const: aux 4333d2f8e4SSrikanth Thokala 4433d2f8e4SSrikanth Thokala interrupts: 4533d2f8e4SSrikanth Thokala maxItems: 3 4633d2f8e4SSrikanth Thokala 4733d2f8e4SSrikanth Thokala interrupt-names: 4833d2f8e4SSrikanth Thokala items: 4933d2f8e4SSrikanth Thokala - const: pcie 5033d2f8e4SSrikanth Thokala - const: pcie_ev 5133d2f8e4SSrikanth Thokala - const: pcie_err 5233d2f8e4SSrikanth Thokala 5333d2f8e4SSrikanth Thokala num-lanes: 5433d2f8e4SSrikanth Thokala description: Number of lanes to use. 5533d2f8e4SSrikanth Thokala enum: [ 1, 2 ] 5633d2f8e4SSrikanth Thokala 5733d2f8e4SSrikanth Thokalarequired: 5833d2f8e4SSrikanth Thokala - compatible 5933d2f8e4SSrikanth Thokala - reg 6033d2f8e4SSrikanth Thokala - reg-names 6133d2f8e4SSrikanth Thokala - ranges 6233d2f8e4SSrikanth Thokala - clocks 6333d2f8e4SSrikanth Thokala - clock-names 6433d2f8e4SSrikanth Thokala - interrupts 6533d2f8e4SSrikanth Thokala - interrupt-names 6633d2f8e4SSrikanth Thokala - reset-gpios 6733d2f8e4SSrikanth Thokala 6833d2f8e4SSrikanth ThokalaunevaluatedProperties: false 6933d2f8e4SSrikanth Thokala 7033d2f8e4SSrikanth Thokalaexamples: 7133d2f8e4SSrikanth Thokala - | 7233d2f8e4SSrikanth Thokala #include <dt-bindings/interrupt-controller/arm-gic.h> 7333d2f8e4SSrikanth Thokala #include <dt-bindings/interrupt-controller/irq.h> 7433d2f8e4SSrikanth Thokala #include <dt-bindings/gpio/gpio.h> 7533d2f8e4SSrikanth Thokala #define KEEM_BAY_A53_PCIE 7633d2f8e4SSrikanth Thokala #define KEEM_BAY_A53_AUX_PCIE 7733d2f8e4SSrikanth Thokala pcie@37000000 { 7833d2f8e4SSrikanth Thokala compatible = "intel,keembay-pcie"; 7933d2f8e4SSrikanth Thokala reg = <0x37000000 0x00001000>, 8033d2f8e4SSrikanth Thokala <0x37300000 0x00001000>, 8133d2f8e4SSrikanth Thokala <0x36e00000 0x00200000>, 8233d2f8e4SSrikanth Thokala <0x37800000 0x00000200>; 8333d2f8e4SSrikanth Thokala reg-names = "dbi", "atu", "config", "apb"; 8433d2f8e4SSrikanth Thokala #address-cells = <3>; 8533d2f8e4SSrikanth Thokala #size-cells = <2>; 8633d2f8e4SSrikanth Thokala device_type = "pci"; 8733d2f8e4SSrikanth Thokala ranges = <0x02000000 0 0x36000000 0x36000000 0 0x00e00000>; 8833d2f8e4SSrikanth Thokala interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>, 8933d2f8e4SSrikanth Thokala <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, 9033d2f8e4SSrikanth Thokala <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>; 9133d2f8e4SSrikanth Thokala interrupt-names = "pcie", "pcie_ev", "pcie_err"; 9233d2f8e4SSrikanth Thokala clocks = <&scmi_clk KEEM_BAY_A53_PCIE>, 9333d2f8e4SSrikanth Thokala <&scmi_clk KEEM_BAY_A53_AUX_PCIE>; 9433d2f8e4SSrikanth Thokala clock-names = "master", "aux"; 9533d2f8e4SSrikanth Thokala reset-gpios = <&pca2 9 GPIO_ACTIVE_LOW>; 9633d2f8e4SSrikanth Thokala num-lanes = <2>; 9733d2f8e4SSrikanth Thokala }; 98