WIP FPC-III support
[linux/fpc-iii.git] / arch / arm / boot / dts / exynos5420-cpus.dtsi
blob58d1c54cf925a2a9be96069b176100d6a73d1376
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Samsung Exynos5420 SoC cpu device tree source
4  *
5  * Copyright (c) 2015 Samsung Electronics Co., Ltd.
6  *              http://www.samsung.com
7  *
8  * This file provides desired ordering for Exynos5420 and Exynos5800
9  * boards: CPU[0123] being the A15.
10  *
11  * The Exynos5420, 5422 and 5800 actually share the same CPU configuration
12  * but particular boards choose different booting order.
13  *
14  * Exynos5420 and Exynos5800 always boot from Cortex-A15. On Exynos5422
15  * booting cluster (big or LITTLE) is chosen by IROM code by reading
16  * the gpg2-1 GPIO. By default all Exynos5422 based boards choose booting
17  * from the LITTLE: Cortex-A7.
18  */
20 / {
21         cpus {
22                 #address-cells = <1>;
23                 #size-cells = <0>;
25                 cpu0: cpu@0 {
26                         device_type = "cpu";
27                         compatible = "arm,cortex-a15";
28                         reg = <0x0>;
29                         clocks = <&clock CLK_ARM_CLK>;
30                         clock-frequency = <1800000000>;
31                         cci-control-port = <&cci_control1>;
32                         operating-points-v2 = <&cluster_a15_opp_table>;
33                         #cooling-cells = <2>; /* min followed by max */
34                         capacity-dmips-mhz = <1024>;
35                 };
37                 cpu1: cpu@1 {
38                         device_type = "cpu";
39                         compatible = "arm,cortex-a15";
40                         reg = <0x1>;
41                         clocks = <&clock CLK_ARM_CLK>;
42                         clock-frequency = <1800000000>;
43                         cci-control-port = <&cci_control1>;
44                         operating-points-v2 = <&cluster_a15_opp_table>;
45                         #cooling-cells = <2>; /* min followed by max */
46                         capacity-dmips-mhz = <1024>;
47                 };
49                 cpu2: cpu@2 {
50                         device_type = "cpu";
51                         compatible = "arm,cortex-a15";
52                         reg = <0x2>;
53                         clocks = <&clock CLK_ARM_CLK>;
54                         clock-frequency = <1800000000>;
55                         cci-control-port = <&cci_control1>;
56                         operating-points-v2 = <&cluster_a15_opp_table>;
57                         #cooling-cells = <2>; /* min followed by max */
58                         capacity-dmips-mhz = <1024>;
59                 };
61                 cpu3: cpu@3 {
62                         device_type = "cpu";
63                         compatible = "arm,cortex-a15";
64                         reg = <0x3>;
65                         clocks = <&clock CLK_ARM_CLK>;
66                         clock-frequency = <1800000000>;
67                         cci-control-port = <&cci_control1>;
68                         operating-points-v2 = <&cluster_a15_opp_table>;
69                         #cooling-cells = <2>; /* min followed by max */
70                         capacity-dmips-mhz = <1024>;
71                 };
73                 cpu4: cpu@100 {
74                         device_type = "cpu";
75                         compatible = "arm,cortex-a7";
76                         reg = <0x100>;
77                         clocks = <&clock CLK_KFC_CLK>;
78                         clock-frequency = <1000000000>;
79                         cci-control-port = <&cci_control0>;
80                         operating-points-v2 = <&cluster_a7_opp_table>;
81                         #cooling-cells = <2>; /* min followed by max */
82                         capacity-dmips-mhz = <539>;
83                 };
85                 cpu5: cpu@101 {
86                         device_type = "cpu";
87                         compatible = "arm,cortex-a7";
88                         reg = <0x101>;
89                         clocks = <&clock CLK_KFC_CLK>;
90                         clock-frequency = <1000000000>;
91                         cci-control-port = <&cci_control0>;
92                         operating-points-v2 = <&cluster_a7_opp_table>;
93                         #cooling-cells = <2>; /* min followed by max */
94                         capacity-dmips-mhz = <539>;
95                 };
97                 cpu6: cpu@102 {
98                         device_type = "cpu";
99                         compatible = "arm,cortex-a7";
100                         reg = <0x102>;
101                         clocks = <&clock CLK_KFC_CLK>;
102                         clock-frequency = <1000000000>;
103                         cci-control-port = <&cci_control0>;
104                         operating-points-v2 = <&cluster_a7_opp_table>;
105                         #cooling-cells = <2>; /* min followed by max */
106                         capacity-dmips-mhz = <539>;
107                 };
109                 cpu7: cpu@103 {
110                         device_type = "cpu";
111                         compatible = "arm,cortex-a7";
112                         reg = <0x103>;
113                         clocks = <&clock CLK_KFC_CLK>;
114                         clock-frequency = <1000000000>;
115                         cci-control-port = <&cci_control0>;
116                         operating-points-v2 = <&cluster_a7_opp_table>;
117                         #cooling-cells = <2>; /* min followed by max */
118                         capacity-dmips-mhz = <539>;
119                 };
120         };
123 &arm_a7_pmu {
124         interrupt-affinity = <&cpu4>, <&cpu5>, <&cpu6>, <&cpu7>;
125         status = "okay";
128 &arm_a15_pmu {
129         interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
130         status = "okay";