hc
2023-05-26 a23f51ed7a39e452c1037343a84d7db1ca2c5bd7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
* Amlogic Meson GXL and GXM USB3 PHY and OTG detection binding
 
Required properties:
- compatible:    Should be "amlogic,meson-gxl-usb3-phy"
- #phys-cells:    must be 0 (see phy-bindings.txt in this directory)
- reg:        The base address and length of the registers
- interrupts:    the interrupt specifier for the OTG detection
- clocks:    phandles to the clocks for
       - the USB3 PHY
       - and peripheral mode/OTG detection
- clock-names:    must contain "phy" and "peripheral"
- resets:    phandle to the reset lines for:
       - the USB3 PHY and
       - peripheral mode/OTG detection
- reset-names:    must contain "phy" and "peripheral"
 
Optional properties:
- phy-supply:    see phy-bindings.txt in this directory
 
 
Example:
   usb3_phy0: phy@78080 {
       compatible = "amlogic,meson-gxl-usb3-phy";
       #phy-cells = <0>;
       reg = <0x0 0x78080 0x0 0x20>;
       interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
       clocks = <&clkc CLKID_USB_OTG>, <&clkc_AO CLKID_AO_CEC_32K>;
       clock-names = "phy", "peripheral";
       resets = <&reset RESET_USB_OTG>, <&reset RESET_USB_OTG>;
       reset-names = "phy", "peripheral";
   };