diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2020-06-05 19:28:32 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2020-06-05 19:28:32 +0000 |
commit | 5df7ea339a6ba20ce6c2a001807a43a7cc1e9fe8 (patch) | |
tree | afa0718f88637c22a2d4a25cf54e32b0e701b338 /Bindings/usb/ingenic,jz4770-phy.yaml | |
parent | 937eaf8bbdcf7e2cd3231b71940f9221e6857210 (diff) | |
download | src-5df7ea339a6ba20ce6c2a001807a43a7cc1e9fe8.tar.gz src-5df7ea339a6ba20ce6c2a001807a43a7cc1e9fe8.zip |
Notes
Diffstat (limited to 'Bindings/usb/ingenic,jz4770-phy.yaml')
-rw-r--r-- | Bindings/usb/ingenic,jz4770-phy.yaml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/Bindings/usb/ingenic,jz4770-phy.yaml b/Bindings/usb/ingenic,jz4770-phy.yaml new file mode 100644 index 000000000000..a81b0b1a2226 --- /dev/null +++ b/Bindings/usb/ingenic,jz4770-phy.yaml @@ -0,0 +1,52 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/ingenic,jz4770-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ingenic JZ4770 USB PHY devicetree bindings + +maintainers: + - Paul Cercueil <paul@crapouillou.net> + +properties: + $nodename: + pattern: '^usb-phy@.*' + + compatible: + enum: + - ingenic,jz4770-phy + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + vcc-supply: + description: VCC power supply + + '#phy-cells': + const: 0 + +required: + - compatible + - reg + - clocks + - vcc-supply + - '#phy-cells' + +additionalProperties: false + +examples: + - | + #include <dt-bindings/clock/jz4770-cgu.h> + otg_phy: usb-phy@3c { + compatible = "ingenic,jz4770-phy"; + reg = <0x3c 0x10>; + + vcc-supply = <&vcc>; + clocks = <&cgu JZ4770_CLK_OTG_PHY>; + + #phy-cells = <0>; + }; |