xref: /freebsd/sys/contrib/device-tree/Bindings/phy/phy-mapphone-mdm6600.txt (revision dd41de95a84d979615a2ef11df6850622bf6184e)
1Device tree binding documentation for Motorola Mapphone MDM6600 USB PHY
2
3Required properties:
4- compatible		Must be "motorola,mapphone-mdm6600"
5- enable-gpios		GPIO to enable the USB PHY
6- power-gpios		GPIO to power on the device
7- reset-gpios		GPIO to reset the device
8- motorola,mode-gpios	Two GPIOs to configure MDM6600 USB start-up mode for
9			normal mode versus USB flashing mode
10- motorola,cmd-gpios	Three GPIOs to control the power state of the MDM6600
11- motorola,status-gpios	Three GPIOs to read the power state of the MDM6600
12
13Example:
14
15usb-phy {
16	compatible = "motorola,mapphone-mdm6600";
17	enable-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>;
18	power-gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>;
19	reset-gpios = <&gpio2 17 GPIO_ACTIVE_HIGH>;
20	motorola,mode-gpios = <&gpio5 20 GPIO_ACTIVE_HIGH>,
21			      <&gpio5 21 GPIO_ACTIVE_HIGH>;
22	motorola,cmd-gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>,
23			     <&gpio4 8 GPIO_ACTIVE_HIGH>,
24			     <&gpio5 14 GPIO_ACTIVE_HIGH>;
25	motorola,status-gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>,
26				<&gpio2 21 GPIO_ACTIVE_HIGH>,
27				<&gpio2 23 GPIO_ACTIVE_HIGH>;
28	#phy-cells = <0>;
29};
30