xref: /linux/arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts (revision 9fd2da71c301184d98fe37674ca8d017d1ce6600)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2023, Intel Corporation
4 */
5#include "socfpga_agilex5.dtsi"
6
7/ {
8	model = "SoCFPGA Agilex5 SoCDK";
9	compatible = "intel,socfpga-agilex5-socdk", "intel,socfpga-agilex5";
10
11	aliases {
12		serial0 = &uart0;
13	};
14
15	chosen {
16		stdout-path = "serial0:115200n8";
17	};
18
19	leds {
20		compatible = "gpio-leds";
21
22		led-0 {
23			label = "hps_led0";
24			gpios = <&porta 11 GPIO_ACTIVE_HIGH>;
25		};
26
27	};
28
29	memory@80000000 {
30		device_type = "memory";
31		/* We expect the bootloader to fill in the reg */
32		reg = <0x0 0x80000000 0x0 0x0>;
33	};
34};
35
36&gpio0 {
37	status = "okay";
38};
39
40&gpio1 {
41	status = "okay";
42};
43
44&osc1 {
45	clock-frequency = <25000000>;
46};
47
48&qspi {
49	status = "okay";
50	flash@0 {
51		compatible = "micron,mt25qu02g", "jedec,spi-nor";
52		reg = <0>;
53		spi-max-frequency = <100000000>;
54		m25p,fast-read;
55		cdns,read-delay = <2>;
56		cdns,tshsl-ns = <50>;
57		cdns,tsd2d-ns = <50>;
58		cdns,tchsh-ns = <4>;
59		cdns,tslch-ns = <4>;
60
61		partitions {
62			compatible = "fixed-partitions";
63			#address-cells = <1>;
64			#size-cells = <1>;
65
66			qspi_boot: partition@0 {
67				label = "u-boot";
68				reg = <0x0 0x04200000>;
69			};
70
71			root: partition@4200000 {
72				label = "root";
73				reg = <0x04200000 0x0be00000>;
74			};
75		};
76	};
77};
78
79&uart0 {
80	status = "okay";
81};
82
83&usb0 {
84	status = "okay";
85	disable-over-current;
86};
87
88&watchdog0 {
89	status = "okay";
90};
91