.. | .. |
---|
114 | 114 | }; |
---|
115 | 115 | |
---|
116 | 116 | &emac { |
---|
117 | | - phy = <&phy1>; |
---|
| 117 | + phy-handle = <&phy1>; |
---|
118 | 118 | status = "okay"; |
---|
119 | 119 | }; |
---|
120 | 120 | |
---|
.. | .. |
---|
184 | 184 | function = "gpio_out"; |
---|
185 | 185 | drive-strength = <20>; |
---|
186 | 186 | }; |
---|
187 | | - |
---|
188 | | - usb0_id_detect_pin: usb0-id-detect-pin { |
---|
189 | | - pins = "PH4"; |
---|
190 | | - function = "gpio_in"; |
---|
191 | | - bias-pull-up; |
---|
192 | | - }; |
---|
193 | 187 | }; |
---|
194 | 188 | |
---|
195 | 189 | ®_ahci_5v { |
---|
.. | .. |
---|
254 | 248 | }; |
---|
255 | 249 | |
---|
256 | 250 | &usbphy { |
---|
257 | | - pinctrl-names = "default"; |
---|
258 | | - pinctrl-0 = <&usb0_id_detect_pin>; |
---|
259 | | - usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */ |
---|
| 251 | + usb0_id_det-gpios = <&pio 7 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; /* PH4 */ |
---|
260 | 252 | usb1_vbus-supply = <®_usb1_vbus>; |
---|
261 | 253 | usb2_vbus-supply = <®_usb2_vbus>; |
---|
262 | 254 | status = "okay"; |
---|