1*1d51a2caSDilip Kota# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*1d51a2caSDilip Kota%YAML 1.2 3*1d51a2caSDilip Kota--- 4*1d51a2caSDilip Kota$id: http://devicetree.org/schemas/phy/intel,combo-phy.yaml# 5*1d51a2caSDilip Kota$schema: http://devicetree.org/meta-schemas/core.yaml# 6*1d51a2caSDilip Kota 7*1d51a2caSDilip Kotatitle: Intel ComboPhy Subsystem 8*1d51a2caSDilip Kota 9*1d51a2caSDilip Kotamaintainers: 10*1d51a2caSDilip Kota - Dilip Kota <eswara.kota@linux.intel.com> 11*1d51a2caSDilip Kota 12*1d51a2caSDilip Kotadescription: | 13*1d51a2caSDilip Kota Intel Combophy subsystem supports PHYs for PCIe, EMAC and SATA 14*1d51a2caSDilip Kota controllers. A single Combophy provides two PHY instances. 15*1d51a2caSDilip Kota 16*1d51a2caSDilip Kotaproperties: 17*1d51a2caSDilip Kota $nodename: 18*1d51a2caSDilip Kota pattern: "combophy(@.*|-[0-9a-f])*$" 19*1d51a2caSDilip Kota 20*1d51a2caSDilip Kota compatible: 21*1d51a2caSDilip Kota items: 22*1d51a2caSDilip Kota - const: intel,combophy-lgm 23*1d51a2caSDilip Kota - const: intel,combo-phy 24*1d51a2caSDilip Kota 25*1d51a2caSDilip Kota clocks: 26*1d51a2caSDilip Kota maxItems: 1 27*1d51a2caSDilip Kota 28*1d51a2caSDilip Kota reg: 29*1d51a2caSDilip Kota items: 30*1d51a2caSDilip Kota - description: ComboPhy core registers 31*1d51a2caSDilip Kota - description: PCIe app core control registers 32*1d51a2caSDilip Kota 33*1d51a2caSDilip Kota reg-names: 34*1d51a2caSDilip Kota items: 35*1d51a2caSDilip Kota - const: core 36*1d51a2caSDilip Kota - const: app 37*1d51a2caSDilip Kota 38*1d51a2caSDilip Kota resets: 39*1d51a2caSDilip Kota maxItems: 4 40*1d51a2caSDilip Kota 41*1d51a2caSDilip Kota reset-names: 42*1d51a2caSDilip Kota items: 43*1d51a2caSDilip Kota - const: phy 44*1d51a2caSDilip Kota - const: core 45*1d51a2caSDilip Kota - const: iphy0 46*1d51a2caSDilip Kota - const: iphy1 47*1d51a2caSDilip Kota 48*1d51a2caSDilip Kota intel,syscfg: 49*1d51a2caSDilip Kota $ref: /schemas/types.yaml#/definitions/phandle-array 50*1d51a2caSDilip Kota description: Chip configuration registers handle and ComboPhy instance id 51*1d51a2caSDilip Kota 52*1d51a2caSDilip Kota intel,hsio: 53*1d51a2caSDilip Kota $ref: /schemas/types.yaml#/definitions/phandle-array 54*1d51a2caSDilip Kota description: HSIO registers handle and ComboPhy instance id on NOC 55*1d51a2caSDilip Kota 56*1d51a2caSDilip Kota intel,aggregation: 57*1d51a2caSDilip Kota type: boolean 58*1d51a2caSDilip Kota description: | 59*1d51a2caSDilip Kota Specify the flag to configure ComboPHY in dual lane mode. 60*1d51a2caSDilip Kota 61*1d51a2caSDilip Kota intel,phy-mode: 62*1d51a2caSDilip Kota $ref: /schemas/types.yaml#/definitions/uint32 63*1d51a2caSDilip Kota description: | 64*1d51a2caSDilip Kota Mode of the two phys in ComboPhy. 65*1d51a2caSDilip Kota See dt-bindings/phy/phy.h for values. 66*1d51a2caSDilip Kota 67*1d51a2caSDilip Kota "#phy-cells": 68*1d51a2caSDilip Kota const: 1 69*1d51a2caSDilip Kota 70*1d51a2caSDilip Kotarequired: 71*1d51a2caSDilip Kota - compatible 72*1d51a2caSDilip Kota - clocks 73*1d51a2caSDilip Kota - reg 74*1d51a2caSDilip Kota - reg-names 75*1d51a2caSDilip Kota - intel,syscfg 76*1d51a2caSDilip Kota - intel,hsio 77*1d51a2caSDilip Kota - intel,phy-mode 78*1d51a2caSDilip Kota - "#phy-cells" 79*1d51a2caSDilip Kota 80*1d51a2caSDilip KotaadditionalProperties: false 81*1d51a2caSDilip Kota 82*1d51a2caSDilip Kotaexamples: 83*1d51a2caSDilip Kota - | 84*1d51a2caSDilip Kota #include <dt-bindings/phy/phy.h> 85*1d51a2caSDilip Kota combophy@d0a00000 { 86*1d51a2caSDilip Kota compatible = "intel,combophy-lgm", "intel,combo-phy"; 87*1d51a2caSDilip Kota clocks = <&cgu0 1>; 88*1d51a2caSDilip Kota #phy-cells = <1>; 89*1d51a2caSDilip Kota reg = <0xd0a00000 0x40000>, 90*1d51a2caSDilip Kota <0xd0a40000 0x1000>; 91*1d51a2caSDilip Kota reg-names = "core", "app"; 92*1d51a2caSDilip Kota resets = <&rcu0 0x50 6>, 93*1d51a2caSDilip Kota <&rcu0 0x50 17>, 94*1d51a2caSDilip Kota <&rcu0 0x50 23>, 95*1d51a2caSDilip Kota <&rcu0 0x50 24>; 96*1d51a2caSDilip Kota reset-names = "phy", "core", "iphy0", "iphy1"; 97*1d51a2caSDilip Kota intel,syscfg = <&sysconf 0>; 98*1d51a2caSDilip Kota intel,hsio = <&hsiol 0>; 99*1d51a2caSDilip Kota intel,phy-mode = <PHY_TYPE_PCIE>; 100*1d51a2caSDilip Kota intel,aggregation; 101*1d51a2caSDilip Kota }; 102