Merge tag 'drm-next-2020-12-24' of git://anongit.freedesktop.org/drm/drm
[linux-2.6-microblaze.git] / arch / arm / boot / dts / omap443x.dtsi
1 /*
2  * Device Tree Source for OMAP443x SoC
3  *
4  * Copyright (C) 2013 Texas Instruments Incorporated - https://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-cells = <2>; /* min followed by max */
28                 };
29         };
30
31         thermal-zones {
32                 #include "omap4-cpu-thermal.dtsi"
33         };
34
35         ocp {
36                 bandgap: bandgap@4a002260 {
37                         reg = <0x4a002260 0x4
38                                0x4a00232C 0x4>;
39                         compatible = "ti,omap4430-bandgap";
40
41                         #thermal-sensor-cells = <0>;
42                 };
43         };
44
45         ocp {
46                 abb_mpu: regulator-abb-mpu {
47                         status = "okay";
48
49                         reg = <0x4a307bd0 0x8>, <0x4a306014 0x4>;
50                         reg-names = "base-address", "int-address";
51
52                         ti,abb_info = <
53                         /*uV            ABB     efuse   rbb_m   fbb_m   vset_m*/
54                         1025000         0       0       0       0       0
55                         1200000         0       0       0       0       0
56                         1313000         0       0       0       0       0
57                         1375000         1       0       0       0       0
58                         1389000         1       0       0       0       0
59                         >;
60                 };
61
62                 /* Default unused, just provide register info for record */
63                 abb_iva: regulator-abb-iva {
64                         reg = <0x4a307bd8 0x8>, <0x4a306010 0x4>;
65                         reg-names = "base-address", "int-address";
66                 };
67
68         };
69
70 };
71
72 &cpu_thermal {
73         coefficients = <0 20000>;
74 };
75
76 /include/ "omap443x-clocks.dtsi"
77
78 /*
79  * Use dpll_per for sgx at 153.6MHz like droid4 stock v3.0.8 Android kernel
80  */
81 &sgx_module {
82         assigned-clocks = <&l3_gfx_clkctrl OMAP4_GPU_CLKCTRL 24>,
83                           <&dpll_per_m7x2_ck>;
84         assigned-clock-rates = <0>, <153600000>;
85         assigned-clock-parents = <&dpll_per_m7x2_ck>;
86 };