1 // SPDX-License-Identifier: GPL-2.0 2 /* 3 * Copyright (c) 2017-2018 MediaTek Inc. 4 * Author: John Crispin <john@phrozen.org> 5 * Sean Wang <sean.wang@mediatek.com> 6 * 7 */ 8 9 &pwrap { 10 pmic: mt6323 { 11 compatible = "mediatek,mt6323" 12 interrupt-parent = <&pio>; 13 interrupts = <150 IRQ_TYPE_LEV 14 interrupt-controller; 15 #interrupt-cells = <2>; 16 17 mt6323_leds: leds { 18 compatible = "mediatek 19 #address-cells = <1>; 20 #size-cells = <0>; 21 status = "disabled"; 22 }; 23 24 mt6323regulator: mt6323regulat 25 compatible = "mediatek 26 27 mt6323_vproc_reg: buck 28 regulator-name 29 regulator-min- 30 regulator-max- 31 regulator-ramp 32 regulator-alwa 33 regulator-boot 34 }; 35 36 mt6323_vsys_reg: buck_ 37 regulator-name 38 regulator-min- 39 regulator-max- 40 regulator-ramp 41 regulator-alwa 42 regulator-boot 43 }; 44 45 mt6323_vpa_reg: buck_v 46 regulator-name 47 regulator-min- 48 regulator-max- 49 }; 50 51 mt6323_vtcxo_reg: ldo_ 52 regulator-name 53 regulator-min- 54 regulator-max- 55 regulator-enab 56 regulator-alwa 57 regulator-boot 58 }; 59 60 mt6323_vcn28_reg: ldo_ 61 regulator-name 62 regulator-min- 63 regulator-max- 64 regulator-enab 65 }; 66 67 mt6323_vcn33_bt_reg: l 68 regulator-name 69 regulator-min- 70 regulator-max- 71 regulator-enab 72 }; 73 74 mt6323_vcn33_wifi_reg: 75 regulator-name 76 regulator-min- 77 regulator-max- 78 regulator-enab 79 }; 80 81 mt6323_va_reg: ldo_va 82 regulator-name 83 regulator-min- 84 regulator-max- 85 regulator-enab 86 regulator-alwa 87 regulator-boot 88 }; 89 90 mt6323_vcama_reg: ldo_ 91 regulator-name 92 regulator-min- 93 regulator-max- 94 regulator-enab 95 }; 96 97 mt6323_vio28_reg: ldo_ 98 regulator-name 99 regulator-min- 100 regulator-max- 101 regulator-enab 102 regulator-alwa 103 regulator-boot 104 }; 105 106 mt6323_vusb_reg: ldo_v 107 regulator-name 108 regulator-min- 109 regulator-max- 110 regulator-enab 111 regulator-boot 112 }; 113 114 mt6323_vmc_reg: ldo_vm 115 regulator-name 116 regulator-min- 117 regulator-max- 118 regulator-enab 119 regulator-boot 120 }; 121 122 mt6323_vmch_reg: ldo_v 123 regulator-name 124 regulator-min- 125 regulator-max- 126 regulator-enab 127 regulator-boot 128 }; 129 130 mt6323_vemc3v3_reg: ld 131 regulator-name 132 regulator-min- 133 regulator-max- 134 regulator-enab 135 regulator-boot 136 }; 137 138 mt6323_vgp1_reg: ldo_v 139 regulator-name 140 regulator-min- 141 regulator-max- 142 regulator-enab 143 }; 144 145 mt6323_vgp2_reg: ldo_v 146 regulator-name 147 regulator-min- 148 regulator-max- 149 regulator-enab 150 }; 151 152 mt6323_vgp3_reg: ldo_v 153 regulator-name 154 regulator-min- 155 regulator-max- 156 regulator-enab 157 }; 158 159 mt6323_vcn18_reg: ldo_ 160 regulator-name 161 regulator-min- 162 regulator-max- 163 regulator-enab 164 }; 165 166 mt6323_vsim1_reg: ldo_ 167 regulator-name 168 regulator-min- 169 regulator-max- 170 regulator-enab 171 }; 172 173 mt6323_vsim2_reg: ldo_ 174 regulator-name 175 regulator-min- 176 regulator-max- 177 regulator-enab 178 }; 179 180 mt6323_vrtc_reg: ldo_v 181 regulator-name 182 regulator-min- 183 regulator-max- 184 regulator-alwa 185 regulator-boot 186 }; 187 188 mt6323_vcamaf_reg: ldo 189 regulator-name 190 regulator-min- 191 regulator-max- 192 regulator-enab 193 }; 194 195 mt6323_vibr_reg: ldo_v 196 regulator-name 197 regulator-min- 198 regulator-max- 199 regulator-enab 200 }; 201 202 mt6323_vrf18_reg: ldo_ 203 regulator-name 204 regulator-min- 205 regulator-max- 206 regulator-enab 207 }; 208 209 mt6323_vm_reg: ldo_vm 210 regulator-name 211 regulator-min- 212 regulator-max- 213 regulator-enab 214 regulator-alwa 215 regulator-boot 216 }; 217 218 mt6323_vio18_reg: ldo_ 219 regulator-name 220 regulator-min- 221 regulator-max- 222 regulator-enab 223 regulator-alwa 224 regulator-boot 225 }; 226 227 mt6323_vcamd_reg: ldo_ 228 regulator-name 229 regulator-min- 230 regulator-max- 231 regulator-enab 232 }; 233 234 mt6323_vcamio_reg: ldo 235 regulator-name 236 regulator-min- 237 regulator-max- 238 regulator-enab 239 }; 240 }; 241 242 mt6323keys: mt6323keys { 243 compatible = "mediatek 244 mediatek,long-press-mo 245 power-off-time-sec = < 246 247 power { 248 linux,keycodes 249 wakeup-source; 250 }; 251 252 home { 253 linux,keycodes 254 }; 255 }; 256 257 codec: mt6397codec { 258 compatible = "mediatek 259 }; 260 261 power-controller { 262 compatible = "mediatek 263 }; 264 265 rtc { 266 compatible = "mediatek 267 }; 268 }; 269 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.