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