Back to home page

OSCL-LXR

 
 

    


0001 Motorola CPCAP PMIC USB PHY binding
0002 
0003 Required properties:
0004 compatible: Shall be either "motorola,cpcap-usb-phy" or
0005             "motorola,mapphone-cpcap-usb-phy"
0006 #phy-cells: Shall be 0
0007 interrupts: CPCAP PMIC interrupts used by the USB PHY
0008 interrupt-names: Interrupt names
0009 io-channels: IIO ADC channels used by the USB PHY
0010 io-channel-names: IIO ADC channel names
0011 vusb-supply: Regulator for the PHY
0012 
0013 Optional properties:
0014 pinctrl: Optional alternate pin modes for the PHY
0015 pinctrl-names: Names for optional pin modes
0016 mode-gpios: Optional GPIOs for configuring alternate modes
0017 
0018 Example:
0019 cpcap_usb2_phy: phy {
0020         compatible = "motorola,mapphone-cpcap-usb-phy";
0021         pinctrl-0 = <&usb_gpio_mux_sel1 &usb_gpio_mux_sel2>;
0022         pinctrl-1 = <&usb_ulpi_pins>;
0023         pinctrl-2 = <&usb_utmi_pins>;
0024         pinctrl-3 = <&uart3_pins>;
0025         pinctrl-names = "default", "ulpi", "utmi", "uart";
0026         #phy-cells = <0>;
0027         interrupts-extended = <
0028                 &cpcap 15 0 &cpcap 14 0 &cpcap 28 0 &cpcap 19 0
0029                 &cpcap 18 0 &cpcap 17 0 &cpcap 16 0 &cpcap 49 0
0030                 &cpcap 48 1
0031         >;
0032         interrupt-names =
0033                 "id_ground", "id_float", "se0conn", "vbusvld",
0034                 "sessvld", "sessend", "se1", "dm", "dp";
0035         mode-gpios = <&gpio2 28 GPIO_ACTIVE_HIGH
0036                       &gpio1 0 GPIO_ACTIVE_HIGH>;
0037         io-channels = <&cpcap_adc 2>, <&cpcap_adc 7>;
0038         io-channel-names = "vbus", "id";
0039         vusb-supply = <&vusb>;
0040 };