41 lines · plain
1Motorola CPCAP PMIC USB PHY binding2 3Required properties:4compatible: Shall be either "motorola,cpcap-usb-phy" or5 "motorola,mapphone-cpcap-usb-phy"6#phy-cells: Shall be 07interrupts: CPCAP PMIC interrupts used by the USB PHY8interrupt-names: Interrupt names9io-channels: IIO ADC channels used by the USB PHY10io-channel-names: IIO ADC channel names11vusb-supply: Regulator for the PHY12 13Optional properties:14pinctrl: Optional alternate pin modes for the PHY15pinctrl-names: Names for optional pin modes16mode-gpios: Optional GPIOs for configuring alternate modes17 18Example:19cpcap_usb2_phy: phy {20 compatible = "motorola,mapphone-cpcap-usb-phy";21 pinctrl-0 = <&usb_gpio_mux_sel1 &usb_gpio_mux_sel2>;22 pinctrl-1 = <&usb_ulpi_pins>;23 pinctrl-2 = <&usb_utmi_pins>;24 pinctrl-3 = <&uart3_pins>;25 pinctrl-names = "default", "ulpi", "utmi", "uart";26 #phy-cells = <0>;27 interrupts-extended = <28 &cpcap 15 0 &cpcap 14 0 &cpcap 28 0 &cpcap 19 029 &cpcap 18 0 &cpcap 17 0 &cpcap 16 0 &cpcap 49 030 &cpcap 48 131 >;32 interrupt-names =33 "id_ground", "id_float", "se0conn", "vbusvld",34 "sessvld", "sessend", "se1", "dm", "dp";35 mode-gpios = <&gpio2 28 GPIO_ACTIVE_HIGH36 &gpio1 0 GPIO_ACTIVE_HIGH>;37 io-channels = <&cpcap_adc 2>, <&cpcap_adc 7>;38 io-channel-names = "vbus", "id";39 vusb-supply = <&vusb>;40};41