blob: 0ace7a40a60daa6094b8dcead9dd5e164734cbd9 [file] [log] [blame]
Sean Wang1cf30702018-04-11 16:53:55 +08001// SPDX-License-Identifier: GPL-2.0
Joe.Cd51f4262014-11-11 15:53:44 +08002/*
3 * Copyright (c) 2014 MediaTek Inc.
4 * Author: Joe.C <yingjoe.chen@mediatek.com>
5 *
Joe.Cd51f4262014-11-11 15:53:44 +08006 */
7
8/dts-v1/;
9#include "mt8135.dtsi"
10
11/ {
12 model = "MediaTek MT8135 evaluation board";
13 compatible = "mediatek,mt8135-evbp1", "mediatek,mt8135";
14
15 memory {
16 reg = <0 0x80000000 0 0x40000000>;
17 };
18};
Eddie Huangac00aa42015-05-01 13:28:00 +020019
Sascha Haueraada7d52015-07-07 14:45:12 +020020&pwrap {
21 pmic: mt6397 {
22 compatible = "mediatek,mt6397";
23
24 mt6397regulator: mt6397regulator {
25 compatible = "mediatek,mt6397-regulator";
26
27 mt6397_vpca15_reg: buck_vpca15 {
Sascha Haueraada7d52015-07-07 14:45:12 +020028 regulator-name = "vpca15";
29 regulator-min-microvolt = < 850000>;
30 regulator-max-microvolt = <1350000>;
31 regulator-ramp-delay = <12500>;
32 regulator-always-on;
33 };
34
35 mt6397_vpca7_reg: buck_vpca7 {
Sascha Haueraada7d52015-07-07 14:45:12 +020036 regulator-name = "vpca7";
37 regulator-min-microvolt = < 850000>;
38 regulator-max-microvolt = <1350000>;
39 regulator-ramp-delay = <12500>;
40 regulator-always-on;
41 };
42
43 mt6397_vsramca15_reg: buck_vsramca15 {
Sascha Haueraada7d52015-07-07 14:45:12 +020044 regulator-name = "vsramca15";
45 regulator-min-microvolt = < 850000>;
46 regulator-max-microvolt = <1350000>;
47 regulator-ramp-delay = <12500>;
48 regulator-always-on;
49 };
50
51 mt6397_vsramca7_reg: buck_vsramca7 {
Sascha Haueraada7d52015-07-07 14:45:12 +020052 regulator-name = "vsramca7";
53 regulator-min-microvolt = < 850000>;
54 regulator-max-microvolt = <1350000>;
55 regulator-ramp-delay = <12500>;
56 regulator-always-on;
57 };
58
59 mt6397_vcore_reg: buck_vcore {
Sascha Haueraada7d52015-07-07 14:45:12 +020060 regulator-name = "vcore";
61 regulator-min-microvolt = < 850000>;
62 regulator-max-microvolt = <1350000>;
63 regulator-ramp-delay = <12500>;
64 regulator-always-on;
65 };
66
67 mt6397_vgpu_reg: buck_vgpu {
Sascha Haueraada7d52015-07-07 14:45:12 +020068 regulator-name = "vgpu";
69 regulator-min-microvolt = < 700000>;
70 regulator-max-microvolt = <1350000>;
71 regulator-ramp-delay = <12500>;
72 regulator-enable-ramp-delay = <115>;
73 };
74
75 mt6397_vdrm_reg: buck_vdrm {
Sascha Haueraada7d52015-07-07 14:45:12 +020076 regulator-name = "vdrm";
77 regulator-min-microvolt = <1200000>;
78 regulator-max-microvolt = <1400000>;
79 regulator-ramp-delay = <12500>;
80 regulator-always-on;
81 };
82
83 mt6397_vio18_reg: buck_vio18 {
Sascha Haueraada7d52015-07-07 14:45:12 +020084 regulator-name = "vio18";
85 regulator-min-microvolt = <1620000>;
86 regulator-max-microvolt = <1980000>;
87 regulator-ramp-delay = <12500>;
88 regulator-always-on;
89 };
90
91 mt6397_vtcxo_reg: ldo_vtcxo {
Sascha Haueraada7d52015-07-07 14:45:12 +020092 regulator-name = "vtcxo";
93 regulator-always-on;
94 };
95
96 mt6397_va28_reg: ldo_va28 {
Sascha Haueraada7d52015-07-07 14:45:12 +020097 regulator-name = "va28";
98 regulator-always-on;
99 };
100
101 mt6397_vcama_reg: ldo_vcama {
Sascha Haueraada7d52015-07-07 14:45:12 +0200102 regulator-name = "vcama";
103 regulator-min-microvolt = <1500000>;
104 regulator-max-microvolt = <2800000>;
105 regulator-enable-ramp-delay = <218>;
106 };
107
108 mt6397_vio28_reg: ldo_vio28 {
Sascha Haueraada7d52015-07-07 14:45:12 +0200109 regulator-name = "vio28";
110 regulator-always-on;
111 };
112
113 mt6397_vusb_reg: ldo_vusb {
Sascha Haueraada7d52015-07-07 14:45:12 +0200114 regulator-name = "vusb";
115 };
116
117 mt6397_vmc_reg: ldo_vmc {
Sascha Haueraada7d52015-07-07 14:45:12 +0200118 regulator-name = "vmc";
119 regulator-min-microvolt = <1800000>;
120 regulator-max-microvolt = <3300000>;
121 regulator-enable-ramp-delay = <218>;
122 };
123
124 mt6397_vmch_reg: ldo_vmch {
Sascha Haueraada7d52015-07-07 14:45:12 +0200125 regulator-name = "vmch";
126 regulator-min-microvolt = <3000000>;
127 regulator-max-microvolt = <3300000>;
128 regulator-enable-ramp-delay = <218>;
129 };
130
131 mt6397_vemc_3v3_reg: ldo_vemc3v3 {
Sascha Haueraada7d52015-07-07 14:45:12 +0200132 regulator-name = "vemc_3v3";
133 regulator-min-microvolt = <3000000>;
134 regulator-max-microvolt = <3300000>;
135 regulator-enable-ramp-delay = <218>;
136 };
137
138 mt6397_vgp1_reg: ldo_vgp1 {
Sascha Haueraada7d52015-07-07 14:45:12 +0200139 regulator-name = "vcamd";
140 regulator-min-microvolt = <1220000>;
141 regulator-max-microvolt = <3300000>;
142 regulator-enable-ramp-delay = <240>;
143 };
144
145 mt6397_vgp2_reg: ldo_vgp2 {
Sascha Haueraada7d52015-07-07 14:45:12 +0200146 regulator-name = "vcamio";
147 regulator-min-microvolt = <1000000>;
148 regulator-max-microvolt = <3300000>;
149 regulator-enable-ramp-delay = <218>;
150 };
151
152 mt6397_vgp3_reg: ldo_vgp3 {
Sascha Haueraada7d52015-07-07 14:45:12 +0200153 regulator-name = "vcamaf";
154 regulator-min-microvolt = <1200000>;
155 regulator-max-microvolt = <3300000>;
156 regulator-enable-ramp-delay = <218>;
157 };
158
159 mt6397_vgp4_reg: ldo_vgp4 {
Sascha Haueraada7d52015-07-07 14:45:12 +0200160 regulator-name = "vgp4";
161 regulator-min-microvolt = <1200000>;
162 regulator-max-microvolt = <3300000>;
163 regulator-enable-ramp-delay = <218>;
164 };
165
166 mt6397_vgp5_reg: ldo_vgp5 {
Sascha Haueraada7d52015-07-07 14:45:12 +0200167 regulator-name = "vgp5";
168 regulator-min-microvolt = <1200000>;
169 regulator-max-microvolt = <3000000>;
170 regulator-enable-ramp-delay = <218>;
171 };
172
173 mt6397_vgp6_reg: ldo_vgp6 {
Sascha Haueraada7d52015-07-07 14:45:12 +0200174 regulator-name = "vgp6";
175 regulator-min-microvolt = <1200000>;
176 regulator-max-microvolt = <3300000>;
177 regulator-enable-ramp-delay = <218>;
178 };
179
180 mt6397_vibr_reg: ldo_vibr {
Sascha Haueraada7d52015-07-07 14:45:12 +0200181 regulator-name = "vibr";
182 regulator-min-microvolt = <1300000>;
183 regulator-max-microvolt = <3300000>;
184 regulator-enable-ramp-delay = <218>;
185 };
186 };
187 };
188};
189
Eddie Huangac00aa42015-05-01 13:28:00 +0200190&uart3 {
191 status = "okay";
192};