Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 | /* |
| 3 | * Device Tree Include file for Freescale Layerscape-2088A family SoC. |
| 4 | * |
| 5 | * Copyright 2016 Freescale Semiconductor, Inc. |
| 6 | * Copyright 2017 NXP |
| 7 | * |
| 8 | * Abhimanyu Saini <abhimanyu.saini@nxp.com> |
| 9 | * |
| 10 | */ |
| 11 | |
| 12 | #include <dt-bindings/clock/fsl,qoriq-clockgen.h> |
| 13 | #include "fsl-ls208xa.dtsi" |
| 14 | |
Tom Rini | 762f85b | 2024-07-20 11:15:10 -0600 | [diff] [blame] | 15 | / { |
| 16 | pmu { |
| 17 | compatible = "arm,cortex-a72-pmu"; |
Tom Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame^] | 18 | interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW>; |
Tom Rini | 762f85b | 2024-07-20 11:15:10 -0600 | [diff] [blame] | 19 | }; |
| 20 | }; |
| 21 | |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 22 | &cpu { |
| 23 | cpu0: cpu@0 { |
| 24 | device_type = "cpu"; |
| 25 | compatible = "arm,cortex-a72"; |
| 26 | reg = <0x0>; |
| 27 | clocks = <&clockgen QORIQ_CLK_CMUX 0>; |
| 28 | cpu-idle-states = <&CPU_PW20>; |
| 29 | next-level-cache = <&cluster0_l2>; |
| 30 | #cooling-cells = <2>; |
| 31 | }; |
| 32 | |
| 33 | cpu1: cpu@1 { |
| 34 | device_type = "cpu"; |
| 35 | compatible = "arm,cortex-a72"; |
| 36 | reg = <0x1>; |
| 37 | clocks = <&clockgen QORIQ_CLK_CMUX 0>; |
| 38 | cpu-idle-states = <&CPU_PW20>; |
| 39 | next-level-cache = <&cluster0_l2>; |
| 40 | #cooling-cells = <2>; |
| 41 | }; |
| 42 | |
| 43 | cpu2: cpu@100 { |
| 44 | device_type = "cpu"; |
| 45 | compatible = "arm,cortex-a72"; |
| 46 | reg = <0x100>; |
| 47 | clocks = <&clockgen QORIQ_CLK_CMUX 1>; |
| 48 | cpu-idle-states = <&CPU_PW20>; |
| 49 | next-level-cache = <&cluster1_l2>; |
| 50 | #cooling-cells = <2>; |
| 51 | }; |
| 52 | |
| 53 | cpu3: cpu@101 { |
| 54 | device_type = "cpu"; |
| 55 | compatible = "arm,cortex-a72"; |
| 56 | reg = <0x101>; |
| 57 | clocks = <&clockgen QORIQ_CLK_CMUX 1>; |
| 58 | cpu-idle-states = <&CPU_PW20>; |
| 59 | next-level-cache = <&cluster1_l2>; |
| 60 | #cooling-cells = <2>; |
| 61 | }; |
| 62 | |
| 63 | cpu4: cpu@200 { |
| 64 | device_type = "cpu"; |
| 65 | compatible = "arm,cortex-a72"; |
| 66 | reg = <0x200>; |
| 67 | clocks = <&clockgen QORIQ_CLK_CMUX 2>; |
| 68 | next-level-cache = <&cluster2_l2>; |
| 69 | cpu-idle-states = <&CPU_PW20>; |
| 70 | #cooling-cells = <2>; |
| 71 | }; |
| 72 | |
| 73 | cpu5: cpu@201 { |
| 74 | device_type = "cpu"; |
| 75 | compatible = "arm,cortex-a72"; |
| 76 | reg = <0x201>; |
| 77 | clocks = <&clockgen QORIQ_CLK_CMUX 2>; |
| 78 | cpu-idle-states = <&CPU_PW20>; |
| 79 | next-level-cache = <&cluster2_l2>; |
| 80 | #cooling-cells = <2>; |
| 81 | }; |
| 82 | |
| 83 | cpu6: cpu@300 { |
| 84 | device_type = "cpu"; |
| 85 | compatible = "arm,cortex-a72"; |
| 86 | reg = <0x300>; |
| 87 | clocks = <&clockgen QORIQ_CLK_CMUX 3>; |
| 88 | cpu-idle-states = <&CPU_PW20>; |
| 89 | next-level-cache = <&cluster3_l2>; |
| 90 | #cooling-cells = <2>; |
| 91 | }; |
| 92 | |
| 93 | cpu7: cpu@301 { |
| 94 | device_type = "cpu"; |
| 95 | compatible = "arm,cortex-a72"; |
| 96 | reg = <0x301>; |
| 97 | clocks = <&clockgen QORIQ_CLK_CMUX 3>; |
| 98 | cpu-idle-states = <&CPU_PW20>; |
| 99 | next-level-cache = <&cluster3_l2>; |
| 100 | #cooling-cells = <2>; |
| 101 | }; |
| 102 | |
| 103 | cluster0_l2: l2-cache0 { |
| 104 | compatible = "cache"; |
| 105 | cache-level = <2>; |
| 106 | cache-unified; |
| 107 | }; |
| 108 | |
| 109 | cluster1_l2: l2-cache1 { |
| 110 | compatible = "cache"; |
| 111 | cache-level = <2>; |
| 112 | cache-unified; |
| 113 | }; |
| 114 | |
| 115 | cluster2_l2: l2-cache2 { |
| 116 | compatible = "cache"; |
| 117 | cache-level = <2>; |
| 118 | cache-unified; |
| 119 | }; |
| 120 | |
| 121 | cluster3_l2: l2-cache3 { |
| 122 | compatible = "cache"; |
| 123 | cache-level = <2>; |
| 124 | cache-unified; |
| 125 | }; |
| 126 | |
| 127 | CPU_PW20: cpu-pw20 { |
| 128 | compatible = "arm,idle-state"; |
| 129 | idle-state-name = "PW20"; |
| 130 | arm,psci-suspend-param = <0x0>; |
| 131 | entry-latency-us = <2000>; |
| 132 | exit-latency-us = <2000>; |
| 133 | min-residency-us = <6000>; |
| 134 | }; |
| 135 | }; |
| 136 | |
| 137 | &pcie1 { |
| 138 | compatible = "fsl,ls2088a-pcie"; |
| 139 | reg = <0x00 0x03400000 0x0 0x00100000>, /* controller registers */ |
| 140 | <0x20 0x00000000 0x0 0x00002000>; /* configuration space */ |
| 141 | |
| 142 | ranges = <0x81000000 0x0 0x00000000 0x20 0x00010000 0x0 0x00010000 |
| 143 | 0x82000000 0x0 0x40000000 0x20 0x40000000 0x0 0x40000000>; |
| 144 | }; |
| 145 | |
| 146 | &pcie2 { |
| 147 | compatible = "fsl,ls2088a-pcie"; |
| 148 | reg = <0x00 0x03500000 0x0 0x00100000>, /* controller registers */ |
| 149 | <0x28 0x00000000 0x0 0x00002000>; /* configuration space */ |
| 150 | |
| 151 | ranges = <0x81000000 0x0 0x00000000 0x28 0x00010000 0x0 0x00010000 |
| 152 | 0x82000000 0x0 0x40000000 0x28 0x40000000 0x0 0x40000000>; |
| 153 | }; |
| 154 | |
| 155 | &pcie3 { |
| 156 | compatible = "fsl,ls2088a-pcie"; |
| 157 | reg = <0x00 0x03600000 0x0 0x00100000>, /* controller registers */ |
| 158 | <0x30 0x00000000 0x0 0x00002000>; /* configuration space */ |
| 159 | |
| 160 | ranges = <0x81000000 0x0 0x00000000 0x30 0x00010000 0x0 0x00010000 |
| 161 | 0x82000000 0x0 0x40000000 0x30 0x40000000 0x0 0x40000000>; |
| 162 | }; |
| 163 | |
| 164 | &pcie4 { |
| 165 | compatible = "fsl,ls2088a-pcie"; |
| 166 | reg = <0x00 0x03700000 0x0 0x00100000>, /* controller registers */ |
| 167 | <0x38 0x00000000 0x0 0x00002000>; /* configuration space */ |
| 168 | |
| 169 | ranges = <0x81000000 0x0 0x00000000 0x38 0x00010000 0x0 0x00010000 |
| 170 | 0x82000000 0x0 0x40000000 0x38 0x40000000 0x0 0x40000000>; |
| 171 | }; |