1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/phy/brcm,sr-usb-combo-phy.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Broadcom Stingray USB PHY 8 9maintainers: 10 - Ray Jui <rjui@broadcom.com> 11 - Scott Branden <sbranden@broadcom.com> 12 13properties: 14 compatible: 15 enum: 16 - brcm,sr-usb-combo-phy 17 - brcm,sr-usb-hs-phy 18 19 reg: 20 maxItems: 1 21 22 '#phy-cells': 23 description: PHY cell count indicating PHY type 24 enum: [ 0, 1 ] 25 26required: 27 - compatible 28 - reg 29 - '#phy-cells' 30 31allOf: 32 - if: 33 properties: 34 compatible: 35 contains: 36 const: brcm,sr-usb-combo-phy 37 then: 38 properties: 39 '#phy-cells': 40 const: 1 41 - if: 42 properties: 43 compatible: 44 contains: 45 const: brcm,sr-usb-hs-phy 46 then: 47 properties: 48 '#phy-cells': 49 const: 0 50 51additionalProperties: false 52 53examples: 54 - | 55 usb-phy@0 { 56 compatible = "brcm,sr-usb-combo-phy"; 57 reg = <0x00000000 0x100>; 58 #phy-cells = <1>; 59 }; 60 - | 61 usb-phy@20000 { 62 compatible = "brcm,sr-usb-hs-phy"; 63 reg = <0x00020000 0x100>; 64 #phy-cells = <0>; 65 }; 66