GNU Linux-libre 4.14.290-gnu1
[releases.git] / arch / arm / boot / dts / omap443x.dtsi
1 /*
2  * Device Tree Source for OMAP443x SoC
3  *
4  * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
5  *
6  * This file is licensed under the terms of the GNU General Public License
7  * version 2.  This program is licensed "as is" without any warranty of any
8  * kind, whether express or implied.
9  */
10
11 #include "omap4.dtsi"
12
13 / {
14         cpus {
15                 cpu0: cpu@0 {
16                         /* OMAP443x variants OPP50-OPPNT */
17                         operating-points = <
18                                 /* kHz    uV */
19                                 300000  1025000
20                                 600000  1200000
21                                 800000  1313000
22                                 1008000 1375000
23                         >;
24                         clock-latency = <300000>; /* From legacy driver */
25
26                         /* cooling options */
27                         cooling-min-level = <0>;
28                         cooling-max-level = <3>;
29                         #cooling-cells = <2>; /* min followed by max */
30                 };
31         };
32
33         thermal-zones {
34                 #include "omap4-cpu-thermal.dtsi"
35         };
36
37         ocp {
38                 /* 4430 has only gpio_86 tshut and no talert interrupt */
39                 bandgap: bandgap@4a002260 {
40                         reg = <0x4a002260 0x4
41                                0x4a00232C 0x4>;
42                         compatible = "ti,omap4430-bandgap";
43                         gpios = <&gpio3 22 GPIO_ACTIVE_HIGH>;
44
45                         #thermal-sensor-cells = <0>;
46                 };
47         };
48
49         ocp {
50                 abb_mpu: regulator-abb-mpu {
51                         status = "okay";
52
53                         reg = <0x4a307bd0 0x8>, <0x4a306014 0x4>;
54                         reg-names = "base-address", "int-address";
55
56                         ti,abb_info = <
57                         /*uV            ABB     efuse   rbb_m   fbb_m   vset_m*/
58                         1025000         0       0       0       0       0
59                         1200000         0       0       0       0       0
60                         1313000         0       0       0       0       0
61                         1375000         1       0       0       0       0
62                         1389000         1       0       0       0       0
63                         >;
64                 };
65
66                 /* Default unused, just provide register info for record */
67                 abb_iva: regulator-abb-iva {
68                         reg = <0x4a307bd8 0x8>, <0x4a306010 0x4>;
69                         reg-names = "base-address", "int-address";
70                 };
71
72         };
73
74 };
75
76 &cpu_thermal {
77         coefficients = <0 20000>;
78 };
79
80 /include/ "omap443x-clocks.dtsi"