^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) Motorola CPCAP PMIC USB PHY binding
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) compatible: Shall be either "motorola,cpcap-usb-phy" or
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) "motorola,mapphone-cpcap-usb-phy"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) #phy-cells: Shall be 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) interrupts: CPCAP PMIC interrupts used by the USB PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) interrupt-names: Interrupt names
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) io-channels: IIO ADC channels used by the USB PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) io-channel-names: IIO ADC channel names
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) vusb-supply: Regulator for the PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) pinctrl: Optional alternate pin modes for the PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) pinctrl-names: Names for optional pin modes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) mode-gpios: Optional GPIOs for configuring alternate modes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) cpcap_usb2_phy: phy {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) compatible = "motorola,mapphone-cpcap-usb-phy";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) pinctrl-0 = <&usb_gpio_mux_sel1 &usb_gpio_mux_sel2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) pinctrl-1 = <&usb_ulpi_pins>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) pinctrl-2 = <&usb_utmi_pins>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) pinctrl-3 = <&uart3_pins>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) pinctrl-names = "default", "ulpi", "utmi", "uart";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) #phy-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) interrupts-extended = <
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) &cpcap 15 0 &cpcap 14 0 &cpcap 28 0 &cpcap 19 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) &cpcap 18 0 &cpcap 17 0 &cpcap 16 0 &cpcap 49 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) &cpcap 48 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) >;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) interrupt-names =
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) "id_ground", "id_float", "se0conn", "vbusvld",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) "sessvld", "sessend", "se1", "dm", "dp";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) mode-gpios = <&gpio2 28 GPIO_ACTIVE_HIGH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) &gpio1 0 GPIO_ACTIVE_HIGH>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) io-channels = <&cpcap_adc 2>, <&cpcap_adc 7>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) io-channel-names = "vbus", "id";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) vusb-supply = <&vusb>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) };