blob: 852e1e5ae3cd7379b8eb71dfa50bbffa3159abdc [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
65&i3c0 {
66 status = "okay";
67};
68
69&i3c1 {
70 status = "okay";
71};
72
73&uart0 {
74 status = "okay";
75};
76
77&usbphy0 {
78 status = "okay";
79};
80
81&usb0 {
82 status = "okay";
83 disable-over-current;
84};
85
86&watchdog0 {
87 status = "okay";
88};
89
90&watchdog1 {
91 status = "okay";
92};
93
94&watchdog2 {
95 status = "okay";
96};
97
98&watchdog3 {
99 status = "okay";
100};
101
102&watchdog4 {
103 status = "okay";
104};
105
106&timer0 {
107 status = "okay";
108};
109
110&timer1 {
111 status = "okay";
112};
113
114&timer2 {
115 status = "okay";
116};
117
118&timer3 {
119 status = "okay";
120};
121
122&spi0 {
123 status = "okay";
124};
125
126&spi1 {
127 status = "okay";
128};
129
130&qspi {
131 flash0: flash@0 {
132 #address-cells = <1>;
133 #size-cells = <1>;
134 compatible = "mt25qu02g";
135 reg = <0>;
136 spi-max-frequency = <100000000>;
137
138 m25p,fast-read;
139 cdns,page-size = <256>;
140 cdns,block-size = <16>;
141 cdns,read-delay = <1>;
142 cdns,tshsl-ns = <50>;
143 cdns,tsd2d-ns = <50>;
144 cdns,tchsh-ns = <4>;
145 cdns,tslch-ns = <4>;
146
147 partitions {
148 compatible = "fixed-partitions";
149 #address-cells = <1>;
150 #size-cells = <1>;
151
152 qspi_boot: partition@0 {
153 label = "u-boot";
154 reg = <0x0 0x04200000>;
155 };
156
157 root: partition@4200000 {
158 label = "root";
159 reg = <0x04200000 0x0BE00000>;
160 };
161 };
162 };
163};