Loading...
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};
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (c) 2014 MediaTek Inc.
4 * Author: Joe.C <yingjoe.chen@mediatek.com>
5 *
6 */
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 device_type = "memory";
17 reg = <0 0x80000000 0 0x40000000>;
18 };
19};
20
21&pwrap {
22 pmic: mt6397 {
23 compatible = "mediatek,mt6397";
24
25 mt6397regulator: mt6397regulator {
26 compatible = "mediatek,mt6397-regulator";
27
28 mt6397_vpca15_reg: buck_vpca15 {
29 regulator-name = "vpca15";
30 regulator-min-microvolt = < 850000>;
31 regulator-max-microvolt = <1350000>;
32 regulator-ramp-delay = <12500>;
33 regulator-always-on;
34 };
35
36 mt6397_vpca7_reg: buck_vpca7 {
37 regulator-name = "vpca7";
38 regulator-min-microvolt = < 850000>;
39 regulator-max-microvolt = <1350000>;
40 regulator-ramp-delay = <12500>;
41 regulator-always-on;
42 };
43
44 mt6397_vsramca15_reg: buck_vsramca15 {
45 regulator-name = "vsramca15";
46 regulator-min-microvolt = < 850000>;
47 regulator-max-microvolt = <1350000>;
48 regulator-ramp-delay = <12500>;
49 regulator-always-on;
50 };
51
52 mt6397_vsramca7_reg: buck_vsramca7 {
53 regulator-name = "vsramca7";
54 regulator-min-microvolt = < 850000>;
55 regulator-max-microvolt = <1350000>;
56 regulator-ramp-delay = <12500>;
57 regulator-always-on;
58 };
59
60 mt6397_vcore_reg: buck_vcore {
61 regulator-name = "vcore";
62 regulator-min-microvolt = < 850000>;
63 regulator-max-microvolt = <1350000>;
64 regulator-ramp-delay = <12500>;
65 regulator-always-on;
66 };
67
68 mt6397_vgpu_reg: buck_vgpu {
69 regulator-name = "vgpu";
70 regulator-min-microvolt = < 700000>;
71 regulator-max-microvolt = <1350000>;
72 regulator-ramp-delay = <12500>;
73 regulator-enable-ramp-delay = <115>;
74 };
75
76 mt6397_vdrm_reg: buck_vdrm {
77 regulator-name = "vdrm";
78 regulator-min-microvolt = <1200000>;
79 regulator-max-microvolt = <1400000>;
80 regulator-ramp-delay = <12500>;
81 regulator-always-on;
82 };
83
84 mt6397_vio18_reg: buck_vio18 {
85 regulator-name = "vio18";
86 regulator-min-microvolt = <1620000>;
87 regulator-max-microvolt = <1980000>;
88 regulator-ramp-delay = <12500>;
89 regulator-always-on;
90 };
91
92 mt6397_vtcxo_reg: ldo_vtcxo {
93 regulator-name = "vtcxo";
94 regulator-always-on;
95 };
96
97 mt6397_va28_reg: ldo_va28 {
98 regulator-name = "va28";
99 regulator-always-on;
100 };
101
102 mt6397_vcama_reg: ldo_vcama {
103 regulator-name = "vcama";
104 regulator-min-microvolt = <1500000>;
105 regulator-max-microvolt = <2800000>;
106 regulator-enable-ramp-delay = <218>;
107 };
108
109 mt6397_vio28_reg: ldo_vio28 {
110 regulator-name = "vio28";
111 regulator-always-on;
112 };
113
114 mt6397_vusb_reg: ldo_vusb {
115 regulator-name = "vusb";
116 };
117
118 mt6397_vmc_reg: ldo_vmc {
119 regulator-name = "vmc";
120 regulator-min-microvolt = <1800000>;
121 regulator-max-microvolt = <3300000>;
122 regulator-enable-ramp-delay = <218>;
123 };
124
125 mt6397_vmch_reg: ldo_vmch {
126 regulator-name = "vmch";
127 regulator-min-microvolt = <3000000>;
128 regulator-max-microvolt = <3300000>;
129 regulator-enable-ramp-delay = <218>;
130 };
131
132 mt6397_vemc_3v3_reg: ldo_vemc3v3 {
133 regulator-name = "vemc_3v3";
134 regulator-min-microvolt = <3000000>;
135 regulator-max-microvolt = <3300000>;
136 regulator-enable-ramp-delay = <218>;
137 };
138
139 mt6397_vgp1_reg: ldo_vgp1 {
140 regulator-name = "vcamd";
141 regulator-min-microvolt = <1220000>;
142 regulator-max-microvolt = <3300000>;
143 regulator-enable-ramp-delay = <240>;
144 };
145
146 mt6397_vgp2_reg: ldo_vgp2 {
147 regulator-name = "vcamio";
148 regulator-min-microvolt = <1000000>;
149 regulator-max-microvolt = <3300000>;
150 regulator-enable-ramp-delay = <218>;
151 };
152
153 mt6397_vgp3_reg: ldo_vgp3 {
154 regulator-name = "vcamaf";
155 regulator-min-microvolt = <1200000>;
156 regulator-max-microvolt = <3300000>;
157 regulator-enable-ramp-delay = <218>;
158 };
159
160 mt6397_vgp4_reg: ldo_vgp4 {
161 regulator-name = "vgp4";
162 regulator-min-microvolt = <1200000>;
163 regulator-max-microvolt = <3300000>;
164 regulator-enable-ramp-delay = <218>;
165 };
166
167 mt6397_vgp5_reg: ldo_vgp5 {
168 regulator-name = "vgp5";
169 regulator-min-microvolt = <1200000>;
170 regulator-max-microvolt = <3000000>;
171 regulator-enable-ramp-delay = <218>;
172 };
173
174 mt6397_vgp6_reg: ldo_vgp6 {
175 regulator-name = "vgp6";
176 regulator-min-microvolt = <1200000>;
177 regulator-max-microvolt = <3300000>;
178 regulator-enable-ramp-delay = <218>;
179 };
180
181 mt6397_vibr_reg: ldo_vibr {
182 regulator-name = "vibr";
183 regulator-min-microvolt = <1300000>;
184 regulator-max-microvolt = <3300000>;
185 regulator-enable-ramp-delay = <218>;
186 };
187 };
188 };
189};
190
191&uart3 {
192 status = "okay";
193};