7f583bdea22957b5f92e74c7d4b0f131bba8c184
[cascardo/linux.git] / arch / arm64 / boot / dts / mediatek / mt8173-evb.dts
1 /*
2  * Copyright (c) 2014 MediaTek Inc.
3  * Author: Eddie Huang <eddie.huang@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 "mt8173.dtsi"
17
18 / {
19         model = "MediaTek MT8173 evaluation board";
20         compatible = "mediatek,mt8173-evb", "mediatek,mt8173";
21
22         aliases {
23                 serial0 = &uart0;
24                 serial1 = &uart1;
25                 serial2 = &uart2;
26                 serial3 = &uart3;
27         };
28
29         memory@40000000 {
30                 device_type = "memory";
31                 reg = <0 0x40000000 0 0x80000000>;
32         };
33
34         chosen { };
35 };
36
37 &i2c1 {
38         status = "okay";
39
40         buck: da9211@68 {
41                 compatible = "dlg,da9211";
42                 reg = <0x68>;
43
44                 regulators {
45                         da9211_vcpu_reg: BUCKA {
46                                 regulator-name = "VBUCKA";
47                                 regulator-min-microvolt = < 700000>;
48                                 regulator-max-microvolt = <1310000>;
49                                 regulator-min-microamp  = <2000000>;
50                                 regulator-max-microamp  = <4400000>;
51                                 regulator-ramp-delay = <10000>;
52                                 regulator-always-on;
53                         };
54
55                         da9211_vgpu_reg: BUCKB {
56                                 regulator-name = "VBUCKB";
57                                 regulator-min-microvolt = < 700000>;
58                                 regulator-max-microvolt = <1310000>;
59                                 regulator-min-microamp  = <2000000>;
60                                 regulator-max-microamp  = <3000000>;
61                                 regulator-ramp-delay = <10000>;
62                         };
63                 };
64         };
65 };
66
67 &uart0 {
68         status = "okay";
69 };