Paul Cercueil | adc221b | 2020-02-29 13:18:19 -0300 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/usb/ingenic,jz4770-phy.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
周琰杰 (Zhou Yanjie) | 4afd6fe4 | 2020-07-23 14:12:58 +0800 | [diff] [blame^] | 7 | title: Ingenic SoCs USB PHY devicetree bindings |
Paul Cercueil | adc221b | 2020-02-29 13:18:19 -0300 | [diff] [blame] | 8 | |
| 9 | maintainers: |
| 10 | - Paul Cercueil <paul@crapouillou.net> |
周琰杰 (Zhou Yanjie) | 4afd6fe4 | 2020-07-23 14:12:58 +0800 | [diff] [blame^] | 11 | - 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com> |
Paul Cercueil | adc221b | 2020-02-29 13:18:19 -0300 | [diff] [blame] | 12 | |
| 13 | properties: |
| 14 | $nodename: |
| 15 | pattern: '^usb-phy@.*' |
| 16 | |
| 17 | compatible: |
| 18 | enum: |
| 19 | - ingenic,jz4770-phy |
周琰杰 (Zhou Yanjie) | 4afd6fe4 | 2020-07-23 14:12:58 +0800 | [diff] [blame^] | 20 | - ingenic,jz4780-phy |
| 21 | - ingenic,x1000-phy |
| 22 | - ingenic,x1830-phy |
Paul Cercueil | adc221b | 2020-02-29 13:18:19 -0300 | [diff] [blame] | 23 | |
| 24 | reg: |
| 25 | maxItems: 1 |
| 26 | |
| 27 | clocks: |
| 28 | maxItems: 1 |
| 29 | |
| 30 | vcc-supply: |
| 31 | description: VCC power supply |
| 32 | |
| 33 | '#phy-cells': |
| 34 | const: 0 |
| 35 | |
| 36 | required: |
| 37 | - compatible |
| 38 | - reg |
| 39 | - clocks |
| 40 | - vcc-supply |
| 41 | - '#phy-cells' |
| 42 | |
| 43 | additionalProperties: false |
| 44 | |
| 45 | examples: |
| 46 | - | |
| 47 | #include <dt-bindings/clock/jz4770-cgu.h> |
| 48 | otg_phy: usb-phy@3c { |
| 49 | compatible = "ingenic,jz4770-phy"; |
| 50 | reg = <0x3c 0x10>; |
| 51 | |
| 52 | vcc-supply = <&vcc>; |
| 53 | clocks = <&cgu JZ4770_CLK_OTG_PHY>; |
| 54 | |
| 55 | #phy-cells = <0>; |
| 56 | }; |