1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
|
// SPDX-License-Identifier: GPL-2.0+
/*
* U-Boot additions
*
* Copyright (C) 2019-2020 Intel Corporation <www.intel.com>
* Copyright (C) 2025 Altera Corporation <www.altera.com>
*/
#include "socfpga_soc64_u-boot.dtsi"
#include "socfpga_soc64_fit-u-boot.dtsi"
/{
aliases {
spi0 = &qspi;
i2c0 = &i2c1;
sysmgr = &sysmgr;
freeze_br0 = &freeze_controller;
};
memory@0 {
device_type = "memory";
#address-cells = <2>;
#size-cells = <2>;
bootph-all;
};
pmu {
compatible = "arm,armv8-pmuv3";
};
soc@0 {
bootph-all;
freeze_controller: freeze_controller@f9000450 {
compatible = "altr,freeze-bridge-controller";
reg = <0xf9000450 0x00000010>;
status = "disabled";
};
ccu: cache-controller@f7000000 {
compatible = "arteris,ncore-ccu";
reg = <0xf7000000 0x100900>;
bootph-all;
};
};
};
&clkmgr {
bootph-all;
};
&gmac0 {
compatible = "altr,socfpga-stmmac", "snps,dwmac-3.74a", "snps,dwmac";
reset-names = "stmmaceth", "stmmaceth-ocp";
clocks = <&clkmgr AGILEX_EMAC0_CLK>;
clock-names = "stmmaceth";
phy-mode = "rgmii";
max-frame-size = <0x2328>;
status = "okay";
mdio0 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "snps,dwmac-mdio";
};
};
&gmac1 {
compatible = "altr,socfpga-stmmac", "snps,dwmac-3.74a", "snps,dwmac";
reset-names = "stmmaceth", "stmmaceth-ocp";
altr,sysmgr-syscon = <&sysmgr 0x48 0>;
clocks = <&clkmgr AGILEX_EMAC1_CLK>;
clock-names = "stmmaceth";
status = "disabled";
altr,sysmgr-syscon = <&sysmgr 0x48 0>;
};
&gmac2 {
compatible = "altr,socfpga-stmmac", "snps,dwmac-3.74a", "snps,dwmac";
reset-names = "stmmaceth", "stmmaceth-ocp";
altr,sysmgr-syscon = <&sysmgr 0x4c 0>;
clocks = <&clkmgr AGILEX_EMAC2_CLK>;
clock-names = "stmmaceth";
status = "disabled";
altr,sysmgr-syscon = <&sysmgr 0x4c 0>;
};
&i2c0 {
reset-names = "i2c";
};
&i2c1 {
reset-names = "i2c";
status = "okay";
};
&i2c2 {
reset-names = "i2c";
};
&i2c3 {
reset-names = "i2c";
};
&mmc {
resets = <&rst SDMMC_RESET>, <&rst SDMMC_OCP_RESET>;
};
&porta {
bank-name = "porta";
};
&portb {
bank-name = "portb";
};
&qspi {
bootph-all;
compatible = "cdns,qspi-nor";
flash0: flash@0 {
};
};
&flash0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
};
&rst {
compatible = "altr,rst-mgr";
altr,modrst-offset = <0x20>;
bootph-all;
};
&sdr {
compatible = "intel,sdr-ctl-agilex";
reg = <0xf8000400 0x80>,
<0xf8010000 0x190>,
<0xf8011000 0x500>;
resets = <&rst DDRSCH_RESET>;
bootph-all;
};
&socfpga_l3interconnect_firewall {
CCU_coh_cpu0_bypass_OC_Firewall_main_Firewall@f7100200 {
reg = <0xf7100200 0x00000014>;
intel,offset-settings =
/* Disable ocram security at CCU for non secure access */
<0x0000004 0x8000ffff 0xe003ffff>,
<0x0000008 0x8000ffff 0xe003ffff>,
<0x000000c 0x8000ffff 0xe003ffff>,
<0x0000010 0x8000ffff 0xe003ffff>;
bootph-all;
};
soc_noc_fw_mpfe_csr_inst_0_mpfe_scr@f8020000 {
reg = <0xf8020000 0x0000001c>;
intel,offset-settings =
/* Disable MPFE firewall for SMMU */
<0x00000000 0x00010101 0x00010101>,
/* Disable MPFE firewall for HMC adapter */
<0x00000004 0x00000001 0x00010101>;
bootph-all;
};
/*
* Below are all fpga2sdram firewall settings with default
* reset value for the sake of easy reference by users.
* Users may choose to remove any of these register
* configurations that they do not require in their specific
* implementation.
*/
soc_noc_fw_ddr_fpga2sdram_inst_0_ddr_scr@f8020100 {
reg = <0xf8020100 0x00000050>;
intel,offset-settings =
<0x0000000 0x00000000 0x0000000f>,
<0x0000004 0x00000000 0x0000000f>,
<0x0000008 0x00000000 0x0000000f>,
<0x0000010 0x00000000 0xffff0000>,
<0x0000014 0x00000000 0x000000ff>,
<0x0000018 0x00000000 0xffff0000>,
<0x000001c 0x00000000 0x000000ff>,
<0x0000020 0x00000000 0xffff0000>,
<0x0000024 0x00000000 0x000000ff>,
<0x0000028 0x00000000 0xffff0000>,
<0x000002c 0x00000000 0x000000ff>,
<0x0000030 0x00000000 0xffff0000>,
<0x0000034 0x00000000 0x000000ff>,
<0x0000038 0x00000000 0xffff0000>,
<0x000003c 0x00000000 0x000000ff>,
<0x0000040 0x00000000 0xffff0000>,
<0x0000044 0x00000000 0x000000ff>,
<0x0000048 0x00000000 0xffff0000>,
<0x000004c 0x00000000 0x000000ff>;
bootph-all;
};
/*
* Example of ccu_mem0_I_main QOS settings with
* default reset value for the sake of easy reference
* by users. Users may choose to remove any of these register
* configurations that they do not require in their specific
* implementation.
*/
soc_mpfe_noc_inst_0_ccu_mem0_I_main_QosGenerator@f8022080 {
reg = <0xf8022080 0x0000001c>;
intel,offset-settings =
<0x0000008 0x00000200 0x00000303>,
<0x000000c 0x00000003 0x00000003>,
<0x0000010 0x00000BFE 0x00007fff>,
<0x0000014 0x00000008 0x000003ff>,
<0x0000018 0x00000000 0x0000000f>;
bootph-all;
};
};
&sysmgr {
compatible = "altr,sys-mgr", "syscon";
bootph-all;
};
&uart0 {
bootph-all;
clock-frequency = <100000000>;
};
&watchdog0 {
bootph-all;
};
&nand {
clocks = <&clkmgr AGILEX_NAND_CLK>,
<&clkmgr AGILEX_NAND_X_CLK>;
clock-names = "nand", "nand_x";
};
&usb0 {
compatible = "snps,dwc2";
};
&usb1 {
compatible = "snps,dwc2";
};
&spi0 {
compatible = "intel,agilex-spi",
"snps,dw-apb-ssi-4.00a", "snps,dw-apb-ssi";
};
&spi1 {
compatible = "intel,agilex-spi",
"snps,dw-apb-ssi-4.00a", "snps,dw-apb-ssi";
};
&pdma {
#dma-channels = <8>;
#dma-requests = <32>;
};
#if !defined(CONFIG_SOCFPGA_SECURE_VAB_AUTH)
&binman {
/delete-node/ kernel;
};
#endif
#ifdef CONFIG_TARGET_SOCFPGA_AGILEX7M
&sdr {
compatible = "intel,sdr-ctl-agilex7m";
reg = <0xf8020000 0x100>;
};
#endif
|