Loading...
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Device Tree Source for OMAP443x SoC
4 *
5 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
6 */
7
8#include "omap4.dtsi"
9
10/ {
11 cpus {
12 cpu0: cpu@0 {
13 /* OMAP443x variants OPP50-OPPNT */
14 operating-points = <
15 /* kHz uV */
16 300000 1025000
17 600000 1200000
18 800000 1313000
19 1008000 1375000
20 >;
21 clock-latency = <300000>; /* From legacy driver */
22
23 /* cooling options */
24 #cooling-cells = <2>; /* min followed by max */
25 };
26 };
27
28 thermal-zones {
29 #include "omap4-cpu-thermal.dtsi"
30 };
31
32 ocp {
33 /* 4430 has only gpio_86 tshut and no talert interrupt */
34 bandgap: bandgap@4a002260 {
35 reg = <0x4a002260 0x4
36 0x4a00232C 0x4>;
37 compatible = "ti,omap4430-bandgap";
38 gpios = <&gpio3 22 GPIO_ACTIVE_HIGH>;
39
40 #thermal-sensor-cells = <0>;
41 };
42 };
43
44 ocp {
45 abb_mpu: regulator-abb-mpu {
46 status = "okay";
47
48 reg = <0x4a307bd0 0x8>, <0x4a306014 0x4>;
49 reg-names = "base-address", "int-address";
50
51 ti,abb_info = <
52 /*uV ABB efuse rbb_m fbb_m vset_m*/
53 1025000 0 0 0 0 0
54 1200000 0 0 0 0 0
55 1313000 0 0 0 0 0
56 1375000 1 0 0 0 0
57 1389000 1 0 0 0 0
58 >;
59 };
60
61 /* Default unused, just provide register info for record */
62 abb_iva: regulator-abb-iva {
63 reg = <0x4a307bd8 0x8>, <0x4a306010 0x4>;
64 reg-names = "base-address", "int-address";
65 };
66
67 };
68
69};
70
71&cpu_thermal {
72 coefficients = <0 20000>;
73};
74
75/include/ "omap443x-clocks.dtsi"
76
77/*
78 * Use dpll_per for sgx at 307.2MHz like droid4 stock v3.0.8 Android kernel
79 */
80&sgx_module {
81 assigned-clocks = <&l3_gfx_clkctrl OMAP4_GPU_CLKCTRL 24>,
82 <&dpll_per_m7x2_ck>;
83 assigned-clock-rates = <0>, <307200000>;
84 assigned-clock-parents = <&dpll_per_m7x2_ck>;
85};
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-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"