Chanho Park | df09df6f | 2015-07-30 23:11:00 +0900 | [diff] [blame] | 1 | /* |
| 2 | * SAMSUNG EXYNOS5422 SoC cpu device tree source |
| 3 | * |
| 4 | * Copyright (c) 2015 Samsung Electronics Co., Ltd. |
| 5 | * http://www.samsung.com |
| 6 | * |
Krzysztof Kozlowski | 4f0d20e | 2015-12-11 15:05:56 +0900 | [diff] [blame] | 7 | * This file provides desired ordering for Exynos5422: CPU[0123] being the A7. |
Chanho Park | df09df6f | 2015-07-30 23:11:00 +0900 | [diff] [blame] | 8 | * |
Krzysztof Kozlowski | 4f0d20e | 2015-12-11 15:05:56 +0900 | [diff] [blame] | 9 | * The Exynos5420, 5422 and 5800 actually share the same CPU configuration |
| 10 | * but particular boards choose different booting order. |
| 11 | * |
| 12 | * Exynos5420 and Exynos5800 always boot from Cortex-A15. On Exynos5422 |
| 13 | * booting cluster (big or LITTLE) is chosen by IROM code by reading |
| 14 | * the gpg2-1 GPIO. By default all Exynos5422 based boards choose booting |
| 15 | * from the LITTLE: Cortex-A7. |
Chanho Park | df09df6f | 2015-07-30 23:11:00 +0900 | [diff] [blame] | 16 | * |
| 17 | * This program is free software; you can redistribute it and/or modify |
| 18 | * it under the terms of the GNU General Public License version 2 as |
| 19 | * published by the Free Software Foundation. |
| 20 | */ |
| 21 | |
Krzysztof Kozlowski | 4f0d20e | 2015-12-11 15:05:56 +0900 | [diff] [blame] | 22 | / { |
| 23 | cpus { |
| 24 | #address-cells = <1>; |
| 25 | #size-cells = <0>; |
Chanho Park | df09df6f | 2015-07-30 23:11:00 +0900 | [diff] [blame] | 26 | |
Krzysztof Kozlowski | 4f0d20e | 2015-12-11 15:05:56 +0900 | [diff] [blame] | 27 | cpu0: cpu@100 { |
| 28 | device_type = "cpu"; |
| 29 | compatible = "arm,cortex-a7"; |
| 30 | reg = <0x100>; |
Thomas Abraham | 66a4a1f | 2015-12-15 18:33:17 +0100 | [diff] [blame] | 31 | clocks = <&clock CLK_KFC_CLK>; |
Krzysztof Kozlowski | 4f0d20e | 2015-12-11 15:05:56 +0900 | [diff] [blame] | 32 | clock-frequency = <1000000000>; |
| 33 | cci-control-port = <&cci_control0>; |
Thomas Abraham | 66a4a1f | 2015-12-15 18:33:17 +0100 | [diff] [blame] | 34 | operating-points-v2 = <&cluster_a7_opp_table>; |
Krzysztof Kozlowski | 3b93fc0f | 2016-02-18 14:13:02 +0900 | [diff] [blame] | 35 | #cooling-cells = <2>; /* min followed by max */ |
Krzysztof Kozlowski | 4f0d20e | 2015-12-11 15:05:56 +0900 | [diff] [blame] | 36 | }; |
Chanho Park | df09df6f | 2015-07-30 23:11:00 +0900 | [diff] [blame] | 37 | |
Krzysztof Kozlowski | 4f0d20e | 2015-12-11 15:05:56 +0900 | [diff] [blame] | 38 | cpu1: cpu@101 { |
| 39 | device_type = "cpu"; |
| 40 | compatible = "arm,cortex-a7"; |
| 41 | reg = <0x101>; |
| 42 | clock-frequency = <1000000000>; |
| 43 | cci-control-port = <&cci_control0>; |
Thomas Abraham | 66a4a1f | 2015-12-15 18:33:17 +0100 | [diff] [blame] | 44 | operating-points-v2 = <&cluster_a7_opp_table>; |
Krzysztof Kozlowski | 3b93fc0f | 2016-02-18 14:13:02 +0900 | [diff] [blame] | 45 | #cooling-cells = <2>; /* min followed by max */ |
Krzysztof Kozlowski | 4f0d20e | 2015-12-11 15:05:56 +0900 | [diff] [blame] | 46 | }; |
Chanho Park | df09df6f | 2015-07-30 23:11:00 +0900 | [diff] [blame] | 47 | |
Krzysztof Kozlowski | 4f0d20e | 2015-12-11 15:05:56 +0900 | [diff] [blame] | 48 | cpu2: cpu@102 { |
| 49 | device_type = "cpu"; |
| 50 | compatible = "arm,cortex-a7"; |
| 51 | reg = <0x102>; |
| 52 | clock-frequency = <1000000000>; |
| 53 | cci-control-port = <&cci_control0>; |
Thomas Abraham | 66a4a1f | 2015-12-15 18:33:17 +0100 | [diff] [blame] | 54 | operating-points-v2 = <&cluster_a7_opp_table>; |
Krzysztof Kozlowski | 3b93fc0f | 2016-02-18 14:13:02 +0900 | [diff] [blame] | 55 | #cooling-cells = <2>; /* min followed by max */ |
Krzysztof Kozlowski | 4f0d20e | 2015-12-11 15:05:56 +0900 | [diff] [blame] | 56 | }; |
Chanho Park | df09df6f | 2015-07-30 23:11:00 +0900 | [diff] [blame] | 57 | |
Krzysztof Kozlowski | 4f0d20e | 2015-12-11 15:05:56 +0900 | [diff] [blame] | 58 | cpu3: cpu@103 { |
| 59 | device_type = "cpu"; |
| 60 | compatible = "arm,cortex-a7"; |
| 61 | reg = <0x103>; |
| 62 | clock-frequency = <1000000000>; |
| 63 | cci-control-port = <&cci_control0>; |
Thomas Abraham | 66a4a1f | 2015-12-15 18:33:17 +0100 | [diff] [blame] | 64 | operating-points-v2 = <&cluster_a7_opp_table>; |
Krzysztof Kozlowski | 3b93fc0f | 2016-02-18 14:13:02 +0900 | [diff] [blame] | 65 | #cooling-cells = <2>; /* min followed by max */ |
Krzysztof Kozlowski | 4f0d20e | 2015-12-11 15:05:56 +0900 | [diff] [blame] | 66 | }; |
Chanho Park | df09df6f | 2015-07-30 23:11:00 +0900 | [diff] [blame] | 67 | |
Krzysztof Kozlowski | 4f0d20e | 2015-12-11 15:05:56 +0900 | [diff] [blame] | 68 | cpu4: cpu@0 { |
| 69 | device_type = "cpu"; |
| 70 | compatible = "arm,cortex-a15"; |
Thomas Abraham | 66a4a1f | 2015-12-15 18:33:17 +0100 | [diff] [blame] | 71 | clocks = <&clock CLK_ARM_CLK>; |
Krzysztof Kozlowski | 4f0d20e | 2015-12-11 15:05:56 +0900 | [diff] [blame] | 72 | reg = <0x0>; |
| 73 | clock-frequency = <1800000000>; |
| 74 | cci-control-port = <&cci_control1>; |
Thomas Abraham | 66a4a1f | 2015-12-15 18:33:17 +0100 | [diff] [blame] | 75 | operating-points-v2 = <&cluster_a15_opp_table>; |
Krzysztof Kozlowski | 3b93fc0f | 2016-02-18 14:13:02 +0900 | [diff] [blame] | 76 | #cooling-cells = <2>; /* min followed by max */ |
Krzysztof Kozlowski | 4f0d20e | 2015-12-11 15:05:56 +0900 | [diff] [blame] | 77 | }; |
Chanho Park | df09df6f | 2015-07-30 23:11:00 +0900 | [diff] [blame] | 78 | |
Krzysztof Kozlowski | 4f0d20e | 2015-12-11 15:05:56 +0900 | [diff] [blame] | 79 | cpu5: cpu@1 { |
| 80 | device_type = "cpu"; |
| 81 | compatible = "arm,cortex-a15"; |
| 82 | reg = <0x1>; |
| 83 | clock-frequency = <1800000000>; |
| 84 | cci-control-port = <&cci_control1>; |
Thomas Abraham | 66a4a1f | 2015-12-15 18:33:17 +0100 | [diff] [blame] | 85 | operating-points-v2 = <&cluster_a15_opp_table>; |
Krzysztof Kozlowski | 3b93fc0f | 2016-02-18 14:13:02 +0900 | [diff] [blame] | 86 | #cooling-cells = <2>; /* min followed by max */ |
Krzysztof Kozlowski | 4f0d20e | 2015-12-11 15:05:56 +0900 | [diff] [blame] | 87 | }; |
Chanho Park | df09df6f | 2015-07-30 23:11:00 +0900 | [diff] [blame] | 88 | |
Krzysztof Kozlowski | 4f0d20e | 2015-12-11 15:05:56 +0900 | [diff] [blame] | 89 | cpu6: cpu@2 { |
| 90 | device_type = "cpu"; |
| 91 | compatible = "arm,cortex-a15"; |
| 92 | reg = <0x2>; |
| 93 | clock-frequency = <1800000000>; |
| 94 | cci-control-port = <&cci_control1>; |
Thomas Abraham | 66a4a1f | 2015-12-15 18:33:17 +0100 | [diff] [blame] | 95 | operating-points-v2 = <&cluster_a15_opp_table>; |
Krzysztof Kozlowski | 3b93fc0f | 2016-02-18 14:13:02 +0900 | [diff] [blame] | 96 | #cooling-cells = <2>; /* min followed by max */ |
Krzysztof Kozlowski | 4f0d20e | 2015-12-11 15:05:56 +0900 | [diff] [blame] | 97 | }; |
| 98 | |
| 99 | cpu7: cpu@3 { |
| 100 | device_type = "cpu"; |
| 101 | compatible = "arm,cortex-a15"; |
| 102 | reg = <0x3>; |
| 103 | clock-frequency = <1800000000>; |
| 104 | cci-control-port = <&cci_control1>; |
Thomas Abraham | 66a4a1f | 2015-12-15 18:33:17 +0100 | [diff] [blame] | 105 | operating-points-v2 = <&cluster_a15_opp_table>; |
Krzysztof Kozlowski | 3b93fc0f | 2016-02-18 14:13:02 +0900 | [diff] [blame] | 106 | #cooling-cells = <2>; /* min followed by max */ |
Krzysztof Kozlowski | 4f0d20e | 2015-12-11 15:05:56 +0900 | [diff] [blame] | 107 | }; |
| 108 | }; |
Chanho Park | df09df6f | 2015-07-30 23:11:00 +0900 | [diff] [blame] | 109 | }; |