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 | --- |
周琰杰 (Zhou Yanjie) | 4f6ecfa | 2020-11-16 22:19:05 +0800 | [diff] [blame] | 4 | $id: http://devicetree.org/schemas/phy/ingenic,phy-usb.yaml# |
Paul Cercueil | adc221b | 2020-02-29 13:18:19 -0300 | [diff] [blame] | 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) | 4f6ecfa | 2020-11-16 22:19:05 +0800 | [diff] [blame] | 20 | - ingenic,jz4775-phy |
周琰杰 (Zhou Yanjie) | 4afd6fe4 | 2020-07-23 14:12:58 +0800 | [diff] [blame] | 21 | - ingenic,jz4780-phy |
| 22 | - ingenic,x1000-phy |
| 23 | - ingenic,x1830-phy |
周琰杰 (Zhou Yanjie) | 4f6ecfa | 2020-11-16 22:19:05 +0800 | [diff] [blame] | 24 | - ingenic,x2000-phy |
Paul Cercueil | adc221b | 2020-02-29 13:18:19 -0300 | [diff] [blame] | 25 | |
| 26 | reg: |
| 27 | maxItems: 1 |
| 28 | |
| 29 | clocks: |
| 30 | maxItems: 1 |
| 31 | |
| 32 | vcc-supply: |
| 33 | description: VCC power supply |
| 34 | |
| 35 | '#phy-cells': |
| 36 | const: 0 |
| 37 | |
| 38 | required: |
| 39 | - compatible |
| 40 | - reg |
| 41 | - clocks |
| 42 | - vcc-supply |
| 43 | - '#phy-cells' |
| 44 | |
| 45 | additionalProperties: false |
| 46 | |
| 47 | examples: |
| 48 | - | |
Paul Cercueil | c4a11bf | 2021-10-16 14:33:21 +0100 | [diff] [blame] | 49 | #include <dt-bindings/clock/ingenic,jz4770-cgu.h> |
Paul Cercueil | adc221b | 2020-02-29 13:18:19 -0300 | [diff] [blame] | 50 | otg_phy: usb-phy@3c { |
| 51 | compatible = "ingenic,jz4770-phy"; |
| 52 | reg = <0x3c 0x10>; |
| 53 | |
| 54 | vcc-supply = <&vcc>; |
| 55 | clocks = <&cgu JZ4770_CLK_OTG_PHY>; |
| 56 | |
| 57 | #phy-cells = <0>; |
| 58 | }; |