1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 /* 3 * Copyright (c) 2023 Collabora Ltd. 4 * Author: AngeloGioacchino Del Regno <angelogi 5 */ 6 #include <dt-bindings/input/input.h> 7 8 &pwrap { 9 pmic: mt6331 { 10 compatible = "mediatek,mt6331" 11 interrupt-controller; 12 #interrupt-cells = <2>; 13 14 mt6331regulator: mt6331regulat 15 compatible = "mediatek 16 17 mt6331_vdvfs11_reg: bu 18 regulator-name 19 regulator-min- 20 regulator-max- 21 regulator-ramp 22 regulator-enab 23 regulator-allo 24 regulator-alwa 25 }; 26 27 mt6331_vdvfs12_reg: bu 28 regulator-name 29 regulator-min- 30 regulator-max- 31 regulator-ramp 32 regulator-enab 33 regulator-allo 34 regulator-alwa 35 }; 36 37 mt6331_vdvfs13_reg: bu 38 regulator-name 39 regulator-min- 40 regulator-max- 41 regulator-ramp 42 regulator-enab 43 regulator-allo 44 regulator-alwa 45 }; 46 47 mt6331_vdvfs14_reg: bu 48 regulator-name 49 regulator-min- 50 regulator-max- 51 regulator-ramp 52 regulator-enab 53 regulator-allo 54 regulator-alwa 55 }; 56 57 mt6331_vcore2_reg: buc 58 regulator-name 59 regulator-min- 60 regulator-max- 61 regulator-ramp 62 regulator-enab 63 regulator-allo 64 regulator-alwa 65 }; 66 67 mt6331_vio18_reg: buck 68 regulator-name 69 regulator-min- 70 regulator-max- 71 regulator-ramp 72 regulator-enab 73 regulator-allo 74 regulator-alwa 75 }; 76 77 mt6331_vtcxo1_reg: ldo 78 regulator-name 79 regulator-min- 80 regulator-max- 81 regulator-ramp 82 regulator-alwa 83 regulator-boot 84 }; 85 86 mt6331_vtcxo2_reg: ldo 87 regulator-name 88 regulator-min- 89 regulator-max- 90 regulator-ramp 91 regulator-alwa 92 regulator-boot 93 }; 94 95 mt6331_avdd32_aud_reg: 96 regulator-name 97 regulator-min- 98 regulator-max- 99 regulator-ramp 100 regulator-alwa 101 regulator-boot 102 }; 103 104 mt6331_vauxa32_reg: ld 105 regulator-name 106 regulator-min- 107 regulator-max- 108 regulator-ramp 109 }; 110 111 mt6331_vcama_reg: ldo- 112 regulator-name 113 regulator-min- 114 regulator-max- 115 regulator-ramp 116 }; 117 118 mt6331_vio28_reg: ldo- 119 regulator-name 120 regulator-min- 121 regulator-max- 122 regulator-ramp 123 regulator-alwa 124 regulator-boot 125 }; 126 127 mt6331_vcamaf_reg: ldo 128 regulator-name 129 regulator-min- 130 regulator-max- 131 regulator-ramp 132 }; 133 134 mt6331_vmc_reg: ldo-vm 135 regulator-name 136 regulator-min- 137 regulator-max- 138 regulator-ramp 139 }; 140 141 mt6331_vmch_reg: ldo-v 142 regulator-name 143 regulator-min- 144 regulator-max- 145 regulator-ramp 146 }; 147 148 mt6331_vemc33_reg: ldo 149 regulator-name 150 regulator-min- 151 regulator-max- 152 regulator-ramp 153 regulator-alwa 154 }; 155 156 mt6331_vgp1_reg: ldo-v 157 regulator-name 158 regulator-min- 159 regulator-max- 160 regulator-ramp 161 regulator-alwa 162 }; 163 164 mt6331_vsim1_reg: ldo- 165 regulator-name 166 regulator-min- 167 regulator-max- 168 regulator-ramp 169 regulator-alwa 170 }; 171 172 mt6331_vsim2_reg: ldo- 173 regulator-name 174 regulator-min- 175 regulator-max- 176 regulator-ramp 177 }; 178 179 mt6331_vmipi_reg: ldo- 180 regulator-name 181 regulator-min- 182 regulator-max- 183 regulator-ramp 184 regulator-alwa 185 }; 186 187 mt6331_vibr_reg: ldo-v 188 regulator-name 189 regulator-min- 190 regulator-max- 191 regulator-ramp 192 }; 193 194 mt6331_vgp4_reg: ldo-v 195 regulator-name 196 regulator-min- 197 regulator-max- 198 regulator-ramp 199 regulator-alwa 200 }; 201 202 mt6331_vcamd_reg: ldo- 203 regulator-name 204 regulator-min- 205 regulator-max- 206 regulator-ramp 207 regulator-alwa 208 }; 209 210 mt6331_vusb10_reg: ldo 211 regulator-name 212 regulator-min- 213 regulator-max- 214 regulator-ramp 215 regulator-alwa 216 regulator-boot 217 }; 218 219 mt6331_vcamio_reg: ldo 220 regulator-name 221 regulator-min- 222 regulator-max- 223 regulator-ramp 224 }; 225 226 mt6331_vsram_reg: ldo- 227 regulator-name 228 regulator-min- 229 regulator-max- 230 regulator-ramp 231 regulator-alwa 232 regulator-boot 233 }; 234 235 mt6331_vgp2_reg: ldo-v 236 regulator-name 237 regulator-min- 238 regulator-max- 239 regulator-ramp 240 regulator-alwa 241 regulator-boot 242 }; 243 244 mt6331_vgp3_reg: ldo-v 245 regulator-name 246 regulator-min- 247 regulator-max- 248 regulator-ramp 249 regulator-alwa 250 }; 251 252 mt6331_vrtc_reg: ldo-v 253 regulator-name 254 regulator-min- 255 regulator-max- 256 regulator-ramp 257 regulator-alwa 258 }; 259 260 mt6331_vdig18_reg: ldo 261 regulator-name 262 regulator-min- 263 regulator-max- 264 regulator-ramp 265 regulator-alwa 266 }; 267 }; 268 269 mt6331rtc: mt6331rtc { 270 compatible = "mediatek 271 }; 272 273 mt6331keys: mt6331keys { 274 compatible = "mediatek 275 power { 276 linux,keycodes 277 wakeup-source; 278 }; 279 home { 280 linux,keycodes 281 }; 282 }; 283 }; 284 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.