xref: /freebsd-src/sys/contrib/device-tree/Bindings/phy/phy-tegra194-p2u.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1e67e8565SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2e67e8565SEmmanuel Vadot%YAML 1.2
3e67e8565SEmmanuel Vadot---
4*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/phy/phy-tegra194-p2u.yaml#
5*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6e67e8565SEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: NVIDIA Tegra194 & Tegra234 P2U
8e67e8565SEmmanuel Vadot
9e67e8565SEmmanuel Vadotmaintainers:
10e67e8565SEmmanuel Vadot  - Thierry Reding <treding@nvidia.com>
11e67e8565SEmmanuel Vadot
12e67e8565SEmmanuel Vadotdescription: >
13e67e8565SEmmanuel Vadot  Tegra194 has two PHY bricks namely HSIO (High Speed IO) and NVHS (NVIDIA High
14e67e8565SEmmanuel Vadot  Speed) each interfacing with 12 and 8 P2U instances respectively.
15b97ee269SEmmanuel Vadot  Tegra234 has three PHY bricks namely HSIO, NVHS and GBE (Gigabit Ethernet)
16b97ee269SEmmanuel Vadot  each interfacing with 8, 8 and 8 P2U instances respectively.
17e67e8565SEmmanuel Vadot  A P2U instance is a glue logic between Synopsys DesignWare Core PCIe IP's PIPE
18b97ee269SEmmanuel Vadot  interface and PHY of HSIO/NVHS/GBE bricks. Each P2U instance represents one
19b97ee269SEmmanuel Vadot  PCIe lane.
20e67e8565SEmmanuel Vadot
21e67e8565SEmmanuel Vadotproperties:
22e67e8565SEmmanuel Vadot  compatible:
23b97ee269SEmmanuel Vadot    enum:
24b97ee269SEmmanuel Vadot      - nvidia,tegra194-p2u
25b97ee269SEmmanuel Vadot      - nvidia,tegra234-p2u
26e67e8565SEmmanuel Vadot
27e67e8565SEmmanuel Vadot  reg:
28e67e8565SEmmanuel Vadot    maxItems: 1
29e67e8565SEmmanuel Vadot    description: Should be the physical address space and length of respective each P2U instance.
30e67e8565SEmmanuel Vadot
31e67e8565SEmmanuel Vadot  reg-names:
32e67e8565SEmmanuel Vadot    items:
33e67e8565SEmmanuel Vadot      - const: ctl
34e67e8565SEmmanuel Vadot
35b97ee269SEmmanuel Vadot  nvidia,skip-sz-protect-en:
36b97ee269SEmmanuel Vadot    description: Should be present if two PCIe retimers are present between
37b97ee269SEmmanuel Vadot      the root port and its immediate downstream device.
38b97ee269SEmmanuel Vadot    type: boolean
39b97ee269SEmmanuel Vadot
40e67e8565SEmmanuel Vadot  '#phy-cells':
41e67e8565SEmmanuel Vadot    const: 0
42e67e8565SEmmanuel Vadot
43e67e8565SEmmanuel VadotadditionalProperties: false
44e67e8565SEmmanuel Vadot
45e67e8565SEmmanuel Vadotexamples:
46e67e8565SEmmanuel Vadot  - |
47e67e8565SEmmanuel Vadot    p2u_hsio_0: phy@3e10000 {
48e67e8565SEmmanuel Vadot        compatible = "nvidia,tegra194-p2u";
49e67e8565SEmmanuel Vadot        reg = <0x03e10000 0x10000>;
50e67e8565SEmmanuel Vadot        reg-names = "ctl";
51e67e8565SEmmanuel Vadot
52e67e8565SEmmanuel Vadot        #phy-cells = <0>;
53e67e8565SEmmanuel Vadot    };
54