.. | .. |
---|
74 | 74 | |
---|
75 | 75 | leds { |
---|
76 | 76 | compatible = "gpio-leds"; |
---|
77 | | - pinctrl-names = "default"; |
---|
78 | | - pinctrl-0 = <&led_pins_lamobo_r1>; |
---|
79 | 77 | |
---|
80 | 78 | green { |
---|
81 | 79 | label = "lamobo_r1:green:usr"; |
---|
.. | .. |
---|
85 | 83 | |
---|
86 | 84 | reg_gmac_3v3: gmac-3v3 { |
---|
87 | 85 | compatible = "regulator-fixed"; |
---|
88 | | - pinctrl-names = "default"; |
---|
89 | | - pinctrl-0 = <&gmac_power_pin_lamobo_r1>; |
---|
90 | 86 | regulator-name = "gmac-3v3"; |
---|
91 | 87 | regulator-min-microvolt = <3300000>; |
---|
92 | 88 | regulator-max-microvolt = <3300000>; |
---|
.. | .. |
---|
123 | 119 | |
---|
124 | 120 | &gmac { |
---|
125 | 121 | pinctrl-names = "default"; |
---|
126 | | - pinctrl-0 = <&gmac_pins_rgmii_a>; |
---|
| 122 | + pinctrl-0 = <&gmac_rgmii_pins>; |
---|
127 | 123 | phy-mode = "rgmii"; |
---|
128 | 124 | phy-supply = <®_gmac_3v3>; |
---|
129 | 125 | status = "okay"; |
---|
.. | .. |
---|
141 | 137 | switch: ethernet-switch@1e { |
---|
142 | 138 | compatible = "brcm,bcm53125"; |
---|
143 | 139 | reg = <30>; |
---|
144 | | - #address-cells = <1>; |
---|
145 | | - #size-cells = <0>; |
---|
146 | 140 | |
---|
147 | 141 | ports { |
---|
148 | 142 | #address-cells = <1>; |
---|
.. | .. |
---|
199 | 193 | }; |
---|
200 | 194 | |
---|
201 | 195 | &i2c0 { |
---|
202 | | - pinctrl-names = "default"; |
---|
203 | | - pinctrl-0 = <&i2c0_pins_a>; |
---|
204 | 196 | status = "okay"; |
---|
205 | 197 | |
---|
206 | 198 | axp209: pmic@34 { |
---|
.. | .. |
---|
211 | 203 | }; |
---|
212 | 204 | |
---|
213 | 205 | &i2c2 { |
---|
214 | | - pinctrl-names = "default"; |
---|
215 | | - pinctrl-0 = <&i2c2_pins_a>; |
---|
216 | 206 | status = "okay"; |
---|
217 | 207 | }; |
---|
218 | 208 | |
---|
219 | 209 | &ir0 { |
---|
220 | 210 | pinctrl-names = "default"; |
---|
221 | | - pinctrl-0 = <&ir0_rx_pins_a>; |
---|
| 211 | + pinctrl-0 = <&ir0_rx_pin>; |
---|
222 | 212 | status = "okay"; |
---|
223 | 213 | }; |
---|
224 | 214 | |
---|
225 | 215 | &mmc0 { |
---|
226 | | - pinctrl-names = "default"; |
---|
227 | | - pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_lamobo_r1>; |
---|
228 | 216 | vmmc-supply = <®_vcc3v3>; |
---|
229 | 217 | bus-width = <4>; |
---|
230 | 218 | cd-gpios = <&pio 7 10 GPIO_ACTIVE_LOW>; /* PH10 */ |
---|
.. | .. |
---|
237 | 225 | |
---|
238 | 226 | &otg_sram { |
---|
239 | 227 | status = "okay"; |
---|
240 | | -}; |
---|
241 | | - |
---|
242 | | -&pio { |
---|
243 | | - usb0_id_detect_pin: usb0_id_detect_pin@0 { |
---|
244 | | - pins = "PH4"; |
---|
245 | | - function = "gpio_in"; |
---|
246 | | - bias-pull-up; |
---|
247 | | - }; |
---|
248 | | - |
---|
249 | | - mmc0_cd_pin_lamobo_r1: mmc0_cd_pin@0 { |
---|
250 | | - pins = "PH10"; |
---|
251 | | - function = "gpio_in"; |
---|
252 | | - bias-pull-up; |
---|
253 | | - }; |
---|
254 | | - |
---|
255 | | - gmac_power_pin_lamobo_r1: gmac_power_pin@0 { |
---|
256 | | - pins = "PH23"; |
---|
257 | | - function = "gpio_out"; |
---|
258 | | - }; |
---|
259 | | - |
---|
260 | | - led_pins_lamobo_r1: led_pins@0 { |
---|
261 | | - pins = "PH24"; |
---|
262 | | - function = "gpio_out"; |
---|
263 | | - }; |
---|
264 | 228 | }; |
---|
265 | 229 | |
---|
266 | 230 | #include "axp209.dtsi" |
---|
.. | .. |
---|
314 | 278 | |
---|
315 | 279 | &spi0 { |
---|
316 | 280 | pinctrl-names = "default"; |
---|
317 | | - pinctrl-0 = <&spi0_pins_a>, |
---|
318 | | - <&spi0_cs0_pins_a>, |
---|
319 | | - <&spi0_cs1_pins_a>; |
---|
| 281 | + pinctrl-0 = <&spi0_pi_pins>, |
---|
| 282 | + <&spi0_cs0_pi_pin>, |
---|
| 283 | + <&spi0_cs1_pi_pin>; |
---|
320 | 284 | status = "okay"; |
---|
321 | 285 | }; |
---|
322 | 286 | |
---|
323 | 287 | &uart0 { |
---|
324 | 288 | pinctrl-names = "default"; |
---|
325 | | - pinctrl-0 = <&uart0_pins_a>; |
---|
| 289 | + pinctrl-0 = <&uart0_pb_pins>; |
---|
326 | 290 | status = "okay"; |
---|
327 | 291 | }; |
---|
328 | 292 | |
---|
329 | 293 | &uart3 { |
---|
330 | 294 | pinctrl-names = "default"; |
---|
331 | | - pinctrl-0 = <&uart3_pins_b>; |
---|
| 295 | + pinctrl-0 = <&uart3_ph_pins>; |
---|
332 | 296 | status = "okay"; |
---|
333 | 297 | }; |
---|
334 | 298 | |
---|
335 | 299 | &uart7 { |
---|
336 | 300 | pinctrl-names = "default"; |
---|
337 | | - pinctrl-0 = <&uart7_pins_a>; |
---|
| 301 | + pinctrl-0 = <&uart7_pi_pins>; |
---|
338 | 302 | status = "okay"; |
---|
339 | 303 | }; |
---|
340 | 304 | |
---|
.. | .. |
---|
348 | 312 | }; |
---|
349 | 313 | |
---|
350 | 314 | &usbphy { |
---|
351 | | - pinctrl-names = "default"; |
---|
352 | | - pinctrl-0 = <&usb0_id_detect_pin>; |
---|
353 | | - usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */ |
---|
| 315 | + usb0_id_det-gpios = <&pio 7 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; /* PH4 */ |
---|
354 | 316 | usb0_vbus_power-supply = <&usb_power_supply>; |
---|
355 | 317 | usb0_vbus-supply = <®_usb0_vbus>; |
---|
356 | 318 | usb2_vbus-supply = <®_usb2_vbus>; |
---|