1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (C) 2021 Texas Instruments Incorporated - http://www.ti.com/
5 $id: http://devicetree.org/schemas/pci/ti,am65-pci-host.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: TI AM65 PCI Host
11 - Kishon Vijay Abraham I <kishon@ti.com>
14 - $ref: /schemas/pci/pci-host-bridge.yaml#
39 $ref: /schemas/types.yaml#/definitions/phandle-array
42 - description: Phandle to the SYSCON entry
43 - description: pcie_device_id register offset within SYSCON
44 description: Phandle to the SYSCON entry required for getting PCIe device/vendor ID
47 $ref: /schemas/types.yaml#/definitions/phandle-array
50 - description: Phandle to the SYSCON entry
51 - description: pcie_ctrl register offset within SYSCON
52 description: Phandle to the SYSCON entry required for configuring PCIe in RC or EP mode.
59 $ref: /schemas/types.yaml#/definitions/uint32
62 description: per-lane PHYs
70 pattern: '^pcie-phy[0-1]$'
93 unevaluatedProperties: false
97 #include <dt-bindings/interrupt-controller/arm-gic.h>
98 #include <dt-bindings/interrupt-controller/irq.h>
99 #include <dt-bindings/phy/phy.h>
100 #include <dt-bindings/soc/ti,sci_pm_domain.h>
102 pcie0_rc: pcie@5500000 {
103 compatible = "ti,am654-pcie-rc";
104 reg = <0x5500000 0x1000>,
108 reg-names = "app", "dbics", "config", "atu";
109 power-domains = <&k3_pds 120 TI_SCI_PD_EXCLUSIVE>;
110 #address-cells = <3>;
112 ranges = <0x81000000 0 0 0x10020000 0 0x00010000>,
113 <0x82000000 0 0x10030000 0x10030000 0 0x07FD0000>;
114 ti,syscon-pcie-id = <&scm_conf 0x0210>;
115 ti,syscon-pcie-mode = <&scm_conf 0x4060>;
116 bus-range = <0x0 0xff>;
118 max-link-speed = <2>;
120 interrupts = <GIC_SPI 340 IRQ_TYPE_EDGE_RISING>;
121 msi-map = <0x0 &gic_its 0x0 0x10000>;
124 phys = <&serdes0 PHY_TYPE_PCIE 0>;
125 phy-names = "pcie-phy0";