|
45 | 45 | startup-delay-us = <100000>;
|
46 | 46 | enable-active-high;
|
47 | 47 | gpio = <&pio 3 6 GPIO_ACTIVE_HIGH>;
|
| 48 | + vin-supply = <®_vcc3v3>; |
| 49 | + }; |
| 50 | + |
| 51 | + reg_gmac_2v5: gmac-2v5 { |
| 52 | + /* 2V5 supply for GMAC PHY IO */ |
| 53 | + compatible = "regulator-fixed"; |
| 54 | + regulator-name = "gmac-2v5"; |
| 55 | + regulator-min-microvolt = <2500000>; |
| 56 | + regulator-max-microvolt = <2500000>; |
| 57 | + regulator-always-on; |
| 58 | + vin-supply = <®_vcc3v3>; |
| 59 | + }; |
| 60 | + |
| 61 | + reg_vcc5v: regulator-vcc5v { |
| 62 | + /* board 5V supply from micro USB or pin headers */ |
| 63 | + compatible = "regulator-fixed"; |
| 64 | + regulator-name = "vcc-5v"; |
| 65 | + regulator-min-microvolt = <5000000>; |
| 66 | + regulator-max-microvolt = <5000000>; |
| 67 | + regulator-always-on; |
48 | 68 | };
|
49 | 69 |
|
50 | 70 | reg_vcc3v3: vcc3v3 {
|
| 71 | + /* board 3V3 supply by SY8089A */ |
51 | 72 | compatible = "regulator-fixed";
|
52 | 73 | regulator-name = "vcc3v3";
|
53 | 74 | regulator-min-microvolt = <3300000>;
|
54 | 75 | regulator-max-microvolt = <3300000>;
|
| 76 | + regulator-always-on; |
| 77 | + vin-supply = <®_vcc5v>; |
55 | 78 | };
|
56 | 79 |
|
57 | 80 | vdd_cpux: gpio-regulator {
|
| 81 | + /* cpu voltage regulator MP2143DJ */ |
58 | 82 | compatible = "regulator-gpio";
|
59 | 83 | regulator-name = "vdd-cpux";
|
60 | 84 | regulator-type = "voltage";
|
|
66 | 90 | gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>;
|
67 | 91 | gpios-states = <0x1>;
|
68 | 92 | states = <1100000 0>, <1300000 1>;
|
| 93 | + vin-supply = <®_vcc5v>; |
69 | 94 | };
|
70 | 95 |
|
71 | 96 | wifi_pwrseq: pwrseq {
|
|
146 | 171 | status = "okay";
|
147 | 172 | };
|
148 | 173 |
|
| 174 | +&pio { |
| 175 | + vcc-pa-supply = <®_vcc3v3>; |
| 176 | + vcc-pc-supply = <®_vcc3v3>; |
| 177 | + vcc-pd-supply = <®_gmac_2v5>; |
| 178 | + vcc-pf-supply = <®_vcc3v3>; |
| 179 | + vcc-pg-supply = <®_vcc3v3>; |
| 180 | +}; |
| 181 | + |
| 182 | +&r_pio { |
| 183 | + vcc-pl-supply = <®_vcc3v3>; |
| 184 | +}; |
| 185 | + |
149 | 186 | &uart0 {
|
150 | 187 | pinctrl-names = "default";
|
151 | 188 | pinctrl-0 = <&uart0_pa_pins>;
|
|
0 commit comments