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