1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 /* 3 * Copyright (c) 2020 MediaTek Inc. 4 * Copyright (c) 2023 BayLibre Inc. 5 */ 6 7 #include <dt-bindings/input/input.h> 8 9 &pwrap { 10 mt6357_pmic: pmic { 11 compatible = "mediatek,mt6357"; 12 13 pmic_adc: adc { 14 compatible = "mediatek,mt6357-auxadc"; 15 #io-channel-cells = <1>; 16 }; 17 18 regulators { 19 mt6357_vproc_reg: buck-vproc { 20 regulator-name = "vproc"; 21 regulator-min-microvolt = <518750>; 22 regulator-max-microvolt = <1312500>; 23 regulator-ramp-delay = <6250>; 24 regulator-enable-ramp-delay = <220>; 25 regulator-always-on; 26 }; 27 28 mt6357_vcore_reg: buck-vcore { 29 regulator-name = "vcore"; 30 regulator-min-microvolt = <518750>; 31 regulator-max-microvolt = <1312500>; 32 regulator-ramp-delay = <6250>; 33 regulator-enable-ramp-delay = <220>; 34 regulator-always-on; 35 }; 36 37 mt6357_vmodem_reg: buck-vmodem { 38 regulator-name = "vmodem"; 39 regulator-min-microvolt = <500000>; 40 regulator-max-microvolt = <1193750>; 41 regulator-ramp-delay = <6250>; 42 regulator-enable-ramp-delay = <220>; 43 }; 44 45 mt6357_vs1_reg: buck-vs1 { 46 regulator-name = "vs1"; 47 regulator-min-microvolt = <1200000>; 48 regulator-max-microvolt = <2200000>; 49 regulator-ramp-delay = <12500>; 50 regulator-enable-ramp-delay = <220>; 51 regulator-always-on; 52 }; 53 54 mt6357_vpa_reg: buck-vpa { 55 regulator-name = "vpa"; 56 regulator-min-microvolt = <500000>; 57 regulator-max-microvolt = <3650000>; 58 regulator-ramp-delay = <50000>; 59 regulator-enable-ramp-delay = <220>; 60 }; 61 62 mt6357_vfe28_reg: ldo-vfe28 { 63 compatible = "regulator-fixed"; 64 regulator-name = "vfe28"; 65 regulator-min-microvolt = <2800000>; 66 regulator-max-microvolt = <2800000>; 67 regulator-enable-ramp-delay = <264>; 68 }; 69 70 mt6357_vxo22_reg: ldo-vxo22 { 71 regulator-name = "vxo22"; 72 regulator-min-microvolt = <2200000>; 73 regulator-max-microvolt = <2400000>; 74 regulator-enable-ramp-delay = <110>; 75 }; 76 77 mt6357_vrf18_reg: ldo-vrf18 { 78 compatible = "regulator-fixed"; 79 regulator-name = "vrf18"; 80 regulator-min-microvolt = <1800000>; 81 regulator-max-microvolt = <1800000>; 82 regulator-enable-ramp-delay = <110>; 83 }; 84 85 mt6357_vrf12_reg: ldo-vrf12 { 86 compatible = "regulator-fixed"; 87 regulator-name = "vrf12"; 88 regulator-min-microvolt = <1200000>; 89 regulator-max-microvolt = <1200000>; 90 regulator-enable-ramp-delay = <110>; 91 }; 92 93 mt6357_vefuse_reg: ldo-vefuse { 94 regulator-name = "vefuse"; 95 regulator-min-microvolt = <1200000>; 96 regulator-max-microvolt = <3300000>; 97 regulator-enable-ramp-delay = <264>; 98 }; 99 100 mt6357_vcn33_bt_reg: ldo-vcn33-bt { 101 regulator-name = "vcn33-bt"; 102 regulator-min-microvolt = <3300000>; 103 regulator-max-microvolt = <3500000>; 104 regulator-enable-ramp-delay = <264>; 105 }; 106 107 mt6357_vcn33_wifi_reg: ldo-vcn33-wifi { 108 regulator-name = "vcn33-wifi"; 109 regulator-min-microvolt = <3300000>; 110 regulator-max-microvolt = <3500000>; 111 regulator-enable-ramp-delay = <264>; 112 }; 113 114 mt6357_vcn28_reg: ldo-vcn28 { 115 compatible = "regulator-fixed"; 116 regulator-name = "vcn28"; 117 regulator-min-microvolt = <2800000>; 118 regulator-max-microvolt = <2800000>; 119 regulator-enable-ramp-delay = <264>; 120 }; 121 122 mt6357_vcn18_reg: ldo-vcn18 { 123 compatible = "regulator-fixed"; 124 regulator-name = "vcn18"; 125 regulator-min-microvolt = <1800000>; 126 regulator-max-microvolt = <1800000>; 127 regulator-enable-ramp-delay = <264>; 128 }; 129 130 mt6357_vcama_reg: ldo-vcama { 131 regulator-name = "vcama"; 132 regulator-min-microvolt = <2500000>; 133 regulator-max-microvolt = <2800000>; 134 regulator-enable-ramp-delay = <264>; 135 }; 136 137 mt6357_vcamd_reg: ldo-vcamd { 138 regulator-name = "vcamd"; 139 regulator-min-microvolt = <1000000>; 140 regulator-max-microvolt = <1800000>; 141 regulator-enable-ramp-delay = <264>; 142 }; 143 144 mt6357_vcamio_reg: ldo-vcamio18 { 145 compatible = "regulator-fixed"; 146 regulator-name = "vcamio"; 147 regulator-min-microvolt = <1800000>; 148 regulator-max-microvolt = <1800000>; 149 regulator-enable-ramp-delay = <264>; 150 }; 151 152 mt6357_vldo28_reg: ldo-vldo28 { 153 regulator-name = "vldo28"; 154 regulator-min-microvolt = <2800000>; 155 regulator-max-microvolt = <3000000>; 156 regulator-enable-ramp-delay = <264>; 157 }; 158 159 mt6357_vsram_others_reg: ldo-vsram-others { 160 regulator-name = "vsram-others"; 161 regulator-min-microvolt = <518750>; 162 regulator-max-microvolt = <1312500>; 163 regulator-ramp-delay = <6250>; 164 regulator-enable-ramp-delay = <110>; 165 regulator-always-on; 166 }; 167 168 mt6357_vsram_proc_reg: ldo-vsram-proc { 169 regulator-name = "vsram-proc"; 170 regulator-min-microvolt = <518750>; 171 regulator-max-microvolt = <1312500>; 172 regulator-ramp-delay = <6250>; 173 regulator-enable-ramp-delay = <110>; 174 regulator-always-on; 175 }; 176 177 mt6357_vaux18_reg: ldo-vaux18 { 178 compatible = "regulator-fixed"; 179 regulator-name = "vaux18"; 180 regulator-min-microvolt = <1800000>; 181 regulator-max-microvolt = <1800000>; 182 regulator-enable-ramp-delay = <264>; 183 }; 184 185 mt6357_vaud28_reg: ldo-vaud28 { 186 compatible = "regulator-fixed"; 187 regulator-name = "vaud28"; 188 regulator-min-microvolt = <2800000>; 189 regulator-max-microvolt = <2800000>; 190 regulator-enable-ramp-delay = <264>; 191 }; 192 193 mt6357_vio28_reg: ldo-vio28 { 194 compatible = "regulator-fixed"; 195 regulator-name = "vio28"; 196 regulator-min-microvolt = <2800000>; 197 regulator-max-microvolt = <2800000>; 198 regulator-enable-ramp-delay = <264>; 199 }; 200 201 mt6357_vio18_reg: ldo-vio18 { 202 compatible = "regulator-fixed"; 203 regulator-name = "vio18"; 204 regulator-min-microvolt = <1800000>; 205 regulator-max-microvolt = <1800000>; 206 regulator-enable-ramp-delay = <264>; 207 regulator-always-on; 208 }; 209 210 mt6357_vdram_reg: ldo-vdram { 211 regulator-name = "vdram"; 212 regulator-min-microvolt = <1100000>; 213 regulator-max-microvolt = <1200000>; 214 regulator-enable-ramp-delay = <3300>; 215 }; 216 217 mt6357_vmc_reg: ldo-vmc { 218 regulator-name = "vmc"; 219 regulator-min-microvolt = <1800000>; 220 regulator-max-microvolt = <3300000>; 221 regulator-enable-ramp-delay = <44>; 222 }; 223 224 mt6357_vmch_reg: ldo-vmch { 225 regulator-name = "vmch"; 226 regulator-min-microvolt = <2900000>; 227 regulator-max-microvolt = <3300000>; 228 regulator-enable-ramp-delay = <44>; 229 }; 230 231 mt6357_vemc_reg: ldo-vemc { 232 regulator-name = "vemc"; 233 regulator-min-microvolt = <2900000>; 234 regulator-max-microvolt = <3300000>; 235 regulator-enable-ramp-delay = <44>; 236 regulator-always-on; 237 }; 238 239 mt6357_vsim1_reg: ldo-vsim1 { 240 regulator-name = "vsim1"; 241 regulator-min-microvolt = <1700000>; 242 regulator-max-microvolt = <3100000>; 243 regulator-enable-ramp-delay = <264>; 244 }; 245 246 mt6357_vsim2_reg: ldo-vsim2 { 247 regulator-name = "vsim2"; 248 regulator-min-microvolt = <1700000>; 249 regulator-max-microvolt = <3100000>; 250 regulator-enable-ramp-delay = <264>; 251 }; 252 253 mt6357_vibr_reg: ldo-vibr { 254 regulator-name = "vibr"; 255 regulator-min-microvolt = <1200000>; 256 regulator-max-microvolt = <3300000>; 257 regulator-enable-ramp-delay = <44>; 258 }; 259 260 mt6357_vusb33_reg: ldo-vusb33 { 261 regulator-name = "vusb33"; 262 regulator-min-microvolt = <3000000>; 263 regulator-max-microvolt = <3100000>; 264 regulator-enable-ramp-delay = <264>; 265 }; 266 }; 267 268 rtc { 269 compatible = "mediatek,mt6357-rtc"; 270 }; 271 272 keys { 273 compatible = "mediatek,mt6357-keys"; 274 275 key-power { 276 linux,keycodes = <KEY_POWER>; 277 wakeup-source; 278 }; 279 280 key-home { 281 linux,keycodes = <KEY_HOME>; 282 wakeup-source; 283 }; 284 285 }; 286 }; 287 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.