0001 Device tree binding documentation for Motorola Mapphone MDM6600 USB PHY
0002
0003 Required properties:
0004 - compatible Must be "motorola,mapphone-mdm6600"
0005 - enable-gpios GPIO to enable the USB PHY
0006 - power-gpios GPIO to power on the device
0007 - reset-gpios GPIO to reset the device
0008 - motorola,mode-gpios Two GPIOs to configure MDM6600 USB start-up mode for
0009 normal mode versus USB flashing mode
0010 - motorola,cmd-gpios Three GPIOs to control the power state of the MDM6600
0011 - motorola,status-gpios Three GPIOs to read the power state of the MDM6600
0012
0013 Example:
0014
0015 usb-phy {
0016 compatible = "motorola,mapphone-mdm6600";
0017 enable-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>;
0018 power-gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>;
0019 reset-gpios = <&gpio2 17 GPIO_ACTIVE_HIGH>;
0020 motorola,mode-gpios = <&gpio5 20 GPIO_ACTIVE_HIGH>,
0021 <&gpio5 21 GPIO_ACTIVE_HIGH>;
0022 motorola,cmd-gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>,
0023 <&gpio4 8 GPIO_ACTIVE_HIGH>,
0024 <&gpio5 14 GPIO_ACTIVE_HIGH>;
0025 motorola,status-gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>,
0026 <&gpio2 21 GPIO_ACTIVE_HIGH>,
0027 <&gpio2 23 GPIO_ACTIVE_HIGH>;
0028 #phy-cells = <0>;
0029 };