|
71 | 71 | status = "okay"; |
72 | 72 | }; |
73 | 73 |
|
74 | | - regulators { |
75 | | - compatible = "simple-bus"; |
76 | | - #address-cells = <1>; |
77 | | - #size-cells = <0>; |
78 | | - |
79 | | - reg_1p0v: regulator@0 { |
80 | | - compatible = "regulator-fixed"; |
81 | | - reg = <0>; |
82 | | - regulator-name = "1P0V"; |
83 | | - regulator-min-microvolt = <1000000>; |
84 | | - regulator-max-microvolt = <1000000>; |
85 | | - regulator-always-on; |
86 | | - }; |
87 | | - |
88 | | - /* remove this fixed regulator once ltc3676__sw2 driver available */ |
89 | | - reg_1p8v: regulator@1 { |
90 | | - compatible = "regulator-fixed"; |
91 | | - reg = <1>; |
92 | | - regulator-name = "1P8V"; |
93 | | - regulator-min-microvolt = <1800000>; |
94 | | - regulator-max-microvolt = <1800000>; |
95 | | - regulator-always-on; |
96 | | - }; |
| 74 | + reg_1p0v: regulator-1p0v { |
| 75 | + compatible = "regulator-fixed"; |
| 76 | + regulator-name = "1P0V"; |
| 77 | + regulator-min-microvolt = <1000000>; |
| 78 | + regulator-max-microvolt = <1000000>; |
| 79 | + regulator-always-on; |
| 80 | + }; |
97 | 81 |
|
98 | | - reg_3p3v: regulator@2 { |
99 | | - compatible = "regulator-fixed"; |
100 | | - reg = <2>; |
101 | | - regulator-name = "3P3V"; |
102 | | - regulator-min-microvolt = <3300000>; |
103 | | - regulator-max-microvolt = <3300000>; |
104 | | - regulator-always-on; |
105 | | - }; |
| 82 | + reg_3p3v: regulator-3p3v { |
| 83 | + compatible = "regulator-fixed"; |
| 84 | + regulator-name = "3P3V"; |
| 85 | + regulator-min-microvolt = <3300000>; |
| 86 | + regulator-max-microvolt = <3300000>; |
| 87 | + regulator-always-on; |
| 88 | + }; |
106 | 89 |
|
107 | | - reg_5p0v: regulator@3 { |
108 | | - compatible = "regulator-fixed"; |
109 | | - reg = <3>; |
110 | | - regulator-name = "5P0V"; |
111 | | - regulator-min-microvolt = <5000000>; |
112 | | - regulator-max-microvolt = <5000000>; |
113 | | - regulator-always-on; |
114 | | - }; |
| 90 | + reg_5p0v: regulator-5p0v { |
| 91 | + compatible = "regulator-fixed"; |
| 92 | + regulator-name = "5P0V"; |
| 93 | + regulator-min-microvolt = <5000000>; |
| 94 | + regulator-max-microvolt = <5000000>; |
| 95 | + regulator-always-on; |
| 96 | + }; |
115 | 97 |
|
116 | | - reg_usb_otg_vbus: regulator@4 { |
117 | | - compatible = "regulator-fixed"; |
118 | | - reg = <4>; |
119 | | - regulator-name = "usb_otg_vbus"; |
120 | | - regulator-min-microvolt = <5000000>; |
121 | | - regulator-max-microvolt = <5000000>; |
122 | | - gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>; |
123 | | - enable-active-high; |
124 | | - }; |
| 98 | + reg_usb_otg_vbus: regulator-usb-otg-vbus { |
| 99 | + compatible = "regulator-fixed"; |
| 100 | + regulator-name = "usb_otg_vbus"; |
| 101 | + regulator-min-microvolt = <5000000>; |
| 102 | + regulator-max-microvolt = <5000000>; |
| 103 | + gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>; |
| 104 | + enable-active-high; |
125 | 105 | }; |
126 | 106 |
|
127 | 107 | sound { |
|
233 | 213 | pinctrl-names = "default"; |
234 | 214 | pinctrl-0 = <&pinctrl_i2c2>; |
235 | 215 | status = "okay"; |
| 216 | + |
| 217 | + ltc3676: pmic@3c { |
| 218 | + compatible = "lltc,ltc3676"; |
| 219 | + reg = <0x3c>; |
| 220 | + pinctrl-names = "default"; |
| 221 | + pinctrl-0 = <&pinctrl_pmic>; |
| 222 | + interrupt-parent = <&gpio1>; |
| 223 | + interrupts = <8 IRQ_TYPE_EDGE_FALLING>; |
| 224 | + |
| 225 | + regulators { |
| 226 | + /* VDD_SOC (1+R1/R2 = 1.635) */ |
| 227 | + reg_vdd_soc: sw1 { |
| 228 | + regulator-name = "vddsoc"; |
| 229 | + regulator-min-microvolt = <674400>; |
| 230 | + regulator-max-microvolt = <1308000>; |
| 231 | + lltc,fb-voltage-divider = <127000 200000>; |
| 232 | + regulator-ramp-delay = <7000>; |
| 233 | + regulator-boot-on; |
| 234 | + regulator-always-on; |
| 235 | + }; |
| 236 | + |
| 237 | + /* VDD_1P8 (1+R1/R2 = 2.505): GPS/VideoIn/ENET-PHY */ |
| 238 | + reg_1p8v: sw2 { |
| 239 | + regulator-name = "vdd1p8"; |
| 240 | + regulator-min-microvolt = <1033310>; |
| 241 | + regulator-max-microvolt = <2004000>; |
| 242 | + lltc,fb-voltage-divider = <301000 200000>; |
| 243 | + regulator-ramp-delay = <7000>; |
| 244 | + regulator-boot-on; |
| 245 | + regulator-always-on; |
| 246 | + }; |
| 247 | + |
| 248 | + /* VDD_ARM (1+R1/R2 = 1.635) */ |
| 249 | + reg_vdd_arm: sw3 { |
| 250 | + regulator-name = "vddarm"; |
| 251 | + regulator-min-microvolt = <674400>; |
| 252 | + regulator-max-microvolt = <1308000>; |
| 253 | + lltc,fb-voltage-divider = <127000 200000>; |
| 254 | + regulator-ramp-delay = <7000>; |
| 255 | + regulator-boot-on; |
| 256 | + regulator-always-on; |
| 257 | + }; |
| 258 | + |
| 259 | + /* VDD_DDR (1+R1/R2 = 2.105) */ |
| 260 | + reg_vdd_ddr: sw4 { |
| 261 | + regulator-name = "vddddr"; |
| 262 | + regulator-min-microvolt = <868310>; |
| 263 | + regulator-max-microvolt = <1684000>; |
| 264 | + lltc,fb-voltage-divider = <221000 200000>; |
| 265 | + regulator-ramp-delay = <7000>; |
| 266 | + regulator-boot-on; |
| 267 | + regulator-always-on; |
| 268 | + }; |
| 269 | + |
| 270 | + /* VDD_2P5 (1+R1/R2 = 3.435): PCIe/ENET-PHY */ |
| 271 | + reg_2p5v: ldo2 { |
| 272 | + regulator-name = "vdd2p5"; |
| 273 | + regulator-min-microvolt = <2490375>; |
| 274 | + regulator-max-microvolt = <2490375>; |
| 275 | + lltc,fb-voltage-divider = <487000 200000>; |
| 276 | + regulator-boot-on; |
| 277 | + regulator-always-on; |
| 278 | + }; |
| 279 | + |
| 280 | + /* VDD_AUD_1P8: Audio codec */ |
| 281 | + reg_aud_1p8v: ldo3 { |
| 282 | + regulator-name = "vdd1p8"; |
| 283 | + regulator-min-microvolt = <1800000>; |
| 284 | + regulator-max-microvolt = <1800000>; |
| 285 | + regulator-boot-on; |
| 286 | + }; |
| 287 | + |
| 288 | + /* VDD_HIGH (1+R1/R2 = 4.17) */ |
| 289 | + reg_3p0v: ldo4 { |
| 290 | + regulator-name = "vdd3p0"; |
| 291 | + regulator-min-microvolt = <3023250>; |
| 292 | + regulator-max-microvolt = <3023250>; |
| 293 | + lltc,fb-voltage-divider = <634000 200000>; |
| 294 | + regulator-boot-on; |
| 295 | + regulator-always-on; |
| 296 | + }; |
| 297 | + }; |
| 298 | + }; |
236 | 299 | }; |
237 | 300 |
|
238 | 301 | &i2c3 { |
|
467 | 530 | >; |
468 | 531 | }; |
469 | 532 |
|
| 533 | + pinctrl_pmic: pmicgrp { |
| 534 | + fsl,pins = < |
| 535 | + MX6QDL_PAD_GPIO_8__GPIO1_IO08 0x0001b0b0 /* PMIC_IRQ# */ |
| 536 | + >; |
| 537 | + }; |
| 538 | + |
470 | 539 | pinctrl_pps: ppsgrp { |
471 | 540 | fsl,pins = < |
472 | 541 | MX6QDL_PAD_ENET_RXD1__GPIO1_IO26 0x1b0b1 |
|
0 commit comments