Skip to content

Commit 91527dd

Browse files
committed
HSD#15017850030: arch: arm: agilex3: Add device tree for Agilex3 socdk
Add the base device tree for the Agilex3 SoCDK, which is an instantiation of the Agilex5 Hard Processor System (HPS). Signed-off-by: Niravkumar L Rabara <nirav.rabara@altera.com>
1 parent 92fb8fa commit 91527dd

File tree

1 file changed

+229
-1
lines changed

1 file changed

+229
-1
lines changed

arch/arm64/boot/dts/intel/socfpga_agilex3_socdk.dts

Lines changed: 229 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,59 @@
22
/*
33
* Copyright (C) 2025, Altera Corporation
44
*/
5-
#include "socfpga_agilex5_socdk.dts"
5+
#include "socfpga_agilex5.dtsi"
66

77
/ {
88
model = "SoCFPGA Agilex3 SoCDK";
99
compatible = "intel,socfpga-agilex3-socdk", "intel,socfpga-agilex3";
10+
11+
aliases {
12+
serial0 = &uart0;
13+
ethernet0 = &gmac0;
14+
ethernet1 = &gmac1;
15+
ethernet2 = &gmac2;
16+
};
17+
18+
chosen {
19+
stdout-path = "serial0:115200n8";
20+
};
21+
22+
leds {
23+
compatible = "gpio-leds";
24+
25+
led0 {
26+
label = "hps_led0";
27+
gpios = <&porta 1 GPIO_ACTIVE_HIGH>;
28+
};
29+
30+
led1 {
31+
label = "hps_led1";
32+
gpios = <&porta 12 GPIO_ACTIVE_HIGH>;
33+
};
34+
35+
};
36+
37+
memory {
38+
device_type = "memory";
39+
/* We expect the bootloader to fill in the reg */
40+
reg = <0x0 0x80000000 0x0 0x0>;
41+
};
42+
};
43+
44+
&cpu2 {
45+
status = "disabled";
46+
};
47+
48+
&cpu3 {
49+
status = "disabled";
50+
};
51+
52+
&gpio0 {
53+
status = "okay";
54+
};
55+
56+
&gpio1 {
57+
status = "okay";
1058
};
1159

1260
&gmac2 {
@@ -36,6 +84,186 @@
3684
};
3785
};
3886

