Lines Matching +full:usb1_vbus +full:- +full:supply
1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/phy/allwinner,sun8i-h3-usb-phy.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
14 "#phy-cells":
19 - allwinner,sun8i-h3-usb-phy
20 - allwinner,sun50i-h616-usb-phy
24 - description: PHY Control registers
25 - description: PHY PMU0 registers
26 - description: PHY PMU1 registers
27 - description: PHY PMU2 registers
28 - description: PHY PMU3 registers
30 reg-names:
32 - const: phy_ctrl
33 - const: pmu0
34 - const: pmu1
35 - const: pmu2
36 - const: pmu3
40 - description: USB OTG PHY bus clock
41 - description: USB Host 0 PHY bus clock
42 - description: USB Host 1 PHY bus clock
43 - description: USB Host 2 PHY bus clock
45 clock-names:
47 - const: usb0_phy
48 - const: usb1_phy
49 - const: usb2_phy
50 - const: usb3_phy
54 - description: USB OTG reset
55 - description: USB Host 1 Controller reset
56 - description: USB Host 2 Controller reset
57 - description: USB Host 3 Controller reset
59 reset-names:
61 - const: usb0_reset
62 - const: usb1_reset
63 - const: usb2_reset
64 - const: usb3_reset
66 usb0_id_det-gpios:
70 usb0_vbus_det-gpios:
74 usb0_vbus_power-supply:
75 description: Power supply to detect the USB OTG VBUS
77 usb0_vbus-supply:
80 usb1_vbus-supply:
83 usb2_vbus-supply:
86 usb3_vbus-supply:
90 - "#phy-cells"
91 - compatible
92 - clocks
93 - clock-names
94 - reg
95 - reg-names
96 - resets
97 - reset-names
102 - |
103 #include <dt-bindings/gpio/gpio.h>
104 #include <dt-bindings/clock/sun8i-h3-ccu.h>
105 #include <dt-bindings/reset/sun8i-h3-ccu.h>
108 #phy-cells = <1>;
109 compatible = "allwinner,sun8i-h3-usb-phy";
115 reg-names = "phy_ctrl",
124 clock-names = "usb0_phy",
132 reset-names = "usb0_reset",
136 usb0_id_det-gpios = <&pio 6 12 GPIO_ACTIVE_HIGH>; /* PG12 */
137 usb0_vbus-supply = <®_usb0_vbus>;
138 usb1_vbus-supply = <®_usb1_vbus>;
139 usb2_vbus-supply = <®_usb2_vbus>;
140 usb3_vbus-supply = <®_usb3_vbus>;