Lokesh Vutla | ea8ad1d | 2018-08-27 15:59:08 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * Device Tree Source for AM6 SoC family in Quad core configuration |
| 4 | * |
Lokesh Vutla | e497876 | 2021-02-01 11:26:39 +0530 | [diff] [blame] | 5 | * Copyright (C) 2016-2018 Texas Instruments Incorporated - https://www.ti.com/ |
Lokesh Vutla | ea8ad1d | 2018-08-27 15:59:08 +0530 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #include "k3-am65.dtsi" |
| 9 | |
| 10 | / { |
| 11 | cpus { |
| 12 | #address-cells = <1>; |
| 13 | #size-cells = <0>; |
| 14 | cpu-map { |
| 15 | cluster0: cluster0 { |
| 16 | core0 { |
| 17 | cpu = <&cpu0>; |
| 18 | }; |
| 19 | |
| 20 | core1 { |
| 21 | cpu = <&cpu1>; |
| 22 | }; |
| 23 | }; |
| 24 | |
| 25 | cluster1: cluster1 { |
| 26 | core0 { |
| 27 | cpu = <&cpu2>; |
| 28 | }; |
| 29 | |
| 30 | core1 { |
| 31 | cpu = <&cpu3>; |
| 32 | }; |
| 33 | }; |
| 34 | }; |
| 35 | |
| 36 | cpu0: cpu@0 { |
Lokesh Vutla | e497876 | 2021-02-01 11:26:39 +0530 | [diff] [blame] | 37 | compatible = "arm,cortex-a53"; |
Lokesh Vutla | ea8ad1d | 2018-08-27 15:59:08 +0530 | [diff] [blame] | 38 | reg = <0x000>; |
| 39 | device_type = "cpu"; |
| 40 | enable-method = "psci"; |
| 41 | i-cache-size = <0x8000>; |
| 42 | i-cache-line-size = <64>; |
| 43 | i-cache-sets = <256>; |
| 44 | d-cache-size = <0x8000>; |
| 45 | d-cache-line-size = <64>; |
| 46 | d-cache-sets = <128>; |
| 47 | next-level-cache = <&L2_0>; |
| 48 | }; |
| 49 | |
| 50 | cpu1: cpu@1 { |
Lokesh Vutla | e497876 | 2021-02-01 11:26:39 +0530 | [diff] [blame] | 51 | compatible = "arm,cortex-a53"; |
Lokesh Vutla | ea8ad1d | 2018-08-27 15:59:08 +0530 | [diff] [blame] | 52 | reg = <0x001>; |
| 53 | device_type = "cpu"; |
| 54 | enable-method = "psci"; |
| 55 | i-cache-size = <0x8000>; |
| 56 | i-cache-line-size = <64>; |
| 57 | i-cache-sets = <256>; |
| 58 | d-cache-size = <0x8000>; |
| 59 | d-cache-line-size = <64>; |
| 60 | d-cache-sets = <128>; |
| 61 | next-level-cache = <&L2_0>; |
| 62 | }; |
| 63 | |
| 64 | cpu2: cpu@100 { |
Lokesh Vutla | e497876 | 2021-02-01 11:26:39 +0530 | [diff] [blame] | 65 | compatible = "arm,cortex-a53"; |
Lokesh Vutla | ea8ad1d | 2018-08-27 15:59:08 +0530 | [diff] [blame] | 66 | reg = <0x100>; |
| 67 | device_type = "cpu"; |
| 68 | enable-method = "psci"; |
| 69 | i-cache-size = <0x8000>; |
| 70 | i-cache-line-size = <64>; |
| 71 | i-cache-sets = <256>; |
| 72 | d-cache-size = <0x8000>; |
| 73 | d-cache-line-size = <64>; |
| 74 | d-cache-sets = <128>; |
| 75 | next-level-cache = <&L2_1>; |
| 76 | }; |
| 77 | |
| 78 | cpu3: cpu@101 { |
Lokesh Vutla | e497876 | 2021-02-01 11:26:39 +0530 | [diff] [blame] | 79 | compatible = "arm,cortex-a53"; |
Lokesh Vutla | ea8ad1d | 2018-08-27 15:59:08 +0530 | [diff] [blame] | 80 | reg = <0x101>; |
| 81 | device_type = "cpu"; |
| 82 | enable-method = "psci"; |
| 83 | i-cache-size = <0x8000>; |
| 84 | i-cache-line-size = <64>; |
| 85 | i-cache-sets = <256>; |
| 86 | d-cache-size = <0x8000>; |
| 87 | d-cache-line-size = <64>; |
| 88 | d-cache-sets = <128>; |
| 89 | next-level-cache = <&L2_1>; |
| 90 | }; |
| 91 | }; |
| 92 | |
| 93 | L2_0: l2-cache0 { |
| 94 | compatible = "cache"; |
| 95 | cache-level = <2>; |
| 96 | cache-size = <0x80000>; |
| 97 | cache-line-size = <64>; |
| 98 | cache-sets = <512>; |
| 99 | next-level-cache = <&msmc_l3>; |
| 100 | }; |
| 101 | |
| 102 | L2_1: l2-cache1 { |
| 103 | compatible = "cache"; |
| 104 | cache-level = <2>; |
| 105 | cache-size = <0x80000>; |
| 106 | cache-line-size = <64>; |
| 107 | cache-sets = <512>; |
| 108 | next-level-cache = <&msmc_l3>; |
| 109 | }; |
| 110 | |
| 111 | msmc_l3: l3-cache0 { |
| 112 | compatible = "cache"; |
| 113 | cache-level = <3>; |
| 114 | }; |
| 115 | }; |