1279377Simp/* 2279377Simp * Copyright (c) 2014 MediaTek Inc. 3279377Simp * Author: Joe.C <yingjoe.chen@mediatek.com> 4279377Simp * 5279377Simp * This program is free software; you can redistribute it and/or modify 6279377Simp * it under the terms of the GNU General Public License version 2 as 7279377Simp * published by the Free Software Foundation. 8279377Simp * 9279377Simp * This program is distributed in the hope that it will be useful, 10279377Simp * but WITHOUT ANY WARRANTY; without even the implied warranty of 11279377Simp * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12279377Simp * GNU General Public License for more details. 13279377Simp */ 14279377Simp 15279377Simp/dts-v1/; 16279377Simp#include "mt8135.dtsi" 17279377Simp 18279377Simp/ { 19279377Simp model = "MediaTek MT8135 evaluation board"; 20279377Simp compatible = "mediatek,mt8135-evbp1", "mediatek,mt8135"; 21279377Simp 22279377Simp memory { 23279377Simp reg = <0 0x80000000 0 0x40000000>; 24279377Simp }; 25279377Simp}; 26279377Simp 27295436Sandrew&pwrap { 28295436Sandrew pmic: mt6397 { 29295436Sandrew compatible = "mediatek,mt6397"; 30295436Sandrew 31295436Sandrew mt6397regulator: mt6397regulator { 32295436Sandrew compatible = "mediatek,mt6397-regulator"; 33295436Sandrew 34295436Sandrew mt6397_vpca15_reg: buck_vpca15 { 35295436Sandrew regulator-name = "vpca15"; 36295436Sandrew regulator-min-microvolt = < 850000>; 37295436Sandrew regulator-max-microvolt = <1350000>; 38295436Sandrew regulator-ramp-delay = <12500>; 39295436Sandrew regulator-always-on; 40295436Sandrew }; 41295436Sandrew 42295436Sandrew mt6397_vpca7_reg: buck_vpca7 { 43295436Sandrew regulator-name = "vpca7"; 44295436Sandrew regulator-min-microvolt = < 850000>; 45295436Sandrew regulator-max-microvolt = <1350000>; 46295436Sandrew regulator-ramp-delay = <12500>; 47295436Sandrew regulator-always-on; 48295436Sandrew }; 49295436Sandrew 50295436Sandrew mt6397_vsramca15_reg: buck_vsramca15 { 51295436Sandrew regulator-name = "vsramca15"; 52295436Sandrew regulator-min-microvolt = < 850000>; 53295436Sandrew regulator-max-microvolt = <1350000>; 54295436Sandrew regulator-ramp-delay = <12500>; 55295436Sandrew regulator-always-on; 56295436Sandrew }; 57295436Sandrew 58295436Sandrew mt6397_vsramca7_reg: buck_vsramca7 { 59295436Sandrew regulator-name = "vsramca7"; 60295436Sandrew regulator-min-microvolt = < 850000>; 61295436Sandrew regulator-max-microvolt = <1350000>; 62295436Sandrew regulator-ramp-delay = <12500>; 63295436Sandrew regulator-always-on; 64295436Sandrew }; 65295436Sandrew 66295436Sandrew mt6397_vcore_reg: buck_vcore { 67295436Sandrew regulator-name = "vcore"; 68295436Sandrew regulator-min-microvolt = < 850000>; 69295436Sandrew regulator-max-microvolt = <1350000>; 70295436Sandrew regulator-ramp-delay = <12500>; 71295436Sandrew regulator-always-on; 72295436Sandrew }; 73295436Sandrew 74295436Sandrew mt6397_vgpu_reg: buck_vgpu { 75295436Sandrew regulator-name = "vgpu"; 76295436Sandrew regulator-min-microvolt = < 700000>; 77295436Sandrew regulator-max-microvolt = <1350000>; 78295436Sandrew regulator-ramp-delay = <12500>; 79295436Sandrew regulator-enable-ramp-delay = <115>; 80295436Sandrew }; 81295436Sandrew 82295436Sandrew mt6397_vdrm_reg: buck_vdrm { 83295436Sandrew regulator-name = "vdrm"; 84295436Sandrew regulator-min-microvolt = <1200000>; 85295436Sandrew regulator-max-microvolt = <1400000>; 86295436Sandrew regulator-ramp-delay = <12500>; 87295436Sandrew regulator-always-on; 88295436Sandrew }; 89295436Sandrew 90295436Sandrew mt6397_vio18_reg: buck_vio18 { 91295436Sandrew regulator-name = "vio18"; 92295436Sandrew regulator-min-microvolt = <1620000>; 93295436Sandrew regulator-max-microvolt = <1980000>; 94295436Sandrew regulator-ramp-delay = <12500>; 95295436Sandrew regulator-always-on; 96295436Sandrew }; 97295436Sandrew 98295436Sandrew mt6397_vtcxo_reg: ldo_vtcxo { 99295436Sandrew regulator-name = "vtcxo"; 100295436Sandrew regulator-always-on; 101295436Sandrew }; 102295436Sandrew 103295436Sandrew mt6397_va28_reg: ldo_va28 { 104295436Sandrew regulator-name = "va28"; 105295436Sandrew regulator-always-on; 106295436Sandrew }; 107295436Sandrew 108295436Sandrew mt6397_vcama_reg: ldo_vcama { 109295436Sandrew regulator-name = "vcama"; 110295436Sandrew regulator-min-microvolt = <1500000>; 111295436Sandrew regulator-max-microvolt = <2800000>; 112295436Sandrew regulator-enable-ramp-delay = <218>; 113295436Sandrew }; 114295436Sandrew 115295436Sandrew mt6397_vio28_reg: ldo_vio28 { 116295436Sandrew regulator-name = "vio28"; 117295436Sandrew regulator-always-on; 118295436Sandrew }; 119295436Sandrew 120295436Sandrew mt6397_vusb_reg: ldo_vusb { 121295436Sandrew regulator-name = "vusb"; 122295436Sandrew }; 123295436Sandrew 124295436Sandrew mt6397_vmc_reg: ldo_vmc { 125295436Sandrew regulator-name = "vmc"; 126295436Sandrew regulator-min-microvolt = <1800000>; 127295436Sandrew regulator-max-microvolt = <3300000>; 128295436Sandrew regulator-enable-ramp-delay = <218>; 129295436Sandrew }; 130295436Sandrew 131295436Sandrew mt6397_vmch_reg: ldo_vmch { 132295436Sandrew regulator-name = "vmch"; 133295436Sandrew regulator-min-microvolt = <3000000>; 134295436Sandrew regulator-max-microvolt = <3300000>; 135295436Sandrew regulator-enable-ramp-delay = <218>; 136295436Sandrew }; 137295436Sandrew 138295436Sandrew mt6397_vemc_3v3_reg: ldo_vemc3v3 { 139295436Sandrew regulator-name = "vemc_3v3"; 140295436Sandrew regulator-min-microvolt = <3000000>; 141295436Sandrew regulator-max-microvolt = <3300000>; 142295436Sandrew regulator-enable-ramp-delay = <218>; 143295436Sandrew }; 144295436Sandrew 145295436Sandrew mt6397_vgp1_reg: ldo_vgp1 { 146295436Sandrew regulator-name = "vcamd"; 147295436Sandrew regulator-min-microvolt = <1220000>; 148295436Sandrew regulator-max-microvolt = <3300000>; 149295436Sandrew regulator-enable-ramp-delay = <240>; 150295436Sandrew }; 151295436Sandrew 152295436Sandrew mt6397_vgp2_reg: ldo_vgp2 { 153295436Sandrew regulator-name = "vcamio"; 154295436Sandrew regulator-min-microvolt = <1000000>; 155295436Sandrew regulator-max-microvolt = <3300000>; 156295436Sandrew regulator-enable-ramp-delay = <218>; 157295436Sandrew }; 158295436Sandrew 159295436Sandrew mt6397_vgp3_reg: ldo_vgp3 { 160295436Sandrew regulator-name = "vcamaf"; 161295436Sandrew regulator-min-microvolt = <1200000>; 162295436Sandrew regulator-max-microvolt = <3300000>; 163295436Sandrew regulator-enable-ramp-delay = <218>; 164295436Sandrew }; 165295436Sandrew 166295436Sandrew mt6397_vgp4_reg: ldo_vgp4 { 167295436Sandrew regulator-name = "vgp4"; 168295436Sandrew regulator-min-microvolt = <1200000>; 169295436Sandrew regulator-max-microvolt = <3300000>; 170295436Sandrew regulator-enable-ramp-delay = <218>; 171295436Sandrew }; 172295436Sandrew 173295436Sandrew mt6397_vgp5_reg: ldo_vgp5 { 174295436Sandrew regulator-name = "vgp5"; 175295436Sandrew regulator-min-microvolt = <1200000>; 176295436Sandrew regulator-max-microvolt = <3000000>; 177295436Sandrew regulator-enable-ramp-delay = <218>; 178295436Sandrew }; 179295436Sandrew 180295436Sandrew mt6397_vgp6_reg: ldo_vgp6 { 181295436Sandrew regulator-name = "vgp6"; 182295436Sandrew regulator-min-microvolt = <1200000>; 183295436Sandrew regulator-max-microvolt = <3300000>; 184295436Sandrew regulator-enable-ramp-delay = <218>; 185295436Sandrew }; 186295436Sandrew 187295436Sandrew mt6397_vibr_reg: ldo_vibr { 188295436Sandrew regulator-name = "vibr"; 189295436Sandrew regulator-min-microvolt = <1300000>; 190295436Sandrew regulator-max-microvolt = <3300000>; 191295436Sandrew regulator-enable-ramp-delay = <218>; 192295436Sandrew }; 193295436Sandrew }; 194295436Sandrew }; 195295436Sandrew}; 196295436Sandrew 197279377Simp&uart3 { 198279377Simp status = "okay"; 199279377Simp}; 200