1*b97ee269SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*b97ee269SEmmanuel Vadot%YAML 1.2 3*b97ee269SEmmanuel Vadot--- 4*b97ee269SEmmanuel Vadot$id: http://devicetree.org/schemas/phy/mediatek,pcie-phy.yaml# 5*b97ee269SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*b97ee269SEmmanuel Vadot 7*b97ee269SEmmanuel Vadottitle: MediaTek PCIe PHY 8*b97ee269SEmmanuel Vadot 9*b97ee269SEmmanuel Vadotmaintainers: 10*b97ee269SEmmanuel Vadot - Jianjun Wang <jianjun.wang@mediatek.com> 11*b97ee269SEmmanuel Vadot 12*b97ee269SEmmanuel Vadotdescription: | 13*b97ee269SEmmanuel Vadot The PCIe PHY supports physical layer functionality for PCIe Gen3 port. 14*b97ee269SEmmanuel Vadot 15*b97ee269SEmmanuel Vadotproperties: 16*b97ee269SEmmanuel Vadot compatible: 17*b97ee269SEmmanuel Vadot const: mediatek,mt8195-pcie-phy 18*b97ee269SEmmanuel Vadot 19*b97ee269SEmmanuel Vadot reg: 20*b97ee269SEmmanuel Vadot maxItems: 1 21*b97ee269SEmmanuel Vadot 22*b97ee269SEmmanuel Vadot reg-names: 23*b97ee269SEmmanuel Vadot items: 24*b97ee269SEmmanuel Vadot - const: sif 25*b97ee269SEmmanuel Vadot 26*b97ee269SEmmanuel Vadot "#phy-cells": 27*b97ee269SEmmanuel Vadot const: 0 28*b97ee269SEmmanuel Vadot 29*b97ee269SEmmanuel Vadot nvmem-cells: 30*b97ee269SEmmanuel Vadot maxItems: 7 31*b97ee269SEmmanuel Vadot description: 32*b97ee269SEmmanuel Vadot Phandles to nvmem cell that contains the efuse data, if unspecified, 33*b97ee269SEmmanuel Vadot default value is used. 34*b97ee269SEmmanuel Vadot 35*b97ee269SEmmanuel Vadot nvmem-cell-names: 36*b97ee269SEmmanuel Vadot items: 37*b97ee269SEmmanuel Vadot - const: glb_intr 38*b97ee269SEmmanuel Vadot - const: tx_ln0_pmos 39*b97ee269SEmmanuel Vadot - const: tx_ln0_nmos 40*b97ee269SEmmanuel Vadot - const: rx_ln0 41*b97ee269SEmmanuel Vadot - const: tx_ln1_pmos 42*b97ee269SEmmanuel Vadot - const: tx_ln1_nmos 43*b97ee269SEmmanuel Vadot - const: rx_ln1 44*b97ee269SEmmanuel Vadot 45*b97ee269SEmmanuel Vadot power-domains: 46*b97ee269SEmmanuel Vadot maxItems: 1 47*b97ee269SEmmanuel Vadot 48*b97ee269SEmmanuel Vadotrequired: 49*b97ee269SEmmanuel Vadot - compatible 50*b97ee269SEmmanuel Vadot - reg 51*b97ee269SEmmanuel Vadot - reg-names 52*b97ee269SEmmanuel Vadot - "#phy-cells" 53*b97ee269SEmmanuel Vadot 54*b97ee269SEmmanuel VadotadditionalProperties: false 55*b97ee269SEmmanuel Vadot 56*b97ee269SEmmanuel Vadotexamples: 57*b97ee269SEmmanuel Vadot - | 58*b97ee269SEmmanuel Vadot phy@11e80000 { 59*b97ee269SEmmanuel Vadot compatible = "mediatek,mt8195-pcie-phy"; 60*b97ee269SEmmanuel Vadot #phy-cells = <0>; 61*b97ee269SEmmanuel Vadot reg = <0x11e80000 0x10000>; 62*b97ee269SEmmanuel Vadot reg-names = "sif"; 63*b97ee269SEmmanuel Vadot nvmem-cells = <&pciephy_glb_intr>, 64*b97ee269SEmmanuel Vadot <&pciephy_tx_ln0_pmos>, 65*b97ee269SEmmanuel Vadot <&pciephy_tx_ln0_nmos>, 66*b97ee269SEmmanuel Vadot <&pciephy_rx_ln0>, 67*b97ee269SEmmanuel Vadot <&pciephy_tx_ln1_pmos>, 68*b97ee269SEmmanuel Vadot <&pciephy_tx_ln1_nmos>, 69*b97ee269SEmmanuel Vadot <&pciephy_rx_ln1>; 70*b97ee269SEmmanuel Vadot nvmem-cell-names = "glb_intr", "tx_ln0_pmos", 71*b97ee269SEmmanuel Vadot "tx_ln0_nmos", "rx_ln0", 72*b97ee269SEmmanuel Vadot "tx_ln1_pmos", "tx_ln1_nmos", 73*b97ee269SEmmanuel Vadot "rx_ln1"; 74*b97ee269SEmmanuel Vadot power-domains = <&spm 2>; 75*b97ee269SEmmanuel Vadot }; 76