xref: /freebsd/sys/contrib/device-tree/Bindings/phy/ingenic,phy-usb.yaml (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/phy/ingenic,phy-usb.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
7*8bab661aSEmmanuel Vadottitle: Ingenic SoCs USB PHY
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel Vadotmaintainers:
105def4c47SEmmanuel Vadot  - Paul Cercueil <paul@crapouillou.net>
115def4c47SEmmanuel Vadot  - 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
125def4c47SEmmanuel Vadot
135def4c47SEmmanuel Vadotproperties:
145def4c47SEmmanuel Vadot  $nodename:
155def4c47SEmmanuel Vadot    pattern: '^usb-phy@.*'
165def4c47SEmmanuel Vadot
175def4c47SEmmanuel Vadot  compatible:
185def4c47SEmmanuel Vadot    enum:
195def4c47SEmmanuel Vadot      - ingenic,jz4770-phy
205def4c47SEmmanuel Vadot      - ingenic,jz4775-phy
215def4c47SEmmanuel Vadot      - ingenic,jz4780-phy
225def4c47SEmmanuel Vadot      - ingenic,x1000-phy
235def4c47SEmmanuel Vadot      - ingenic,x1830-phy
245def4c47SEmmanuel Vadot      - ingenic,x2000-phy
255def4c47SEmmanuel Vadot
265def4c47SEmmanuel Vadot  reg:
275def4c47SEmmanuel Vadot    maxItems: 1
285def4c47SEmmanuel Vadot
295def4c47SEmmanuel Vadot  clocks:
305def4c47SEmmanuel Vadot    maxItems: 1
315def4c47SEmmanuel Vadot
325def4c47SEmmanuel Vadot  vcc-supply:
335def4c47SEmmanuel Vadot    description: VCC power supply
345def4c47SEmmanuel Vadot
355def4c47SEmmanuel Vadot  '#phy-cells':
365def4c47SEmmanuel Vadot    const: 0
375def4c47SEmmanuel Vadot
385def4c47SEmmanuel Vadotrequired:
395def4c47SEmmanuel Vadot  - compatible
405def4c47SEmmanuel Vadot  - reg
415def4c47SEmmanuel Vadot  - clocks
425def4c47SEmmanuel Vadot  - vcc-supply
435def4c47SEmmanuel Vadot  - '#phy-cells'
445def4c47SEmmanuel Vadot
455def4c47SEmmanuel VadotadditionalProperties: false
465def4c47SEmmanuel Vadot
475def4c47SEmmanuel Vadotexamples:
485def4c47SEmmanuel Vadot  - |
498cc087a1SEmmanuel Vadot    #include <dt-bindings/clock/ingenic,jz4770-cgu.h>
505def4c47SEmmanuel Vadot    otg_phy: usb-phy@3c {
515def4c47SEmmanuel Vadot      compatible = "ingenic,jz4770-phy";
525def4c47SEmmanuel Vadot      reg = <0x3c 0x10>;
535def4c47SEmmanuel Vadot
545def4c47SEmmanuel Vadot      vcc-supply = <&vcc>;
555def4c47SEmmanuel Vadot      clocks = <&cgu JZ4770_CLK_OTG_PHY>;
565def4c47SEmmanuel Vadot
575def4c47SEmmanuel Vadot      #phy-cells = <0>;
585def4c47SEmmanuel Vadot    };
59