1*aa1a8ff2SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*aa1a8ff2SEmmanuel Vadot%YAML 1.2 3*aa1a8ff2SEmmanuel Vadot--- 4*aa1a8ff2SEmmanuel Vadot$id: http://devicetree.org/schemas/phy/starfive,jh7110-pcie-phy.yaml# 5*aa1a8ff2SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*aa1a8ff2SEmmanuel Vadot 7*aa1a8ff2SEmmanuel Vadottitle: StarFive JH7110 PCIe 2.0 PHY 8*aa1a8ff2SEmmanuel Vadot 9*aa1a8ff2SEmmanuel Vadotmaintainers: 10*aa1a8ff2SEmmanuel Vadot - Minda Chen <minda.chen@starfivetech.com> 11*aa1a8ff2SEmmanuel Vadot 12*aa1a8ff2SEmmanuel Vadotproperties: 13*aa1a8ff2SEmmanuel Vadot compatible: 14*aa1a8ff2SEmmanuel Vadot const: starfive,jh7110-pcie-phy 15*aa1a8ff2SEmmanuel Vadot 16*aa1a8ff2SEmmanuel Vadot reg: 17*aa1a8ff2SEmmanuel Vadot maxItems: 1 18*aa1a8ff2SEmmanuel Vadot 19*aa1a8ff2SEmmanuel Vadot "#phy-cells": 20*aa1a8ff2SEmmanuel Vadot const: 0 21*aa1a8ff2SEmmanuel Vadot 22*aa1a8ff2SEmmanuel Vadot starfive,sys-syscon: 23*aa1a8ff2SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle-array 24*aa1a8ff2SEmmanuel Vadot items: 25*aa1a8ff2SEmmanuel Vadot - items: 26*aa1a8ff2SEmmanuel Vadot - description: phandle to System Register Controller sys_syscon node. 27*aa1a8ff2SEmmanuel Vadot - description: PHY connect offset of SYS_SYSCONSAIF__SYSCFG register for USB PHY. 28*aa1a8ff2SEmmanuel Vadot description: 29*aa1a8ff2SEmmanuel Vadot The phandle to System Register Controller syscon node and the PHY connect offset 30*aa1a8ff2SEmmanuel Vadot of SYS_SYSCONSAIF__SYSCFG register. Connect PHY to USB3 controller. 31*aa1a8ff2SEmmanuel Vadot 32*aa1a8ff2SEmmanuel Vadot starfive,stg-syscon: 33*aa1a8ff2SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle-array 34*aa1a8ff2SEmmanuel Vadot items: 35*aa1a8ff2SEmmanuel Vadot - items: 36*aa1a8ff2SEmmanuel Vadot - description: phandle to System Register Controller stg_syscon node. 37*aa1a8ff2SEmmanuel Vadot - description: PHY mode offset of STG_SYSCONSAIF__SYSCFG register. 38*aa1a8ff2SEmmanuel Vadot - description: PHY enable for USB offset of STG_SYSCONSAIF__SYSCFG register. 39*aa1a8ff2SEmmanuel Vadot description: 40*aa1a8ff2SEmmanuel Vadot The phandle to System Register Controller syscon node and the offset 41*aa1a8ff2SEmmanuel Vadot of STG_SYSCONSAIF__SYSCFG register for PCIe PHY. Total 2 regsisters offset. 42*aa1a8ff2SEmmanuel Vadot 43*aa1a8ff2SEmmanuel Vadotrequired: 44*aa1a8ff2SEmmanuel Vadot - compatible 45*aa1a8ff2SEmmanuel Vadot - reg 46*aa1a8ff2SEmmanuel Vadot - "#phy-cells" 47*aa1a8ff2SEmmanuel Vadot 48*aa1a8ff2SEmmanuel VadotadditionalProperties: false 49*aa1a8ff2SEmmanuel Vadot 50*aa1a8ff2SEmmanuel Vadotexamples: 51*aa1a8ff2SEmmanuel Vadot - | 52*aa1a8ff2SEmmanuel Vadot phy@10210000 { 53*aa1a8ff2SEmmanuel Vadot compatible = "starfive,jh7110-pcie-phy"; 54*aa1a8ff2SEmmanuel Vadot reg = <0x10210000 0x10000>; 55*aa1a8ff2SEmmanuel Vadot #phy-cells = <0>; 56*aa1a8ff2SEmmanuel Vadot starfive,sys-syscon = <&sys_syscon 0x18>; 57*aa1a8ff2SEmmanuel Vadot starfive,stg-syscon = <&stg_syscon 0x148 0x1f4>; 58*aa1a8ff2SEmmanuel Vadot }; 59