arm: dts: rk3288-evb: 32.768K clk node for BT
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / rt5036.dtsi
1 /* Copyright (c) 2014, 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 &rt5036 {
14         compatible = "rt,rt5036";
15
16                         rt5036_dcdc1: regulator_0 {
17                                 compatible = "rt,rt5036-dcdc1";
18                                 cell-index = <0>;
19                                 rt,nramp_sel = <0x00>;
20                                 rt,sramp_sel = <0x00>;
21                                 rt,allow_mode_mask;
22                         };
23                         rt5036_dcdc2: regulator_1 {
24                                 compatible = "rt,rt5036-dcdc2";
25                                 cell-index = <1>;
26                                 rt,nramp_sel = <0x00>;
27                                 rt,sramp_sel = <0x00>;
28                                 rt,allow_mode_mask;
29                         };
30                         rt5036_dcdc3: regulator_2 {
31                                 compatible = "rt,rt5036-dcdc3";
32                                 cell-index = <2>;
33                                 rt,nramp_sel = <0x00>;
34                                 rt,sramp_sel = <0x00>;
35                                 rt,allow_mode_mask;
36                         };
37                         rt5036_dcdc4: regulator_3 {
38                                 compatible = "rt,rt5036-dcdc4";
39                                 cell-index = <3>;
40                                 rt,nramp_sel = <0x00>;
41                                 rt,sramp_sel = <0x00>;
42                                 rt,allow_mode_mask;
43                         };
44                         rt5036_ldo1: regulator_4 {
45                                 supply-regulator = "rt5036-dcdc3";
46                                 compatible = "rt,rt5036-ldo1";
47                                 cell-index = <4>;
48                                 rt,nramp_sel = <0x00>;
49                                 rt,sramp_sel = <0x00>;
50                                 rt,allow_mode_mask;
51                         };
52                         rt5036_ldo2: regulator_5 {
53                                 supply-regulator = "rt5036-dcdc3";
54                                 compatible = "rt,rt5036-ldo2";
55                                 cell-index = <5>;
56                                 rt,nramp_sel = <0x00>;
57                                 rt,sramp_sel = <0x00>;
58                                 rt,allow_mode_mask;
59                         };
60                         rt5036_ldo3: regulator_6 {
61                                 supply-regulator = "rt5036-dcdc3";
62                                 compatible = "rt,rt5036-ldo3";
63                                 cell-index = <6>;
64                                 rt,nramp_sel = <0x00>;
65                                 rt,sramp_sel = <0x00>;
66                                 rt,allow_mode_mask;
67                         };
68                         rt5036_ldo4: regulator_7 {
69                                 supply-regulator = "rt5036-dcdc3";
70                                 compatible = "rt,rt5036-ldo4";
71                                 cell-index = <7>;
72                                 rt,nramp_sel = <0x00>;
73                                 rt,sramp_sel = <0x00>;
74                                 rt,allow_mode_mask;
75                         };
76                         rt5036_lsw1: regulator_8 {
77                                 supply-regulator = "rt5036-dcdc3";
78                                 compatible = "rt,rt5036-lsw1";
79                                 cell-index = <8>;
80                                 rt,nramp_sel = <0x00>;
81                                 rt,sramp_sel = <0x00>;
82                                 rt,allow_mode_mask;
83                         };
84                         rt5036_lsw2: regulator_9 {
85                                 supply-regulator = "rt5036-dcdc3";
86                                 compatible = "rt,rt5036-lsw2";
87                                 cell-index = <9>;
88                                 rt,nramp_sel = <0x00>;
89                                 rt,sramp_sel = <0x00>;
90                                 rt,allow_mode_mask;
91                         };
92                         rt5036-rtc {
93                                 compatible = "rt,rt5036-rtc";
94                         };
95                         rt5036-misc {
96                                 compatible = "rt,rt5036-misc";
97                                 rt,shdn_press = <0x1>;
98                                 rt,stb_en = <1>;
99                                 rt,lp_enshdn;
100                                 rt,vsysuvlo = <0x2>;
101                                 rt,syslv_enshdn;
102                                 rt,system-power-controller;
103                         };
104                         rt5036-debug {
105                                 compatible = "rt,rt5036-debug";
106                         };
107         };
108