| .. | .. |
|---|
| 164 | 164 | status = "okay"; |
|---|
| 165 | 165 | }; |
|---|
| 166 | 166 | |
|---|
| 167 | | -&pio { |
|---|
| 168 | | - usb0_id_detect_pin: usb0-id-detect-pin { |
|---|
| 169 | | - pins = "PH4"; |
|---|
| 170 | | - function = "gpio_in"; |
|---|
| 171 | | - bias-pull-up; |
|---|
| 172 | | - }; |
|---|
| 173 | | - |
|---|
| 174 | | - usb0_vbus_detect_pin: usb0-vbus-detect-pin { |
|---|
| 175 | | - pins = "PH5"; |
|---|
| 176 | | - function = "gpio_in"; |
|---|
| 177 | | - bias-pull-down; |
|---|
| 178 | | - }; |
|---|
| 179 | | -}; |
|---|
| 180 | | - |
|---|
| 181 | 167 | &pwm { |
|---|
| 182 | 168 | pinctrl-names = "default"; |
|---|
| 183 | 169 | pinctrl-0 = <&pwm0_pin>; |
|---|
| .. | .. |
|---|
| 233 | 219 | }; |
|---|
| 234 | 220 | |
|---|
| 235 | 221 | &usbphy { |
|---|
| 236 | | - pinctrl-names = "default"; |
|---|
| 237 | | - pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>; |
|---|
| 238 | | - usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */ |
|---|
| 239 | | - usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */ |
|---|
| 222 | + usb0_id_det-gpios = <&pio 7 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; /* PH4 */ |
|---|
| 223 | + usb0_vbus_det-gpios = <&pio 7 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; /* PH5 */ |
|---|
| 240 | 224 | usb0_vbus-supply = <®_usb0_vbus>; |
|---|
| 241 | 225 | usb1_vbus-supply = <®_usb1_vbus>; |
|---|
| 242 | 226 | usb2_vbus-supply = <®_usb2_vbus>; |
|---|