1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for J721S2 SoC Family
5 * TRM (SPRUJ28 NOVEMBER 2021): https://www.ti.com/lit/pdf/spruj28
7 * Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com/
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 #include <dt-bindings/soc/ti,sci_pm_domain.h>
15 #include "k3-pinctrl.h"
19 model = "Texas Instruments K3 J721S2 SoC";
20 compatible = "ti,j721s2";
21 interrupt-parent = <&gic500>;
43 compatible = "arm,cortex-a72";
46 enable-method = "psci";
47 i-cache-size = <0xc000>;
48 i-cache-line-size = <64>;
50 d-cache-size = <0x8000>;
51 d-cache-line-size = <64>;
53 next-level-cache = <&L2_0>;
57 compatible = "arm,cortex-a72";
60 enable-method = "psci";
61 i-cache-size = <0xc000>;
62 i-cache-line-size = <64>;
64 d-cache-size = <0x8000>;
65 d-cache-line-size = <64>;
67 next-level-cache = <&L2_0>;
75 cache-size = <0x100000>;
76 cache-line-size = <64>;
78 next-level-cache = <&msmc_l3>;
89 compatible = "linaro,optee-tz";
94 compatible = "arm,psci-1.0";
99 a72_timer0: timer-cl0-cpu0 {
100 compatible = "arm,armv8-timer";
101 interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, /* cntpsirq */
102 <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>, /* cntpnsirq */
103 <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>, /* cntvirq */
104 <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>; /* cnthpirq */
109 compatible = "arm,cortex-a72-pmu";
110 /* Recommendation from GIC500 TRM Table A.3 */
111 interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
114 cbass_main: bus@100000 {
115 compatible = "simple-bus";
116 #address-cells = <2>;
118 ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
119 <0x00 0x00600000 0x00 0x00600000 0x00 0x00031100>, /* GPIO */
120 <0x00 0x01000000 0x00 0x01000000 0x00 0x0d000000>, /* Most peripherals */
121 <0x00 0x0d800000 0x00 0x0d800000 0x00 0x00800000>, /* PCIe Core*/
122 <0x00 0x18000000 0x00 0x18000000 0x00 0x08000000>, /* PCIe1 DAT0 */
123 <0x00 0x64800000 0x00 0x64800000 0x00 0x0070c000>, /* C71_1 */
124 <0x00 0x65800000 0x00 0x65800000 0x00 0x0070c000>, /* C71_2 */
125 <0x00 0x6f000000 0x00 0x6f000000 0x00 0x00310000>, /* A72 PERIPHBASE */
126 <0x00 0x70000000 0x00 0x70000000 0x00 0x00400000>, /* MSMC RAM */
127 <0x00 0x30000000 0x00 0x30000000 0x00 0x0c400000>, /* MAIN NAVSS */
128 <0x41 0x00000000 0x41 0x00000000 0x01 0x00000000>, /* PCIe1 DAT1 */
129 <0x4e 0x20000000 0x4e 0x20000000 0x00 0x00080000>, /* GPU */
131 /* MCUSS_WKUP Range */
132 <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>,
133 <0x00 0x40200000 0x00 0x40200000 0x00 0x00998400>,
134 <0x00 0x40f00000 0x00 0x40f00000 0x00 0x00020000>,
135 <0x00 0x41000000 0x00 0x41000000 0x00 0x00020000>,
136 <0x00 0x41400000 0x00 0x41400000 0x00 0x00020000>,
137 <0x00 0x41c00000 0x00 0x41c00000 0x00 0x00100000>,
138 <0x00 0x42040000 0x00 0x42040000 0x00 0x03ac2400>,
139 <0x00 0x45100000 0x00 0x45100000 0x00 0x00c24000>,
140 <0x00 0x46000000 0x00 0x46000000 0x00 0x00200000>,
141 <0x00 0x47000000 0x00 0x47000000 0x00 0x00068400>,
142 <0x00 0x50000000 0x00 0x50000000 0x00 0x10000000>,
143 <0x05 0x00000000 0x05 0x00000000 0x01 0x00000000>,
144 <0x07 0x00000000 0x07 0x00000000 0x01 0x00000000>;
146 cbass_mcu_wakeup: bus@28380000 {
147 compatible = "simple-bus";
148 #address-cells = <2>;
150 ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>, /* MCU NAVSS*/
151 <0x00 0x40200000 0x00 0x40200000 0x00 0x00998400>, /* First peripheral window */
152 <0x00 0x40f00000 0x00 0x40f00000 0x00 0x00020000>, /* CTRL_MMR0 */
153 <0x00 0x41000000 0x00 0x41000000 0x00 0x00020000>, /* MCU R5F Core0 */
154 <0x00 0x41400000 0x00 0x41400000 0x00 0x00020000>, /* MCU R5F Core1 */
155 <0x00 0x41c00000 0x00 0x41c00000 0x00 0x00100000>, /* MCU SRAM */
156 <0x00 0x42040000 0x00 0x42040000 0x00 0x03ac2400>, /* WKUP peripheral window */
157 <0x00 0x45100000 0x00 0x45100000 0x00 0x00c24000>, /* MMRs, remaining NAVSS */
158 <0x00 0x46000000 0x00 0x46000000 0x00 0x00200000>, /* CPSW */
159 <0x00 0x47000000 0x00 0x47000000 0x00 0x00068400>, /* OSPI register space */
160 <0x00 0x50000000 0x00 0x50000000 0x00 0x10000000>, /* FSS OSPI0/1 data region 0 */
161 <0x05 0x00000000 0x05 0x00000000 0x01 0x00000000>, /* FSS OSPI0 data region 3 */
162 <0x07 0x00000000 0x07 0x00000000 0x01 0x00000000>; /* FSS OSPI1 data region 3*/
168 thermal_zones: thermal-zones {
169 #include "k3-j721s2-thermal.dtsi"
173 /* Now include peripherals from each bus segment */
174 #include "k3-j721s2-main.dtsi"
175 #include "k3-j721s2-mcu-wakeup.dtsi"