blob: ca87e99f9fa2ed0d551f74839a680fc3cb60e60c [file] [log] [blame]
Jit Loon Lim977071e2024-03-12 22:01:03 +08001// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2024 Intel Corporation <www.intel.com>
4 */
5#include "socfpga_agilex5.dtsi"
6
7/ {
8 model = "SoCFPGA Agilex5 SoCDK";
9
10 aliases {
11 serial0 = &uart0;
12 ethernet0 = &gmac0;
13 ethernet2 = &gmac2;
14 };
15
16 leds {
17 compatible = "gpio-leds";
18 hps0 {
19 label = "hps_led0";
20 gpios = <&portb 20 GPIO_ACTIVE_HIGH>;
21 };
22
23 hps1 {
24 label = "hps_led1";
25 gpios = <&portb 19 GPIO_ACTIVE_HIGH>;
26 };
27
28 hps2 {
29 label = "hps_led2";
30 gpios = <&portb 21 GPIO_ACTIVE_HIGH>;
31 };
32 };
33
34 memory {
35 device_type = "memory";
36 /* We expect the bootloader to fill in the reg */
37 reg = <0 0 0 0>;
38 };
39
40 soc {
41 clocks {
42 osc1 {
43 clock-frequency = <25000000>;
44 };
45 };
46 };
47};
48
49&gpio0 {
50 status = "okay";
51};
52
53&gpio1 {
54 status = "okay";
55};
56
57&i2c0 {
58 status = "okay";
59};
60
61&i2c1 {
62 status = "okay";
63};
64
Alif Zakuan Yuslaimi9cc095f2025-02-06 16:25:11 +080065&i2c3 {
66 status = "okay";
67};
68
Jit Loon Lim977071e2024-03-12 22:01:03 +080069&i3c0 {
70 status = "okay";
71};
72
73&i3c1 {
74 status = "okay";
75};
76
77&uart0 {
78 status = "okay";
79};
80
81&usbphy0 {
82 status = "okay";
83};
84
85&usb0 {
86 status = "okay";
87 disable-over-current;
88};
89
90&watchdog0 {
91 status = "okay";
92};
93
94&watchdog1 {
95 status = "okay";
96};
97
98&watchdog2 {
99 status = "okay";
100};
101
102&watchdog3 {
103 status = "okay";
104};
105
106&watchdog4 {
107 status = "okay";
108};
109
110&timer0 {
111 status = "okay";
112};
113
114&timer1 {
115 status = "okay";
116};
117
118&timer2 {
119 status = "okay";
120};
121
122&timer3 {
123 status = "okay";
124};
125
126&spi0 {
127 status = "okay";
128};
129
130&spi1 {
131 status = "okay";
132};
133
134&qspi {
135 flash0: flash@0 {
136 #address-cells = <1>;
137 #size-cells = <1>;
138 compatible = "mt25qu02g";
139 reg = <0>;
140 spi-max-frequency = <100000000>;
141
142 m25p,fast-read;
143 cdns,page-size = <256>;
144 cdns,block-size = <16>;
145 cdns,read-delay = <1>;
146 cdns,tshsl-ns = <50>;
147 cdns,tsd2d-ns = <50>;
148 cdns,tchsh-ns = <4>;
149 cdns,tslch-ns = <4>;
150
151 partitions {
152 compatible = "fixed-partitions";
153 #address-cells = <1>;
154 #size-cells = <1>;
155
156 qspi_boot: partition@0 {
157 label = "u-boot";
158 reg = <0x0 0x04200000>;
159 };
160
161 root: partition@4200000 {
162 label = "root";
163 reg = <0x04200000 0x0BE00000>;
164 };
165 };
166 };
167};