hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/arch/arm/boot/dts/da850.dtsi
....@@ -1,11 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Copyright 2012 DENX Software Engineering GmbH
34 * Heiko Schocher <hs@denx.de>
4
- *
5
- * This program is free software; you can redistribute it and/or modify it
6
- * under the terms of the GNU General Public License as published by the
7
- * Free Software Foundation; either version 2 of the License, or (at your
8
- * option) any later version.
95 */
106 #include <dt-bindings/interrupt-controller/irq.h>
117
....@@ -20,6 +16,56 @@
2016 reg = <0xc0000000 0x0>;
2117 };
2218
19
+ cpus {
20
+ #address-cells = <1>;
21
+ #size-cells = <0>;
22
+
23
+ cpu: cpu@0 {
24
+ compatible = "arm,arm926ej-s";
25
+ device_type = "cpu";
26
+ reg = <0>;
27
+ clocks = <&psc0 14>;
28
+ operating-points-v2 = <&opp_table>;
29
+ };
30
+ };
31
+
32
+ opp_table: opp-table {
33
+ compatible = "operating-points-v2";
34
+
35
+ opp_100: opp100-100000000 {
36
+ opp-hz = /bits/ 64 <100000000>;
37
+ opp-microvolt = <1000000 950000 1050000>;
38
+ };
39
+
40
+ opp_200: opp110-200000000 {
41
+ opp-hz = /bits/ 64 <200000000>;
42
+ opp-microvolt = <1100000 1050000 1160000>;
43
+ };
44
+
45
+ opp_300: opp120-300000000 {
46
+ opp-hz = /bits/ 64 <300000000>;
47
+ opp-microvolt = <1200000 1140000 1320000>;
48
+ };
49
+
50
+ /*
51
+ * Original silicon was 300MHz max, so higher frequencies
52
+ * need to be enabled on a per-board basis if the chip is
53
+ * capable.
54
+ */
55
+
56
+ opp_375: opp120-375000000 {
57
+ status = "disabled";
58
+ opp-hz = /bits/ 64 <375000000>;
59
+ opp-microvolt = <1200000 1140000 1320000>;
60
+ };
61
+
62
+ opp_456: opp130-456000000 {
63
+ status = "disabled";
64
+ opp-hz = /bits/ 64 <456000000>;
65
+ opp-microvolt = <1300000 1250000 1350000>;
66
+ };
67
+ };
68
+
2369 arm {
2470 #address-cells = <1>;
2571 #size-cells = <1>;