xref: /freebsd/sys/contrib/device-tree/src/arm/mediatek/mt8135-evbp1.dts (revision 725a9f47324d42037db93c27ceb40d4956872f3e)
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};
194