| .. | .. |
|---|
| 79 | 79 | |
|---|
| 80 | 80 | mmc0_pwrseq: mmc0_pwrseq { |
|---|
| 81 | 81 | compatible = "mmc-pwrseq-simple"; |
|---|
| 82 | | - pinctrl-names = "default"; |
|---|
| 83 | | - pinctrl-0 = <&chip_wifi_reg_on_pin>; |
|---|
| 84 | 82 | reset-gpios = <&pio 2 19 GPIO_ACTIVE_LOW>; /* PC19 */ |
|---|
| 85 | 83 | }; |
|---|
| 86 | 84 | |
|---|
| 87 | 85 | onewire { |
|---|
| 88 | 86 | compatible = "w1-gpio"; |
|---|
| 89 | | - gpios = <&pio 3 2 GPIO_ACTIVE_HIGH>; /* PD2 */ |
|---|
| 90 | | - pinctrl-names = "default"; |
|---|
| 91 | | - pinctrl-0 = <&chip_w1_pin>; |
|---|
| 87 | + gpios = <&pio 3 2 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; /* PD2 */ |
|---|
| 92 | 88 | }; |
|---|
| 93 | 89 | }; |
|---|
| 94 | 90 | |
|---|
| .. | .. |
|---|
| 109 | 105 | }; |
|---|
| 110 | 106 | |
|---|
| 111 | 107 | &i2c0 { |
|---|
| 112 | | - pinctrl-names = "default"; |
|---|
| 113 | | - pinctrl-0 = <&i2c0_pins_a>; |
|---|
| 114 | 108 | status = "okay"; |
|---|
| 115 | 109 | |
|---|
| 116 | 110 | axp209: pmic@34 { |
|---|
| .. | .. |
|---|
| 137 | 131 | }; |
|---|
| 138 | 132 | |
|---|
| 139 | 133 | &i2c1 { |
|---|
| 140 | | - pinctrl-names = "default"; |
|---|
| 141 | | - pinctrl-0 = <&i2c1_pins_a>; |
|---|
| 142 | 134 | status = "disabled"; |
|---|
| 143 | 135 | }; |
|---|
| 144 | 136 | |
|---|
| 145 | 137 | &i2c2 { |
|---|
| 146 | | - pinctrl-names = "default"; |
|---|
| 147 | | - pinctrl-0 = <&i2c2_pins_a>; |
|---|
| 148 | 138 | status = "okay"; |
|---|
| 149 | 139 | |
|---|
| 150 | 140 | xio: gpio@38 { |
|---|
| .. | .. |
|---|
| 161 | 151 | }; |
|---|
| 162 | 152 | }; |
|---|
| 163 | 153 | |
|---|
| 164 | | -&mmc0_pins_a { |
|---|
| 154 | +&mmc0_pins { |
|---|
| 165 | 155 | bias-pull-up; |
|---|
| 166 | 156 | }; |
|---|
| 167 | 157 | |
|---|
| 168 | 158 | &mmc0 { |
|---|
| 169 | | - pinctrl-names = "default"; |
|---|
| 170 | | - pinctrl-0 = <&mmc0_pins_a>; |
|---|
| 171 | 159 | vmmc-supply = <®_vcc3v3>; |
|---|
| 172 | 160 | mmc-pwrseq = <&mmc0_pwrseq>; |
|---|
| 173 | 161 | bus-width = <4>; |
|---|
| .. | .. |
|---|
| 181 | 169 | |
|---|
| 182 | 170 | &otg_sram { |
|---|
| 183 | 171 | status = "okay"; |
|---|
| 184 | | -}; |
|---|
| 185 | | - |
|---|
| 186 | | -&pio { |
|---|
| 187 | | - chip_vbus_pin: chip_vbus_pin@0 { |
|---|
| 188 | | - pins = "PB10"; |
|---|
| 189 | | - function = "gpio_out"; |
|---|
| 190 | | - }; |
|---|
| 191 | | - |
|---|
| 192 | | - chip_wifi_reg_on_pin: chip_wifi_reg_on_pin@0 { |
|---|
| 193 | | - pins = "PC19"; |
|---|
| 194 | | - function = "gpio_out"; |
|---|
| 195 | | - }; |
|---|
| 196 | | - |
|---|
| 197 | | - chip_id_det_pin: chip_id_det_pin@0 { |
|---|
| 198 | | - pins = "PG2"; |
|---|
| 199 | | - function = "gpio_in"; |
|---|
| 200 | | - }; |
|---|
| 201 | | - |
|---|
| 202 | | - chip_w1_pin: chip_w1_pin@0 { |
|---|
| 203 | | - pins = "PD2"; |
|---|
| 204 | | - function = "gpio_in"; |
|---|
| 205 | | - bias-pull-up; |
|---|
| 206 | | - }; |
|---|
| 207 | 172 | }; |
|---|
| 208 | 173 | |
|---|
| 209 | 174 | ®_dcdc2 { |
|---|
| .. | .. |
|---|
| 260 | 225 | }; |
|---|
| 261 | 226 | |
|---|
| 262 | 227 | ®_usb0_vbus { |
|---|
| 263 | | - pinctrl-0 = <&chip_vbus_pin>; |
|---|
| 264 | 228 | vin-supply = <®_vcc5v0>; |
|---|
| 265 | 229 | gpio = <&pio 1 10 GPIO_ACTIVE_HIGH>; /* PB10 */ |
|---|
| 266 | 230 | status = "okay"; |
|---|
| .. | .. |
|---|
| 268 | 232 | |
|---|
| 269 | 233 | &spi2 { |
|---|
| 270 | 234 | pinctrl-names = "default"; |
|---|
| 271 | | - pinctrl-0 = <&spi2_pins_a>; |
|---|
| 235 | + pinctrl-0 = <&spi2_pe_pins>; |
|---|
| 272 | 236 | status = "disabled"; |
|---|
| 273 | 237 | }; |
|---|
| 274 | 238 | |
|---|
| .. | .. |
|---|
| 282 | 246 | |
|---|
| 283 | 247 | &uart1 { |
|---|
| 284 | 248 | pinctrl-names = "default"; |
|---|
| 285 | | - pinctrl-0 = <&uart1_pins_b>; |
|---|
| 249 | + pinctrl-0 = <&uart1_pg_pins>; |
|---|
| 286 | 250 | status = "okay"; |
|---|
| 287 | 251 | }; |
|---|
| 288 | 252 | |
|---|
| 289 | 253 | &uart3 { |
|---|
| 290 | 254 | pinctrl-names = "default"; |
|---|
| 291 | | - pinctrl-0 = <&uart3_pins_a>, |
|---|
| 292 | | - <&uart3_cts_rts_pins_a>; |
|---|
| 255 | + pinctrl-0 = <&uart3_pg_pins>, |
|---|
| 256 | + <&uart3_cts_rts_pg_pins>; |
|---|
| 293 | 257 | status = "okay"; |
|---|
| 294 | 258 | }; |
|---|
| 295 | 259 | |
|---|
| .. | .. |
|---|
| 303 | 267 | }; |
|---|
| 304 | 268 | |
|---|
| 305 | 269 | &usbphy { |
|---|
| 306 | | - pinctrl-names = "default"; |
|---|
| 307 | | - pinctrl-0 = <&chip_id_det_pin>; |
|---|
| 308 | 270 | status = "okay"; |
|---|
| 309 | 271 | |
|---|
| 310 | | - usb0_id_det-gpio = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */ |
|---|
| 272 | + usb0_id_det-gpios = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */ |
|---|
| 311 | 273 | usb0_vbus_power-supply = <&usb_power_supply>; |
|---|
| 312 | 274 | usb0_vbus-supply = <®_usb0_vbus>; |
|---|
| 313 | 275 | usb1_vbus-supply = <®_vcc5v0>; |
|---|