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		reg = <0 0x80000000 0 0x40000000>;
17	};
18};
19
20&pwrap {
21	pmic: mt6397 {
22		compatible = "mediatek,mt6397";
23
24		mt6397regulator: mt6397regulator {
25			compatible = "mediatek,mt6397-regulator";
26
27			mt6397_vpca15_reg: buck_vpca15 {
28				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 {
36				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 {
44				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 {
52				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 {
60				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 {
68				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 {
76				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 {
84				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 {
92				regulator-name = "vtcxo";
93				regulator-always-on;
94			};
95
96			mt6397_va28_reg: ldo_va28 {
97				regulator-name = "va28";
98				regulator-always-on;
99			};
100
101			mt6397_vcama_reg: ldo_vcama {
102				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 {
109				regulator-name = "vio28";
110				regulator-always-on;
111			};
112
113			mt6397_vusb_reg: ldo_vusb {
114				regulator-name = "vusb";
115			};
116
117			mt6397_vmc_reg: ldo_vmc {
118				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 {
125				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 {
132				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 {
139				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 {
146				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 {
153				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 {
160				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 {
167				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 {
174				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 {
181				regulator-name = "vibr";
182				regulator-min-microvolt = <1300000>;
183				regulator-max-microvolt = <3300000>;
184				regulator-enable-ramp-delay = <218>;
185			};
186		};
187	};
188};
189
190&uart3 {
191	status = "okay";
192};
193