Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/phy/bcm-ns-usb2-phy.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Broadcom Northstar USB 2.0 PHY
0008 
0009 description: >
0010   To initialize USB 2.0 PHY driver needs to setup PLL correctly.
0011   To do this it requires passing phandle to the USB PHY reference clock.
0012 
0013 maintainers:
0014   - Rafał Miłecki <rafal@milecki.pl>
0015 
0016 properties:
0017   compatible:
0018     const: brcm,ns-usb2-phy
0019 
0020   reg:
0021     anyOf:
0022       - maxItems: 1
0023         description: PHY control register
0024       - maxItems: 1
0025         description: iomem address range of DMU (Device Management Unit)
0026         deprecated: true
0027 
0028   reg-names:
0029     items:
0030       - const: dmu
0031 
0032   brcm,syscon-clkset:
0033     description: phandle to syscon for clkset register
0034     $ref: /schemas/types.yaml#/definitions/phandle
0035 
0036   clocks:
0037     items:
0038       - description: USB PHY reference clock
0039 
0040   clock-names:
0041     items:
0042       - const: phy-ref-clk
0043 
0044   "#phy-cells":
0045     const: 0
0046 
0047 required:
0048   - compatible
0049   - reg
0050   - clocks
0051   - clock-names
0052   - "#phy-cells"
0053 
0054 oneOf:
0055   - required:
0056       - brcm,syscon-clkset
0057   - required:
0058       - reg-names
0059 
0060 additionalProperties: false
0061 
0062 examples:
0063   - |
0064     #include <dt-bindings/clock/bcm-nsp.h>
0065     phy@1800c164 {
0066         compatible = "brcm,ns-usb2-phy";
0067         reg = <0x1800c164 0x4>;
0068         brcm,syscon-clkset = <&clkset>;
0069         clocks = <&genpll BCM_NSP_GENPLL_USB_PHY_REF_CLK>;
0070         clock-names = "phy-ref-clk";
0071         #phy-cells = <0>;
0072     };