ARM64: DTS: Add rk3399-firefly uart4 device, node as /dev/ttyS1
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / rt5025.dtsi
1 /* Copyright (c) 2013, The Linux Foundation. All rights reserved.
2  *
3  * This program is free software; you can redistribute it and/or modify
4  * it under the terms of the GNU General Public License version 2 and
5  * only version 2 as published by the Free Software Foundation.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10  * GNU General Public License for more details.
11  */
12
13 &rt5025 {
14         compatible = "rt,rt5025";
15 //      reg = <0x35>;
16
17                         rt5025_dcdc1: regulator_0 {
18                                 compatible = "rt,rt5025-dcdc1";
19                                 cell-index = <0>;
20                                 rt,ramp_sel = <0x00>;
21                                 rt,allow_mode_mask;
22                         };
23
24                         rt5025_dcdc2: regulator_1 {
25                                 compatible = "rt,rt5025-dcdc2";
26                                 cell-index = <1>;
27                                 rt,ramp_sel = <0x00>;
28                                 rt,allow_mode_mask;
29                         };
30
31                         rt5025_dcdc3: regulator_2 {
32                                 compatible = "rt,rt5025-dcdc3";
33                                 cell-index = <2>;
34                                 rt,ramp_sel = <0x00>;
35                                 rt,allow_mode_mask;
36                         };
37
38                         rt5025_dcdc4: regulator_3 {
39                                 compatible = "rt,rt5025-dcdc4";
40                                 cell-index = <3>;
41                         };
42
43                         rt5025_ldo1: regulator_4 {
44                                 compatible = "rt,rt5025-ldo1";
45                                 cell-index = <4>;
46                         };
47
48                         rt5025_ldo2: regulator_5 {
49                                 compatible = "rt,rt5025-ldo2";
50                                 cell-index = <5>;
51                         };
52
53                         rt5025_ldo3: regulator_6 {
54                                 compatible = "rt,rt5025-ldo3";
55                                 cell-index = <6>;
56                         };
57
58                         rt5025_ldo4: regulator_7 {
59                                 compatible = "rt,rt5025-ldo4";
60                                 cell-index = <7>;
61                         };
62
63                         rt5025_ldo5: regulator_8 {
64                                 compatible = "rt,rt5025-ldo5";
65                                 cell-index = <8>;
66                         };
67
68                         rt5025_ldo6: regulator_9 {
69                                 compatible = "rt,rt5025-ldo6";
70                                 cell-index = <9>;
71                         };
72                         
73                         rt5025-charger {
74                                 compatible = "rt,rt5025-charger";
75                                 rt,te_en;
76                                 //rt,screenon_adjust;
77                                 rt,iprec = <0x00>;
78                                 rt,ieoc = <0x00>;
79                                 rt,vprec = <0x05>;
80                                 rt,vdpm = <0x02>;
81                                 rt,chg_volt = <4200>;
82                                 rt,acchg_icc = <2000>;
83                                 rt,usbtachg_icc = <2000>;
84                                 rt,usbchg_icc = <500>;
85                                 rt,screenon_icc = <500>;
86                                 rt,temp = <0 150 500 600>;
87                                 rt,temp_scalar = <0x30 0x2b 0x28 0x22 0x15 0x10 0x10 0x0d>;
88                         };
89
90                         rt5025-battery {
91                                 compatible = "rt,rt5025-battery";
92                         };
93
94                         rt5025_gpio: rt5025-gpio {
95                                 compatible = "rt,rt5025-gpio";
96                                 gpio-controller;
97                                 #gpio-cells = <2>;
98                                 rt,ngpio = <3>;
99                         };
100                         rt5025-misc {
101                                 compatible = "rt,rt5025-misc";
102                                 rt,vsyslv = <0x02>;
103                                 rt,shdnlpress_time = <0x01>;
104                                 rt,startlpress_time = <0x00>;
105                                 rt,vsyslv_enshdn;
106                                 rt,system-power-controller;
107
108                         };
109
110                         rt5025-debug {
111                                 compatible = "rt,rt5025-debug";
112                         };
113 };