1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/phy/bcm-ns-usb2-phy.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Broadcom Northstar USB 2.0 PHY
8
9description: >
10  To initialize USB 2.0 PHY driver needs to setup PLL correctly.
11  To do this it requires passing phandle to the USB PHY reference clock.
12
13maintainers:
14  - Rafał Miłecki <rafal@milecki.pl>
15
16properties:
17  compatible:
18    const: brcm,ns-usb2-phy
19
20  reg:
21    items:
22      - description: iomem address range of DMU (Device Management Unit)
23
24  reg-names:
25    items:
26      - const: dmu
27
28  clocks:
29    items:
30      - description: USB PHY reference clock
31
32  clock-names:
33    items:
34      - const: phy-ref-clk
35
36  "#phy-cells":
37    const: 0
38
39required:
40  - compatible
41  - reg
42  - reg-names
43  - clocks
44  - clock-names
45  - "#phy-cells"
46
47additionalProperties: false
48
49examples:
50  - |
51    #include <dt-bindings/clock/bcm-nsp.h>
52    phy@1800c000 {
53        compatible = "brcm,ns-usb2-phy";
54        reg = <0x1800c000 0x1000>;
55        reg-names = "dmu";
56        clocks = <&genpll BCM_NSP_GENPLL_USB_PHY_REF_CLK>;
57        clock-names = "phy-ref-clk";
58        #phy-cells = <0>;
59    };
60