1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2018 Amlogic, Inc. All rights reserved.
4 */
5
6#include "meson-g12.dtsi"
7
8/ {
9	compatible = "amlogic,g12a";
10
11	cpus {
12		#address-cells = <0x2>;
13		#size-cells = <0x0>;
14
15		cpu0: cpu@0 {
16			device_type = "cpu";
17			compatible = "arm,cortex-a53";
18			reg = <0x0 0x0>;
19			enable-method = "psci";
20			next-level-cache = <&l2>;
21		};
22
23		cpu1: cpu@1 {
24			device_type = "cpu";
25			compatible = "arm,cortex-a53";
26			reg = <0x0 0x1>;
27			enable-method = "psci";
28			next-level-cache = <&l2>;
29		};
30
31		cpu2: cpu@2 {
32			device_type = "cpu";
33			compatible = "arm,cortex-a53";
34			reg = <0x0 0x2>;
35			enable-method = "psci";
36			next-level-cache = <&l2>;
37		};
38
39		cpu3: cpu@3 {
40			device_type = "cpu";
41			compatible = "arm,cortex-a53";
42			reg = <0x0 0x3>;
43			enable-method = "psci";
44			next-level-cache = <&l2>;
45		};
46
47		l2: l2-cache0 {
48			compatible = "cache";
49		};
50	};
51
52	cpu_opp_table: opp-table {
53		compatible = "operating-points-v2";
54		opp-shared;
55
56		opp-100000000 {
57			opp-hz = /bits/ 64 <100000000>;
58			opp-microvolt = <731000>;
59		};
60
61		opp-250000000 {
62			opp-hz = /bits/ 64 <250000000>;
63			opp-microvolt = <731000>;
64		};
65
66		opp-500000000 {
67			opp-hz = /bits/ 64 <500000000>;
68			opp-microvolt = <731000>;
69		};
70
71		opp-667000000 {
72			opp-hz = /bits/ 64 <666666666>;
73			opp-microvolt = <731000>;
74		};
75
76		opp-1000000000 {
77			opp-hz = /bits/ 64 <1000000000>;
78			opp-microvolt = <731000>;
79		};
80
81		opp-1200000000 {
82			opp-hz = /bits/ 64 <1200000000>;
83			opp-microvolt = <731000>;
84		};
85
86		opp-1398000000 {
87			opp-hz = /bits/ 64 <1398000000>;
88			opp-microvolt = <761000>;
89		};
90
91		opp-1512000000 {
92			opp-hz = /bits/ 64 <1512000000>;
93			opp-microvolt = <791000>;
94		};
95
96		opp-1608000000 {
97			opp-hz = /bits/ 64 <1608000000>;
98			opp-microvolt = <831000>;
99		};
100
101		opp-1704000000 {
102			opp-hz = /bits/ 64 <1704000000>;
103			opp-microvolt = <861000>;
104		};
105
106		opp-1800000000 {
107			opp-hz = /bits/ 64 <1800000000>;
108			opp-microvolt = <981000>;
109		};
110	};
111};
112