Merge tag 'vfs-6.7.misc' of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs
[linux-block.git] / arch / arm / boot / dts / ti / omap / omap443x.dtsi
CommitLineData
0fdebc5e 1// SPDX-License-Identifier: GPL-2.0-only
e77049bb
NM
2/*
3 * Device Tree Source for OMAP443x SoC
4 *
75f66813 5 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
e77049bb
NM
6 */
7
98ef7957 8#include "omap4.dtsi"
e77049bb
NM
9
10/ {
11 cpus {
aa9bb4bb 12 cpu0: cpu@0 {
e77049bb
NM
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 */
72af5e6d
EV
22
23 /* cooling options */
72af5e6d 24 #cooling-cells = <2>; /* min followed by max */
e77049bb
NM
25 };
26 };
8ed94f24 27
aa9bb4bb
EV
28 thermal-zones {
29 #include "omap4-cpu-thermal.dtsi"
30 };
31
977a3528 32 ocp {
44f41687 33 /* 4430 has only gpio_86 tshut and no talert interrupt */
6905e94d 34 bandgap: bandgap@4a002260 {
977a3528
EV
35 reg = <0x4a002260 0x4
36 0x4a00232C 0x4>;
37 compatible = "ti,omap4430-bandgap";
44f41687 38 gpios = <&gpio3 22 GPIO_ACTIVE_HIGH>;
aa9bb4bb 39
977a3528
EV
40 #thermal-sensor-cells = <0>;
41 };
8ed94f24 42 };
e12c7737
AT
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
e77049bb 69};
2488ff6c 70
5379c2db 71&cpu_thermal {
6469b2fe 72 thermal-sensors = <&bandgap>;
5379c2db
K
73 coefficients = <0 20000>;
74};
75
2488ff6c 76/include/ "omap443x-clocks.dtsi"
19d3e9a0
TL
77
78/*
fab030ac 79 * Use dpll_per for sgx at 307.2MHz like droid4 stock v3.0.8 Android kernel
19d3e9a0
TL
80 */
81&sgx_module {
82 assigned-clocks = <&l3_gfx_clkctrl OMAP4_GPU_CLKCTRL 24>,
83 <&dpll_per_m7x2_ck>;
fab030ac 84 assigned-clock-rates = <0>, <307200000>;
19d3e9a0
TL
85 assigned-clock-parents = <&dpll_per_m7x2_ck>;
86};