Linux Audio

Check our new training course

Loading...
v4.17
 1/*
 2 * Device Tree Source for OMAP4460 SoC
 3 *
 4 * Copyright (C) 2012 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#include "omap4.dtsi"
11
12/ {
13	cpus {
14		/* OMAP446x 'standard device' variants OPP50 to OPPTurbo */
15		cpu0: cpu@0 {
16			operating-points = <
17				/* kHz    uV */
18				350000  1025000
19				700000  1200000
20				920000  1313000
21			>;
22			clock-latency = <300000>; /* From legacy driver */
23
24			/* cooling options */
 
 
25			#cooling-cells = <2>; /* min followed by max */
26		};
27	};
28
29	pmu {
30		compatible = "arm,cortex-a9-pmu";
31		interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
32			     <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
33		ti,hwmods = "debugss";
34	};
35
36	thermal-zones {
37		#include "omap4-cpu-thermal.dtsi"
38	};
39
40	ocp {
41		bandgap: bandgap@4a002260 {
42			reg = <0x4a002260 0x4
43			       0x4a00232C 0x4
44			       0x4a002378 0x18>;
45			compatible = "ti,omap4460-bandgap";
46			interrupts = <0 126 IRQ_TYPE_LEVEL_HIGH>; /* talert */
47			gpios = <&gpio3 22 GPIO_ACTIVE_HIGH>; /* tshut */
48
49			#thermal-sensor-cells = <0>;
50		};
51
52		abb_mpu: regulator-abb-mpu {
53			status = "okay";
54
55			reg = <0x4a307bd0 0x8>, <0x4a306014 0x4>,
56			      <0x4A002268 0x4>;
57			reg-names = "base-address", "int-address",
58				    "efuse-address";
59
60			ti,abb_info = <
61			/*uV		ABB	efuse	rbb_m	fbb_m	vset_m*/
62			1025000		0	0	0	0	0
63			1200000		0	0	0	0	0
64			1313000		0	0	0x100000 0x40000 0
65			1375000		1	0	0	0	0
66			1389000		1	0	0	0	0
67			>;
68		};
69
70		abb_iva: regulator-abb-iva {
71			status = "okay";
72
73			reg = <0x4a307bd8 0x8>, <0x4a306010 0x4>,
74			      <0x4A002268 0x4>;
75			reg-names = "base-address", "int-address",
76				    "efuse-address";
77
78			ti,abb_info = <
79			/*uV		ABB	efuse	rbb_m	fbb_m	vset_m*/
80			950000		0	0	0	0	0
81			1140000		0	0	0	0	0
82			1291000		0	0	0x200000 0	0
83			1375000		1	0	0	0	0
84			1376000		1	0	0	0	0
85			>;
86		};
87	};
88
89};
90
91&cpu_thermal {
92	coefficients = <348 (-9301)>;
93};
94
95/include/ "omap446x-clocks.dtsi"
v3.15
 1/*
 2 * Device Tree Source for OMAP4460 SoC
 3 *
 4 * Copyright (C) 2012 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#include "omap4.dtsi"
11
12/ {
13	cpus {
14		/* OMAP446x 'standard device' variants OPP50 to OPPTurbo */
15		cpu0: cpu@0 {
16			operating-points = <
17				/* kHz    uV */
18				350000  1025000
19				700000  1200000
20				920000  1313000
21			>;
22			clock-latency = <300000>; /* From legacy driver */
23
24			/* cooling options */
25			cooling-min-level = <0>;
26			cooling-max-level = <2>;
27			#cooling-cells = <2>; /* min followed by max */
28		};
29	};
30
31	pmu {
32		compatible = "arm,cortex-a9-pmu";
33		interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
34			     <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
35		ti,hwmods = "debugss";
36	};
37
38	thermal-zones {
39		#include "omap4-cpu-thermal.dtsi"
40	};
41
42	ocp {
43		bandgap: bandgap {
44			reg = <0x4a002260 0x4
45			       0x4a00232C 0x4
46			       0x4a002378 0x18>;
47			compatible = "ti,omap4460-bandgap";
48			interrupts = <0 126 IRQ_TYPE_LEVEL_HIGH>; /* talert */
49			gpios = <&gpio3 22 0>; /* tshut */
50
51			#thermal-sensor-cells = <0>;
52		};
53
54		abb_mpu: regulator-abb-mpu {
55			status = "okay";
56
57			reg = <0x4a307bd0 0x8>, <0x4a306014 0x4>,
58			      <0x4A002268 0x4>;
59			reg-names = "base-address", "int-address",
60				    "efuse-address";
61
62			ti,abb_info = <
63			/*uV		ABB	efuse	rbb_m	fbb_m	vset_m*/
64			1025000		0	0	0	0	0
65			1200000		0	0	0	0	0
66			1313000		0	0	0x100000 0x40000 0
67			1375000		1	0	0	0	0
68			1389000		1	0	0	0	0
69			>;
70		};
71
72		abb_iva: regulator-abb-iva {
73			status = "okay";
74
75			reg = <0x4a307bd8 0x8>, <0x4a306010 0x4>,
76			      <0x4A002268 0x4>;
77			reg-names = "base-address", "int-address",
78				    "efuse-address";
79
80			ti,abb_info = <
81			/*uV		ABB	efuse	rbb_m	fbb_m	vset_m*/
82			950000		0	0	0	0	0
83			1140000		0	0	0	0	0
84			1291000		0	0	0x200000 0	0
85			1375000		1	0	0	0	0
86			1376000		1	0	0	0	0
87			>;
88		};
89	};
90
 
 
 
 
91};
92
93/include/ "omap446x-clocks.dtsi"