Lines Matching +full:vbus +full:- +full:gpios
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/phy/motorola,cpcap-usb-phy.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Tony Lindgren <tony@atomide.com>
15 - motorola,cpcap-usb-phy
16 - motorola,mapphone-cpcap-usb-phy
18 '#phy-cells':
24 - description: id_ground interrupt
25 - description: id_float interrupt
26 - description: se0conn interrupt
27 - description: vbusvld interrupt
28 - description: sessvld interrupt
29 - description: sessend interrupt
30 - description: se1 interrupt
31 - description: dm interrupt
32 - description: dp interrupt
34 interrupt-names:
37 - const: id_ground
38 - const: id_float
39 - const: se0conn
40 - const: vbusvld
41 - const: sessvld
42 - const: sessend
43 - const: se1
44 - const: dm
45 - const: dp
47 io-channels:
50 - description: vbus channel
51 - description: id channel
53 io-channel-names:
55 - const: vbus
56 - const: id
58 vusb-supply: true
60 pinctrl-names:
62 - const: default
63 - const: ulpi
64 - const: utmi
65 - const: uart
67 mode-gpios:
68 description: Optional GPIOs for configuring alternate modes
70 - description: "mode selection GPIO #0"
71 - description: "mode selection GPIO #1"
74 - compatible
75 - '#phy-cells'
76 - interrupts-extended
77 - interrupt-names
78 - io-channels
79 - io-channel-names
80 - vusb-supply
85 - |
86 #include <dt-bindings/gpio/gpio.h>
89 compatible = "motorola,mapphone-cpcap-usb-phy";
90 #phy-cells = <0>;
91 interrupts-extended = <
96 interrupt-names = "id_ground", "id_float", "se0conn", "vbusvld",
98 io-channels = <&cpcap_adc 2>, <&cpcap_adc 7>;
99 io-channel-names = "vbus", "id";
100 vusb-supply = <&vusb>;
101 pinctrl-0 = <&usb_gpio_mux_sel1 &usb_gpio_mux_sel2>;
102 pinctrl-1 = <&usb_ulpi_pins>;
103 pinctrl-2 = <&usb_utmi_pins>;
104 pinctrl-3 = <&uart3_pins>;
105 pinctrl-names = "default", "ulpi", "utmi", "uart";
106 mode-gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>, <&gpio1 0 GPIO_ACTIVE_HIGH>;