87+
&i3c0 {
88+
status = "okay";
89+
};
90+
91+
&i3c1 {
92+
status = "okay";
93+
};
94+
95+
&mmc {
96+
status = "okay";
97+
bus-width = <4>;
98+
no-1-8-v;
99+
cap-sd-highspeed;
100+
cap-mmc-highspeed;
101+
disable-wp;
102+
sd-uhs-sdr50;
103+
no-sdio;
104+
cdns,phy-use-ext-lpbk-dqs = <1>;
105+
cdns,phy-use-lpbk-dqs = <1>;
106+
cdns,phy-use-phony-dqs = <1>;
107+
cdns,phy-use-phony-dqs-cmd = <1>;
108+
cdns,phy-io-mask-always-on = <0>;
109+
cdns,phy-io-mask-end = <5>;
110+
cdns,phy-io-mask-start = <0>;
111+
cdns,phy-data-select-oe-end = <1>;
112+
cdns,phy-sync-method = <1>;
113+
cdns,phy-sw-half-cycle-shift = <0>;
114+
cdns,phy-rd-del-sel = <52>;
115+
cdns,phy-underrun-suppress = <1>;
116+
cdns,phy-gate-cfg-always-on = <1>;
117+
cdns,phy-param-dll-bypass-mode = <1>;
118+
cdns,phy-param-phase-detect-sel = <2>;
119+
cdns,phy-param-dll-start-point = <254>;
120+
cdns,phy-read-dqs-cmd-delay = <0>;
121+
cdns,phy-clk-wrdqs-delay = <0>;
122+
cdns,phy-clk-wr-delay = <0>;
123+
cdns,phy-read-dqs-delay = <0>;
124+
cdns,phy-phony-dqs-timing = <0>;
125+
cdns,hrs09-rddata-en = <1>;
126+
cdns,hrs09-rdcmd-en = <1>;
127+
cdns,hrs09-extended-wr-mode = <1>;
128+
cdns,hrs09-extended-rd-mode = <1>;
129+
cdns,hrs10-hcsdclkadj = <3>;
130+
cdns,hrs16-wrdata1-sdclk-dly = <0>;
131+
cdns,hrs16-wrdata0-sdclk-dly = <0>;
132+
cdns,hrs16-wrcmd1-sdclk-dly = <0>;
133+
cdns,hrs16-wrcmd0-sdclk-dly = <0>;
134+
cdns,hrs16-wrdata1-dly = <0>;
135+
cdns,hrs16-wrdata0-dly = <0>;
136+
cdns,hrs16-wrcmd1-dly = <0>;
137+
cdns,hrs16-wrcmd0-dly = <0>;
138+
cdns,hrs07-rw-compensate = <10>;
139+
cdns,hrs07-idelay-val = <0>;
140+
};
141+
142+
&osc1 {
143+
clock-frequency = <25000000>;
144+
};
145+
146+
&pmu0 {
147+
cpus = <&cpu0>, <&cpu1>;
148+
};
149+
150+
&qspi {
151+
status = "okay";
152+
cdns,fifo-depth = <0x400>;
153+
flash@0 {
154+
#address-cells = <1>;
155+
#size-cells = <1>;
156+
compatible = "jedec,spi-nor";
157+
reg = <0>;
158+
spi-max-frequency = <100000000>;
159+
m25p,fast-read;
160+
cdns,read-delay = <2>;
161+
cdns,tshsl-ns = <50>;
162+
cdns,tsd2d-ns = <50>;
163+
cdns,tchsh-ns = <4>;
164+
cdns,tslch-ns = <4>;
165+
spi-tx-bus-width=<4>;
166+
spi-rx-bus-width=<4>;
167+
168+
partitions {
169+
compatible = "fixed-partitions";
170+
#address-cells = <1>;
171+
#size-cells = <1>;
172+
rsu-handle = <&qspi_boot>;
173+
174+
qspi_boot: partition@0 {
175+
label = "u-boot";
176+
reg = <0x0 0x00600000>;
177+
};
178+
179+
root: partition@4200000 {
180+
label = "root";
181+
reg = <0x00600000 0x03a00000>;
182+
};
183+
};
184+
};
185+
};
186+
187+
&smmu {
188+
status = "okay";
189+
};
190+
191+
&temp_volt {
192+
voltage {
193+
#address-cells = <1>;
194+
#size-cells = <0>;
195+
input@2 {
196+
label = "0.8V VCC";
197+
reg = <2>;
198+
};
199+
200+
input@3 {
201+
label = "1.8V VCCIO_SDM";
202+
reg = <3>;
203+
};
204+
205+
input@4 {
206+
label = "1.8V VCCPT";
207+
reg = <4>;
208+
};
209+
210+
input@5 {
211+
label = "1.2V VCCCRCORE";
212+
reg = <5>;
213+
};
214+
215+
input@6 {
216+
label = "0.9V VCCH";
217+
reg = <6>;
218+
};
219+
220+
input@7 {
221+
label = "0.8V VCCL";
222+
reg = <7>;
223+
};
224+
};
225+
226+
temperature {
227+
#address-cells = <1>;
228+
#size-cells = <0>;
229+
230+
input@0 {
231+
label = "Main Die SDM";
232+
reg = <0x0>;
233+
};
234+
235+
input@10001 {
236+
label = "Main Die corner bottom left max";
237+
reg = <0x10000>;
238+
};
239+
240+
input@30001 {
241+
label = "Main Die corner bottom right max";
242+
reg = <0x30000>;
243+
};
244+
245+
input@40001 {
246+
label = "Main Die corner top right max";
247+
reg = <0x40000>;
248+
};
249+
};
250+
};
251+
252+
&uart0 {
253+
status = "okay";
254+
};
255+
256+
&usb0 {
257+
status = "okay";
258+
disable-over-current;
259+
};
260+
39261
&usb31 {
262+
status = "okay";
263+
dr_mode = "host";
40264
maximum-speed = "high-speed";
41265
};
266+
267+
&watchdog0 {
268+
status = "okay";
269+
};

0 commit comments

Comments
 (0)