|
10 | 10 | #include <dt-bindings/interrupt-controller/arm-gic.h>
|
11 | 11 | #include <dt-bindings/soc/ti,sci_pm_domain.h>
|
12 | 12 |
|
13 |
| -#include "k3-am62p5.dtsi" |
| 13 | +#include "k3-pinctrl.h" |
14 | 14 |
|
15 | 15 | / {
|
16 | 16 | model = "Texas Instruments K3 J722S SoC";
|
17 | 17 | compatible = "ti,j722s";
|
| 18 | + interrupt-parent = <&gic500>; |
| 19 | + #address-cells = <2>; |
| 20 | + #size-cells = <2>; |
| 21 | + |
| 22 | + cpus { |
| 23 | + #address-cells = <1>; |
| 24 | + #size-cells = <0>; |
| 25 | + |
| 26 | + cpu-map { |
| 27 | + cluster0: cluster0 { |
| 28 | + core0 { |
| 29 | + cpu = <&cpu0>; |
| 30 | + }; |
| 31 | + |
| 32 | + core1 { |
| 33 | + cpu = <&cpu1>; |
| 34 | + }; |
| 35 | + |
| 36 | + core2 { |
| 37 | + cpu = <&cpu2>; |
| 38 | + }; |
| 39 | + |
| 40 | + core3 { |
| 41 | + cpu = <&cpu3>; |
| 42 | + }; |
| 43 | + }; |
| 44 | + }; |
| 45 | + |
| 46 | + cpu0: cpu@0 { |
| 47 | + compatible = "arm,cortex-a53"; |
| 48 | + reg = <0x000>; |
| 49 | + device_type = "cpu"; |
| 50 | + enable-method = "psci"; |
| 51 | + i-cache-size = <0x8000>; |
| 52 | + i-cache-line-size = <64>; |
| 53 | + i-cache-sets = <256>; |
| 54 | + d-cache-size = <0x8000>; |
| 55 | + d-cache-line-size = <64>; |
| 56 | + d-cache-sets = <128>; |
| 57 | + next-level-cache = <&l2_0>; |
| 58 | + clocks = <&k3_clks 135 0>; |
| 59 | + }; |
| 60 | + |
| 61 | + cpu1: cpu@1 { |
| 62 | + compatible = "arm,cortex-a53"; |
| 63 | + reg = <0x001>; |
| 64 | + device_type = "cpu"; |
| 65 | + enable-method = "psci"; |
| 66 | + i-cache-size = <0x8000>; |
| 67 | + i-cache-line-size = <64>; |
| 68 | + i-cache-sets = <256>; |
| 69 | + d-cache-size = <0x8000>; |
| 70 | + d-cache-line-size = <64>; |
| 71 | + d-cache-sets = <128>; |
| 72 | + next-level-cache = <&l2_0>; |
| 73 | + clocks = <&k3_clks 136 0>; |
| 74 | + }; |
| 75 | + |
| 76 | + cpu2: cpu@2 { |
| 77 | + compatible = "arm,cortex-a53"; |
| 78 | + reg = <0x002>; |
| 79 | + device_type = "cpu"; |
| 80 | + enable-method = "psci"; |
| 81 | + i-cache-size = <0x8000>; |
| 82 | + i-cache-line-size = <64>; |
| 83 | + i-cache-sets = <256>; |
| 84 | + d-cache-size = <0x8000>; |
| 85 | + d-cache-line-size = <64>; |
| 86 | + d-cache-sets = <128>; |
| 87 | + next-level-cache = <&l2_0>; |
| 88 | + clocks = <&k3_clks 137 0>; |
| 89 | + }; |
| 90 | + |
| 91 | + cpu3: cpu@3 { |
| 92 | + compatible = "arm,cortex-a53"; |
| 93 | + reg = <0x003>; |
| 94 | + device_type = "cpu"; |
| 95 | + enable-method = "psci"; |
| 96 | + i-cache-size = <0x8000>; |
| 97 | + i-cache-line-size = <64>; |
| 98 | + i-cache-sets = <256>; |
| 99 | + d-cache-size = <0x8000>; |
| 100 | + d-cache-line-size = <64>; |
| 101 | + d-cache-sets = <128>; |
| 102 | + next-level-cache = <&l2_0>; |
| 103 | + clocks = <&k3_clks 138 0>; |
| 104 | + }; |
| 105 | + }; |
| 106 | + |
| 107 | + l2_0: l2-cache0 { |
| 108 | + compatible = "cache"; |
| 109 | + cache-unified; |
| 110 | + cache-level = <2>; |
| 111 | + cache-size = <0x80000>; |
| 112 | + cache-line-size = <64>; |
| 113 | + cache-sets = <512>; |
| 114 | + }; |
| 115 | + |
| 116 | + firmware { |
| 117 | + optee { |
| 118 | + compatible = "linaro,optee-tz"; |
| 119 | + method = "smc"; |
| 120 | + }; |
| 121 | + |
| 122 | + psci: psci { |
| 123 | + compatible = "arm,psci-1.0"; |
| 124 | + method = "smc"; |
| 125 | + }; |
| 126 | + }; |
| 127 | + |
| 128 | + a53_timer0: timer-cl0-cpu0 { |
| 129 | + compatible = "arm,armv8-timer"; |
| 130 | + interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, /* cntpsirq */ |
| 131 | + <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>, /* cntpnsirq */ |
| 132 | + <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>, /* cntvirq */ |
| 133 | + <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>; /* cnthpirq */ |
| 134 | + }; |
| 135 | + |
| 136 | + pmu: pmu { |
| 137 | + compatible = "arm,cortex-a53-pmu"; |
| 138 | + interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>; |
| 139 | + }; |
18 | 140 |
|
19 | 141 | cbass_main: bus@f0000 {
|
20 | 142 | compatible = "simple-bus";
|
|
74 | 196 | <0x00 0x43000000 0x00 0x43000000 0x00 0x00020000>,
|
75 | 197 | <0x00 0x78000000 0x00 0x78000000 0x00 0x00008000>,
|
76 | 198 | <0x00 0x78100000 0x00 0x78100000 0x00 0x00008000>;
|
| 199 | + |
| 200 | + cbass_mcu: bus@4000000 { |
| 201 | + compatible = "simple-bus"; |
| 202 | + #address-cells = <2>; |
| 203 | + #size-cells = <2>; |
| 204 | + ranges = <0x00 0x04000000 0x00 0x04000000 0x00 0x01ff1400>, /* Peripheral window */ |
| 205 | + <0x00 0x79000000 0x00 0x79000000 0x00 0x00008000>, /* MCU R5 ATCM */ |
| 206 | + <0x00 0x79020000 0x00 0x79020000 0x00 0x00008000>, /* MCU R5 BTCM */ |
| 207 | + <0x00 0x79100000 0x00 0x79100000 0x00 0x00040000>, /* MCU IRAM0 */ |
| 208 | + <0x00 0x79140000 0x00 0x79140000 0x00 0x00040000>; /* MCU IRAM1 */ |
| 209 | + bootph-all; |
| 210 | + }; |
| 211 | + |
| 212 | + cbass_wakeup: bus@b00000 { |
| 213 | + compatible = "simple-bus"; |
| 214 | + #address-cells = <2>; |
| 215 | + #size-cells = <2>; |
| 216 | + ranges = <0x00 0x00b00000 0x00 0x00b00000 0x00 0x00002400>, /* VTM */ |
| 217 | + <0x00 0x2b000000 0x00 0x2b000000 0x00 0x00300400>, /* Peripheral Window */ |
| 218 | + <0x00 0x43000000 0x00 0x43000000 0x00 0x00020000>, /* WKUP CTRL MMR */ |
| 219 | + <0x00 0x78000000 0x00 0x78000000 0x00 0x00008000>, /* DM R5 ATCM*/ |
| 220 | + <0x00 0x78100000 0x00 0x78100000 0x00 0x00008000>; /* DM R5 BTCM*/ |
| 221 | + bootph-all; |
| 222 | + }; |
77 | 223 | };
|
| 224 | + |
| 225 | + #include "k3-am62p-j722s-common-thermal.dtsi" |
78 | 226 | };
|
79 | 227 |
|
| 228 | +/* Include peripherals shared with AM62P */ |
| 229 | +#include "k3-am62p-j722s-common-main.dtsi" |
| 230 | +#include "k3-am62p-j722s-common-mcu.dtsi" |
| 231 | +#include "k3-am62p-j722s-common-wakeup.dtsi" |
| 232 | + |
| 233 | +/* Include J722S specific peripherals */ |
| 234 | +#include "k3-j722s-main.dtsi" |
| 235 | + |
80 | 236 | /* Main domain overrides */
|
81 | 237 |
|
82 | 238 | &inta_main_dmss {
|
|
0 commit comments