|
112 | 112 | status = "okay"; |
113 | 113 |
|
114 | 114 | axp209: pmic@34 { |
115 | | - compatible = "x-powers,axp209"; |
116 | 115 | reg = <0x34>; |
117 | 116 | interrupt-parent = <&nmi_intc>; |
118 | 117 | interrupts = <0 IRQ_TYPE_LEVEL_LOW>; |
119 | | - |
120 | | - interrupt-controller; |
121 | | - #interrupt-cells = <1>; |
122 | | - |
123 | | - acin-supply = <®_axp_ipsout>; |
124 | | - vin2-supply = <®_axp_ipsout>; |
125 | | - vin3-supply = <®_axp_ipsout>; |
126 | | - ldo24in-supply = <®_axp_ipsout>; |
127 | | - ldo3in-supply = <®_axp_ipsout>; |
128 | | - |
129 | | - regulators { |
130 | | - vdd_rtc: ldo1 { |
131 | | - regulator-min-microvolt = <1300000>; |
132 | | - regulator-max-microvolt = <1300000>; |
133 | | - regulator-always-on; |
134 | | - }; |
135 | | - |
136 | | - avcc: ldo2 { |
137 | | - regulator-min-microvolt = <1800000>; |
138 | | - regulator-max-microvolt = <3300000>; |
139 | | - regulator-always-on; |
140 | | - }; |
141 | | - |
142 | | - vcc_csi0: ldo3 { |
143 | | - regulator-min-microvolt = <700000>; |
144 | | - regulator-max-microvolt = <3500000>; |
145 | | - regulator-always-on; |
146 | | - }; |
147 | | - |
148 | | - vcc_csi1: ldo4 { |
149 | | - regulator-min-microvolt = <1250000>; |
150 | | - regulator-max-microvolt = <3300000>; |
151 | | - regulator-always-on; |
152 | | - }; |
153 | | - |
154 | | - vdd_cpu: dcdc2 { |
155 | | - regulator-min-microvolt = <700000>; |
156 | | - regulator-max-microvolt = <2275000>; |
157 | | - regulator-always-on; |
158 | | - }; |
159 | | - |
160 | | - vdd_int: dcdc3 { |
161 | | - regulator-min-microvolt = <700000>; |
162 | | - regulator-max-microvolt = <3500000>; |
163 | | - regulator-always-on; |
164 | | - }; |
165 | | - }; |
166 | 118 | }; |
167 | 119 | }; |
168 | 120 |
|
|
236 | 188 | status = "okay"; |
237 | 189 | }; |
238 | 190 |
|
| 191 | +#include "axp209.dtsi" |
| 192 | + |
| 193 | +®_dcdc2 { |
| 194 | + regulator-always-on; |
| 195 | + regulator-min-microvolt = <1000000>; |
| 196 | + regulator-max-microvolt = <1400000>; |
| 197 | + regulator-name = "vdd-cpu"; |
| 198 | +}; |
| 199 | + |
| 200 | +®_dcdc3 { |
| 201 | + regulator-always-on; |
| 202 | + regulator-min-microvolt = <1000000>; |
| 203 | + regulator-max-microvolt = <1400000>; |
| 204 | + regulator-name = "vdd-int-dll"; |
| 205 | +}; |
| 206 | + |
| 207 | +®_ldo1 { |
| 208 | + regulator-always-on; |
| 209 | + regulator-min-microvolt = <1300000>; |
| 210 | + regulator-max-microvolt = <1300000>; |
| 211 | + regulator-name = "vdd-rtc"; |
| 212 | +}; |
| 213 | + |
| 214 | +®_ldo2 { |
| 215 | + regulator-always-on; |
| 216 | + regulator-min-microvolt = <3000000>; |
| 217 | + regulator-max-microvolt = <3000000>; |
| 218 | + regulator-name = "avcc"; |
| 219 | +}; |
| 220 | + |
| 221 | +®_ldo3 { |
| 222 | + regulator-min-microvolt = <2800000>; |
| 223 | + regulator-max-microvolt = <2800000>; |
| 224 | + regulator-name = "vddio-csi0"; |
| 225 | +}; |
| 226 | + |
| 227 | +®_ldo4 { |
| 228 | + regulator-min-microvolt = <2800000>; |
| 229 | + regulator-max-microvolt = <2800000>; |
| 230 | + regulator-name = "vddio-csi1"; |
| 231 | +}; |
| 232 | + |
239 | 233 | ®_usb0_vbus { |
240 | 234 | pinctrl-0 = <&usb0_vbus_pin_lime2>; |
241 | 235 | gpio = <&pio 2 17 GPIO_ACTIVE_HIGH>; |
|
0 commit comments