1 Device tree binding documentation for Motorola 1 Device tree binding documentation for Motorola Mapphone MDM6600 USB PHY 2 2 3 Required properties: 3 Required properties: 4 - compatible Must be "motorola,mapp 4 - compatible Must be "motorola,mapphone-mdm6600" 5 - enable-gpios GPIO to enable the USB 5 - enable-gpios GPIO to enable the USB PHY 6 - power-gpios GPIO to power on the d 6 - power-gpios GPIO to power on the device 7 - reset-gpios GPIO to reset the devi 7 - reset-gpios GPIO to reset the device 8 - motorola,mode-gpios Two GPIOs to configure 8 - motorola,mode-gpios Two GPIOs to configure MDM6600 USB start-up mode for 9 normal mode versus USB 9 normal mode versus USB flashing mode 10 - motorola,cmd-gpios Three GPIOs to control 10 - motorola,cmd-gpios Three GPIOs to control the power state of the MDM6600 11 - motorola,status-gpios Three GPIOs to read th 11 - motorola,status-gpios Three GPIOs to read the power state of the MDM6600 12 12 13 Example: 13 Example: 14 14 15 usb-phy { 15 usb-phy { 16 compatible = "motorola,mapphone-mdm660 16 compatible = "motorola,mapphone-mdm6600"; 17 enable-gpios = <&gpio3 31 GPIO_ACTIVE_ 17 enable-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>; 18 power-gpios = <&gpio2 22 GPIO_ACTIVE_H 18 power-gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>; 19 reset-gpios = <&gpio2 17 GPIO_ACTIVE_H 19 reset-gpios = <&gpio2 17 GPIO_ACTIVE_HIGH>; 20 motorola,mode-gpios = <&gpio5 20 GPIO_ 20 motorola,mode-gpios = <&gpio5 20 GPIO_ACTIVE_HIGH>, 21 <&gpio5 21 GPIO_ 21 <&gpio5 21 GPIO_ACTIVE_HIGH>; 22 motorola,cmd-gpios = <&gpio4 7 GPIO_AC 22 motorola,cmd-gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>, 23 <&gpio4 8 GPIO_AC 23 <&gpio4 8 GPIO_ACTIVE_HIGH>, 24 <&gpio5 14 GPIO_A 24 <&gpio5 14 GPIO_ACTIVE_HIGH>; 25 motorola,status-gpios = <&gpio2 20 GPI 25 motorola,status-gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>, 26 <&gpio2 21 GPI 26 <&gpio2 21 GPIO_ACTIVE_HIGH>, 27 <&gpio2 23 GPI 27 <&gpio2 23 GPIO_ACTIVE_HIGH>; 28 #phy-cells = <0>; 28 #phy-cells = <0>; 29 }; 29 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.