|
206 | 206 | pinctrl-0 = <&vcc3v3_pcie30_en>;
|
207 | 207 | };
|
208 | 208 |
|
| 209 | + vcc3v3_pciewl_vbat: regulator-vcc3v3-pciewl-vbat { |
| 210 | + compatible = "regulator-fixed"; |
| 211 | + regulator-always-on; |
| 212 | + regulator-boot-on; |
| 213 | + regulator-min-microvolt = <3300000>; |
| 214 | + regulator-max-microvolt = <3300000>; |
| 215 | + regulator-name = "wlan-vbat"; |
| 216 | + vin-supply = <&vcc_3v3_s0>; |
| 217 | + }; |
| 218 | + |
| 219 | + vcc3v3_wlan: regulator-vcc3v3-wlan { |
| 220 | + compatible = "regulator-fixed"; |
| 221 | + enable-active-high; |
| 222 | + gpios = <&gpio3 RK_PB1 GPIO_ACTIVE_HIGH>; |
| 223 | + pinctrl-names = "default"; |
| 224 | + pinctrl-0 = <&wifi_pwren>; |
| 225 | + regulator-min-microvolt = <3300000>; |
| 226 | + regulator-max-microvolt = <3300000>; |
| 227 | + regulator-name = "wlan-en"; |
| 228 | + vin-supply = <&vcc3v3_pciewl_vbat>; |
| 229 | + }; |
| 230 | + |
209 | 231 | vcc5v0_host: regulator-vcc5v0-host {
|
210 | 232 | compatible = "regulator-fixed";
|
211 | 233 | regulator-name = "vcc5v0_host";
|
|
249 | 271 | regulator-max-microvolt = <5000000>;
|
250 | 272 | vin-supply = <&vcc5v0_usbdcin>;
|
251 | 273 | };
|
| 274 | + |
| 275 | + vccio_wl: regulator-vccio-wl { |
| 276 | + compatible = "regulator-fixed"; |
| 277 | + regulator-always-on; |
| 278 | + regulator-boot-on; |
| 279 | + regulator-min-microvolt = <1800000>; |
| 280 | + regulator-max-microvolt = <1800000>; |
| 281 | + regulator-name = "wlan-vddio"; |
| 282 | + vin-supply = <&vcc_1v8_s0>; |
| 283 | + }; |
252 | 284 | };
|
253 | 285 |
|
254 | 286 | &combphy0_ps {
|
255 | 287 | status = "okay";
|
256 | 288 | };
|
257 | 289 |
|
| 290 | +&combphy1_ps { |
| 291 | + status = "okay"; |
| 292 | +}; |
| 293 | + |
258 | 294 | &combphy2_psu {
|
259 | 295 | status = "okay";
|
260 | 296 | };
|
|
440 | 476 | };
|
441 | 477 | };
|
442 | 478 |
|
| 479 | +&pcie2x1l0 { |
| 480 | + pinctrl-names = "default"; |
| 481 | + pinctrl-0 = <&pcie2_0_rst>, <&pcie2_0_wake>, <&pcie2_0_clkreq>, <&wifi_host_wake_irq>; |
| 482 | + reset-gpios = <&gpio4 RK_PA5 GPIO_ACTIVE_HIGH>; |
| 483 | + vpcie3v3-supply = <&vcc3v3_wlan>; |
| 484 | + status = "okay"; |
| 485 | + |
| 486 | + pcie@0,0 { |
| 487 | + reg = <0x200000 0 0 0 0>; |
| 488 | + #address-cells = <3>; |
| 489 | + #size-cells = <2>; |
| 490 | + ranges; |
| 491 | + device_type = "pci"; |
| 492 | + bus-range = <0x20 0x2f>; |
| 493 | + |
| 494 | + wifi: wifi@0,0 { |
| 495 | + compatible = "pci14e4,449d"; |
| 496 | + reg = <0x210000 0 0 0 0>; |
| 497 | + clocks = <&hym8563>; |
| 498 | + clock-names = "lpo"; |
| 499 | + }; |
| 500 | + }; |
| 501 | +}; |
| 502 | + |
443 | 503 | &pcie2x1l1 {
|
444 | 504 | reset-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_HIGH>;
|
445 | 505 | pinctrl-names = "default";
|
|
494 | 554 | };
|
495 | 555 |
|
496 | 556 | pcie2 {
|
| 557 | + pcie2_0_rst: pcie2-0-rst { |
| 558 | + rockchip,pins = <4 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>; |
| 559 | + }; |
| 560 | + |
| 561 | + pcie2_0_wake: pcie2-0-wake { |
| 562 | + rockchip,pins = <4 RK_PA4 4 &pcfg_pull_none>; |
| 563 | + }; |
| 564 | + |
| 565 | + pcie2_0_clkreq: pcie2-0-clkreq { |
| 566 | + rockchip,pins = <4 RK_PA3 4 &pcfg_pull_none>; |
| 567 | + }; |
| 568 | + |
497 | 569 | pcie2_1_rst: pcie2-1-rst {
|
498 | 570 | rockchip,pins = <4 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
|
499 | 571 | };
|
|
524 | 596 | rockchip,pins = <3 RK_PB4 RK_FUNC_GPIO &pcfg_pull_up>;
|
525 | 597 | };
|
526 | 598 | };
|
| 599 | + |
| 600 | + wlan { |
| 601 | + wifi_host_wake_irq: wifi-host-wake-irq { |
| 602 | + rockchip,pins = <3 RK_PA7 RK_FUNC_GPIO &pcfg_pull_down>; |
| 603 | + }; |
| 604 | + |
| 605 | + wifi_pwren: wifi-pwren { |
| 606 | + rockchip,pins = <3 RK_PB1 RK_FUNC_GPIO &pcfg_pull_up>; |
| 607 | + }; |
| 608 | + }; |
527 | 609 | };
|
528 | 610 |
|
529 | 611 | &pwm2 {
|
|
0 commit comments