Lines Matching +full:usb +full:- +full:phy
1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/phy/allwinner,sun50i-a64-usb-phy.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A64 USB PHY
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
14 "#phy-cells":
19 - allwinner,sun20i-d1-usb-phy
20 - allwinner,sun50i-a64-usb-phy
24 - description: PHY Control registers
25 - description: PHY PMU0 registers
26 - description: PHY PMU1 registers
28 reg-names:
30 - const: phy_ctrl
31 - const: pmu0
32 - const: pmu1
36 - description: USB OTG PHY bus clock
37 - description: USB Host 0 PHY bus clock
39 clock-names:
41 - const: usb0_phy
42 - const: usb1_phy
46 - description: USB OTG reset
47 - description: USB Host 1 Controller reset
49 reset-names:
51 - const: usb0_reset
52 - const: usb1_reset
54 usb0_id_det-gpios:
56 description: GPIO to the USB OTG ID pin
58 usb0_vbus_det-gpios:
60 description: GPIO to the USB OTG VBUS detect pin
62 usb0_vbus_power-supply:
63 description: Power supply to detect the USB OTG VBUS
65 usb0_vbus-supply:
66 description: Regulator controlling USB OTG VBUS
68 usb1_vbus-supply:
72 - "#phy-cells"
73 - compatible
74 - clocks
75 - clock-names
76 - reg
77 - reg-names
78 - resets
79 - reset-names
84 - |
85 #include <dt-bindings/gpio/gpio.h>
86 #include <dt-bindings/clock/sun50i-a64-ccu.h>
87 #include <dt-bindings/reset/sun50i-a64-ccu.h>
89 phy@1c19400 {
90 #phy-cells = <1>;
91 compatible = "allwinner,sun50i-a64-usb-phy";
95 reg-names = "phy_ctrl",
100 clock-names = "usb0_phy",
104 reset-names = "usb0_reset",
106 usb0_id_det-gpios = <&pio 7 9 GPIO_ACTIVE_HIGH>; /* PH9 */
107 usb0_vbus_power-supply = <&usb_power_supply>;
108 usb0_vbus-supply = <®_drivevbus>;
109 usb1_vbus-supply = <®_usb1_vbus>;