0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: "http://devicetree.org/schemas/phy/brcm,bcm63xx-usbh-phy.yaml#"
0005 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
0006
0007 title: BCM63xx USBH PHY
0008
0009 maintainers:
0010 - Álvaro Fernández Rojas <noltari@gmail.com>
0011
0012 properties:
0013 compatible:
0014 enum:
0015 - brcm,bcm6318-usbh-phy
0016 - brcm,bcm6328-usbh-phy
0017 - brcm,bcm6358-usbh-phy
0018 - brcm,bcm6362-usbh-phy
0019 - brcm,bcm6368-usbh-phy
0020 - brcm,bcm63268-usbh-phy
0021
0022 reg:
0023 maxItems: 1
0024
0025 clocks:
0026 minItems: 1
0027 maxItems: 2
0028
0029 clock-names:
0030 minItems: 1
0031 items:
0032 - const: usbh
0033 - const: usb_ref
0034
0035 resets:
0036 maxItems: 1
0037
0038 "#phy-cells":
0039 const: 1
0040
0041 additionalProperties: false
0042
0043 required:
0044 - compatible
0045 - reg
0046 - clocks
0047 - clock-names
0048 - resets
0049 - "#phy-cells"
0050
0051 if:
0052 properties:
0053 compatible:
0054 enum:
0055 - brcm,bcm6318-usbh-phy
0056 - brcm,bcm6328-usbh-phy
0057 - brcm,bcm6362-usbh-phy
0058 - brcm,bcm63268-usbh-phy
0059 then:
0060 properties:
0061 power-domains:
0062 maxItems: 1
0063 required:
0064 - power-domains
0065 else:
0066 properties:
0067 power-domains: false
0068
0069 examples:
0070 - |
0071 usbh: usb-phy@10001700 {
0072 compatible = "brcm,bcm6368-usbh-phy";
0073 reg = <0x10001700 0x38>;
0074 clocks = <&periph_clk 15>;
0075 clock-names = "usbh";
0076 resets = <&periph_rst 12>;
0077 #phy-cells = <1>;
0078 };