Debian Codegraph @

Documentation/devicetree/bindings/phy/img,pistachio-usb-phy.yaml

raw
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/phy/img,pistachio-usb-phy.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Imagination Pistachio USB PHY
8
9 maintainers:
10 - Andrew Bresticker <[email protected]>
11
12 properties:
13 compatible:
14 const: img,pistachio-usb-phy
15
16 clocks:
17 maxItems: 1
18
19 clock-names:
20 items:
21 - const: usb_phy
22
23 '#phy-cells':
24 const: 0
25
26 phy-supply:
27 description: USB VBUS supply. Must supply 5.0V.
28
29 img,refclk:
30 description:
31 Reference clock source for the USB PHY. See
32 <dt-bindings/phy/phy-pistachio-usb.h> for valid values.
33 $ref: /schemas/types.yaml#/definitions/uint32
34
35 img,cr-top:
36 description: CR_TOP syscon phandle.
37 $ref: /schemas/types.yaml#/definitions/phandle
38
39 required:
40 - compatible
41 - clocks
42 - clock-names
43 - '#phy-cells'
44 - img,refclk
45 - img,cr-top
46
47 additionalProperties: false
48
49 examples:
50 - |
51 #include <dt-bindings/phy/phy-pistachio-usb.h>
52 #include <dt-bindings/clock/pistachio-clk.h>
53
54 usb-phy {
55 compatible = "img,pistachio-usb-phy";
56 clocks = <&clk_core CLK_USB_PHY>;
57 clock-names = "usb_phy";
58 #phy-cells = <0>;
59 phy-supply = <&usb_vbus>;
60 img,refclk = <REFCLK_CLK_CORE>;
61 img,cr-top = <&cr_top>;
62 };