1/* 2 * Copyright (c) 2014 MediaTek Inc. 3 * Author: Joe.C <yingjoe.chen@mediatek.com> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License version 2 as 7 * published by the Free Software Foundation. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 */ 14 15/dts-v1/; 16#include "mt8135.dtsi" 17 18/ { 19 model = "MediaTek MT8135 evaluation board"; 20 compatible = "mediatek,mt8135-evbp1", "mediatek,mt8135"; 21 22 memory { 23 reg = <0 0x80000000 0 0x40000000>; 24 }; 25}; 26 27&pwrap { 28 pmic: mt6397 { 29 compatible = "mediatek,mt6397"; 30 31 mt6397regulator: mt6397regulator { 32 compatible = "mediatek,mt6397-regulator"; 33 34 mt6397_vpca15_reg: buck_vpca15 { 35 regulator-name = "vpca15"; 36 regulator-min-microvolt = < 850000>; 37 regulator-max-microvolt = <1350000>; 38 regulator-ramp-delay = <12500>; 39 regulator-always-on; 40 }; 41 42 mt6397_vpca7_reg: buck_vpca7 { 43 regulator-name = "vpca7"; 44 regulator-min-microvolt = < 850000>; 45 regulator-max-microvolt = <1350000>; 46 regulator-ramp-delay = <12500>; 47 regulator-always-on; 48 }; 49 50 mt6397_vsramca15_reg: buck_vsramca15 { 51 regulator-name = "vsramca15"; 52 regulator-min-microvolt = < 850000>; 53 regulator-max-microvolt = <1350000>; 54 regulator-ramp-delay = <12500>; 55 regulator-always-on; 56 }; 57 58 mt6397_vsramca7_reg: buck_vsramca7 { 59 regulator-name = "vsramca7"; 60 regulator-min-microvolt = < 850000>; 61 regulator-max-microvolt = <1350000>; 62 regulator-ramp-delay = <12500>; 63 regulator-always-on; 64 }; 65 66 mt6397_vcore_reg: buck_vcore { 67 regulator-name = "vcore"; 68 regulator-min-microvolt = < 850000>; 69 regulator-max-microvolt = <1350000>; 70 regulator-ramp-delay = <12500>; 71 regulator-always-on; 72 }; 73 74 mt6397_vgpu_reg: buck_vgpu { 75 regulator-name = "vgpu"; 76 regulator-min-microvolt = < 700000>; 77 regulator-max-microvolt = <1350000>; 78 regulator-ramp-delay = <12500>; 79 regulator-enable-ramp-delay = <115>; 80 }; 81 82 mt6397_vdrm_reg: buck_vdrm { 83 regulator-name = "vdrm"; 84 regulator-min-microvolt = <1200000>; 85 regulator-max-microvolt = <1400000>; 86 regulator-ramp-delay = <12500>; 87 regulator-always-on; 88 }; 89 90 mt6397_vio18_reg: buck_vio18 { 91 regulator-name = "vio18"; 92 regulator-min-microvolt = <1620000>; 93 regulator-max-microvolt = <1980000>; 94 regulator-ramp-delay = <12500>; 95 regulator-always-on; 96 }; 97 98 mt6397_vtcxo_reg: ldo_vtcxo { 99 regulator-name = "vtcxo"; 100 regulator-always-on; 101 }; 102 103 mt6397_va28_reg: ldo_va28 { 104 regulator-name = "va28"; 105 regulator-always-on; 106 }; 107 108 mt6397_vcama_reg: ldo_vcama { 109 regulator-name = "vcama"; 110 regulator-min-microvolt = <1500000>; 111 regulator-max-microvolt = <2800000>; 112 regulator-enable-ramp-delay = <218>; 113 }; 114 115 mt6397_vio28_reg: ldo_vio28 { 116 regulator-name = "vio28"; 117 regulator-always-on; 118 }; 119 120 mt6397_vusb_reg: ldo_vusb { 121 regulator-name = "vusb"; 122 }; 123 124 mt6397_vmc_reg: ldo_vmc { 125 regulator-name = "vmc"; 126 regulator-min-microvolt = <1800000>; 127 regulator-max-microvolt = <3300000>; 128 regulator-enable-ramp-delay = <218>; 129 }; 130 131 mt6397_vmch_reg: ldo_vmch { 132 regulator-name = "vmch"; 133 regulator-min-microvolt = <3000000>; 134 regulator-max-microvolt = <3300000>; 135 regulator-enable-ramp-delay = <218>; 136 }; 137 138 mt6397_vemc_3v3_reg: ldo_vemc3v3 { 139 regulator-name = "vemc_3v3"; 140 regulator-min-microvolt = <3000000>; 141 regulator-max-microvolt = <3300000>; 142 regulator-enable-ramp-delay = <218>; 143 }; 144 145 mt6397_vgp1_reg: ldo_vgp1 { 146 regulator-name = "vcamd"; 147 regulator-min-microvolt = <1220000>; 148 regulator-max-microvolt = <3300000>; 149 regulator-enable-ramp-delay = <240>; 150 }; 151 152 mt6397_vgp2_reg: ldo_vgp2 { 153 regulator-name = "vcamio"; 154 regulator-min-microvolt = <1000000>; 155 regulator-max-microvolt = <3300000>; 156 regulator-enable-ramp-delay = <218>; 157 }; 158 159 mt6397_vgp3_reg: ldo_vgp3 { 160 regulator-name = "vcamaf"; 161 regulator-min-microvolt = <1200000>; 162 regulator-max-microvolt = <3300000>; 163 regulator-enable-ramp-delay = <218>; 164 }; 165 166 mt6397_vgp4_reg: ldo_vgp4 { 167 regulator-name = "vgp4"; 168 regulator-min-microvolt = <1200000>; 169 regulator-max-microvolt = <3300000>; 170 regulator-enable-ramp-delay = <218>; 171 }; 172 173 mt6397_vgp5_reg: ldo_vgp5 { 174 regulator-name = "vgp5"; 175 regulator-min-microvolt = <1200000>; 176 regulator-max-microvolt = <3000000>; 177 regulator-enable-ramp-delay = <218>; 178 }; 179 180 mt6397_vgp6_reg: ldo_vgp6 { 181 regulator-name = "vgp6"; 182 regulator-min-microvolt = <1200000>; 183 regulator-max-microvolt = <3300000>; 184 regulator-enable-ramp-delay = <218>; 185 }; 186 187 mt6397_vibr_reg: ldo_vibr { 188 regulator-name = "vibr"; 189 regulator-min-microvolt = <1300000>; 190 regulator-max-microvolt = <3300000>; 191 regulator-enable-ramp-delay = <218>; 192 }; 193 }; 194 }; 195}; 196 197&uart3 { 198 status = "okay"; 199}; 200