1*833e5d42SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*833e5d42SEmmanuel Vadot%YAML 1.2 3*833e5d42SEmmanuel Vadot--- 4*833e5d42SEmmanuel Vadot$id: http://devicetree.org/schemas/phy/st,spear1310-miphy.yaml# 5*833e5d42SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*833e5d42SEmmanuel Vadot 7*833e5d42SEmmanuel Vadottitle: ST SPEAr miphy 8*833e5d42SEmmanuel Vadot 9*833e5d42SEmmanuel Vadotmaintainers: 10*833e5d42SEmmanuel Vadot - Pratyush Anand <pratyush.anand@gmail.com> 11*833e5d42SEmmanuel Vadot 12*833e5d42SEmmanuel Vadotdescription: 13*833e5d42SEmmanuel Vadot ST Microelectronics SPEAr miphy is a phy controller supporting PCIe and SATA. 14*833e5d42SEmmanuel Vadot 15*833e5d42SEmmanuel Vadotproperties: 16*833e5d42SEmmanuel Vadot compatible: 17*833e5d42SEmmanuel Vadot enum: 18*833e5d42SEmmanuel Vadot - st,spear1310-miphy 19*833e5d42SEmmanuel Vadot - st,spear1340-miphy 20*833e5d42SEmmanuel Vadot 21*833e5d42SEmmanuel Vadot reg: 22*833e5d42SEmmanuel Vadot maxItems: 1 23*833e5d42SEmmanuel Vadot 24*833e5d42SEmmanuel Vadot misc: 25*833e5d42SEmmanuel Vadot description: Phandle for the syscon node to access misc registers. 26*833e5d42SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 27*833e5d42SEmmanuel Vadot 28*833e5d42SEmmanuel Vadot '#phy-cells': 29*833e5d42SEmmanuel Vadot description: > 30*833e5d42SEmmanuel Vadot Cell[0] indicates interface type: 0 = SATA, 1 = PCIe. 31*833e5d42SEmmanuel Vadot const: 1 32*833e5d42SEmmanuel Vadot 33*833e5d42SEmmanuel Vadot phy-id: 34*833e5d42SEmmanuel Vadot description: Instance id of the phy. Required when multiple PHYs are present. 35*833e5d42SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 36*833e5d42SEmmanuel Vadot 37*833e5d42SEmmanuel Vadotrequired: 38*833e5d42SEmmanuel Vadot - compatible 39*833e5d42SEmmanuel Vadot - reg 40*833e5d42SEmmanuel Vadot - misc 41*833e5d42SEmmanuel Vadot - '#phy-cells' 42*833e5d42SEmmanuel Vadot 43*833e5d42SEmmanuel VadotadditionalProperties: false 44*833e5d42SEmmanuel Vadot 45*833e5d42SEmmanuel Vadotexamples: 46*833e5d42SEmmanuel Vadot - | 47*833e5d42SEmmanuel Vadot miphy@1000 { 48*833e5d42SEmmanuel Vadot compatible = "st,spear1310-miphy"; 49*833e5d42SEmmanuel Vadot reg = <0x1000 0x100>; 50*833e5d42SEmmanuel Vadot misc = <&syscon>; 51*833e5d42SEmmanuel Vadot #phy-cells = <1>; 52*833e5d42SEmmanuel Vadot phy-id = <0>; 53*833e5d42SEmmanuel Vadot }; 54